P
Peter Smith
I am using the following applications:
Microsoft Visio 2000
Microsoft Developer Studio 6
Consider the following piece of code:
class Fruit
{ public: int size; };
class Color
{ public: int hue; };
class Apple : public Fruit
{ public: Color col; };
void main(void)
{
Apple oApple;
oApple.col.hue = 1;
oApple.size = 2;
}
While trying to reverse engineer this code to a UML
diagram in Visio (by creating the .bsc file), I find that
Visio is only able to interpret the inheritance relationship
between Apple and Fruit. It does not understand the relationship
between Apple and Color.
Is there something else that needs to be done for Visio to
understand this? Or is that a limitation of Visio 2000.
Thanks.
Microsoft Visio 2000
Microsoft Developer Studio 6
Consider the following piece of code:
class Fruit
{ public: int size; };
class Color
{ public: int hue; };
class Apple : public Fruit
{ public: Color col; };
void main(void)
{
Apple oApple;
oApple.col.hue = 1;
oApple.size = 2;
}
While trying to reverse engineer this code to a UML
diagram in Visio (by creating the .bsc file), I find that
Visio is only able to interpret the inheritance relationship
between Apple and Fruit. It does not understand the relationship
between Apple and Color.
Is there something else that needs to be done for Visio to
understand this? Or is that a limitation of Visio 2000.
Thanks.