Visio 2k/MSDev 6 - Rev Eng

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top