Hi,
I am working on product which is essentially procedural (C) code in OOPs body (C++) resulting in hard to understand architecture. As I dig through the code, I want to document my understanding in simplified notation. To give an example I would like to document a given function in following format
Function
Library
Module
Compon...
namespace ConsoleApplication8
{
public class Foo<T>
where T : IFoo, IFoo2
{
public Foo(T fooThing)
{
}
}
public interface IFoo
{
string Name {get;}
}
public interface IFoo2
{
string Name2 {get;}
}
}
The Template Parameter Collection Editor in VS 2010 ...
Here's an example of what an Exclusivity Arc is (the green arc); what it's saying is that a Plane can have either Propellers or Jet Engines - but not both.
In Barker ER notation, an exclusion
constraint over two or more roles is
shown as an “exclusive arc” connected
to the roles with a small dot or
circle.
see http://www.o...
Hi,
I'd like to automatically pad my shapes with some space so that connectors (e.g. arrows) do not touch the shape, but instead are a few pixels away.
This can be achieved by moving the shape connector points away from the shape, but this is a manual, time consuming process which needs to be done per shape which I would like to avoid....
Is there an option in VS2010 Ultimate in UML tools to create class diagram which would indicate that this class is a template (with types and how many of them) in the way class template diagram according to UML 2.0 looks?
...
Hi there!
I would like to know which UML Sofware has been used to create the UML Diagram on the Wordpress Developper Website : http://codex.wordpress.org/images/8/83/WP_27_dbsERD.png
Thanks!
...
My problem is a simple one. I've created a class library for Delphi 2007 and added the modelling support to it that Delphi offers. It generates nice class overviews of my code, which I'd like to use. But it's not enough. I want to export the generated UML to Altova's UModel to generate some additional documentation and nicer-looking mode...
Hello!
It'a a well-known fact that UML does not Turing complete (in contrast to usual programming languages). But it seems to me UML is even more flexible than traditional languages. I can't imagine a problem you can describe by means of such language as C++ (f.e) but at the same time can't describe by means of UML. Quite the contrary i...
What symbol should I use ?
...
as asked above.
cheers in advance
...
I am using Visual Paradigm for UML to model our class hierarchy. I often have the case where one of our interfaces has a method requires an implementation of another of our interfaces as parameter to a method. Example (C++, interface = abstract class):
class IFoo {
public:
virtual void bla() = 0;
};
class IBar {
public:
virtual...
Background:
We're modeling the firmware for a new embedded system. Currently the firmware is being modeled in UML, but the code generation capabilities of the UML modeling tool will not be used.
Target language will be C (C99, to be specific).
Low power (i.e. performance, quick execution) and correctness are important, but correctnes...
I heard composition is preferable over inheritance. So when I design my simple game engine I tend to do the following:
instead of:
Is this a good approach, or should I reconsider?
Edit: To clarify the notation. The arrows means inheritance, the arrows with a diamond means composition and the <<>> means interface. More info on the ...
Hi to all,
We have a very large app which has been designed exclusively by a single developer who is a bit reluctant to give too much information out on how it has been put together.
We were thinking about using a UML tool for educational purposes so others can start to learn and take ownership of the code but with the the large code b...
Is there an Eclipse plugin that can draw uml class diagram and then generate Java source code from the class diagram?
Thanks!
...
My system has an User class with a lot of properties: name, e-mail, address, phone number, etc. And it has also an UserAccount class with properties: username, password and salt. This is a blog application. UserAccount provides login and logout methods.
Now I don't know who will be related with Posts. Should an User contains posts or an ...
How can a piece of hardware be an actor when designing a use case diagram?
I got confused because I've read on Wikipedia this:
A use case should not include detail regarding user interfaces and screens. This is done in user-interface design, which references the use case and its business rules.
If you give me an example about hard...
Hey all,
I have this problem, my system is a clothes store which allows the customer to return the cloths he has bought only after one day of buying date.
Returning cloths is the use case ... but how can I represent the one day condition? I thought about using "Guard condition", what do you think?
...
I have a Client object which will either have a Person object or Organization object in it. These Person objects or Organization objects might have relations to other objects independent of the Client object. In this case should I use a General Aggregation association between Client -> Person and Client -> Organization where the Client o...
Possible Duplicate:
Can you recommend good UML tutorials ?
Hi there,
I'm quite new to UML and C++, are there any tutorials that I can use as references when creating a complete C++ program, including the design (UML), class organizations (specially controller classes), file handling, etc.
Thanks
...