Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: cris on May 06, 2003, 01:06:03 pm

Title: Q: C++ template reverse engineering
Post by: cris on May 06, 2003, 01:06:03 pm
Im new to this program,
is this possible with EA reverse engineering of templates?
it seems that i cannot get a type that is a template instantiation.
This is an example code:

class Token
{
public:
   int mTokenType;
};

typedef vector<Token> TTokenMap;

class STree
{
private:
 TTokenMap tokens;
};

EA can import this? i have problems getting a link (aggregation) from STree to Token...
Is there a better way to make the code/design using STL collections?

Can EA generate code using STL easily? how?

Thanks in advance!