Hi,
I’m currently evaluating SDE for Visual Studio because I want to use it’s UML features to create my C++ code.
I have some typedefs in my code and unfortunately, they don’t show up within the Attribute Specifier under Type. Is there any way to select those typedefs as type for an attribute?
example typedef:
typedef std::map<Index,Element*> TEST;
TEST will not show up as a selectable type for an attribute.
Edit:
After some further testing, it seems that the UML messes with stl, too.
I inserted this into my code:
std::map<unsigned long long ,Element*> Test;
I selected “Update UML model”
Within the UML class diagramm the above line shows up as following attribute:
+Test : std.map<_Kty, _Ty, _Pr, _Alloc>*
I instantly select “Update to code” and the resulting line in my class is:
std::map*;
So…
std::map<unsigned long long ,Element*> Test;
becomes
std::map*;
after passing through the UML modeller.
Does anyone know a workaround this?!?
Thanks for your help,
Metron