Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - carlos.ADS

Pages: [1]
1
Hello,

I have the following code in cpp:

typedef std::list< XXXXX * > List;

I see the following information when I get the template info from the EA application (rigth botton over the element -> features -> Template parameters)

- Template parameter(s) [Empty]
 - Binding(s)
    - Binding Expression: XXXXX *
    - Type: Generalization
    - Target: list


But I don't know how i can obtain this information from the Interop.EA.dll.

I'm trying to get Template Biddings whit the following code:

for (int i = 0; i < typedefElement.TemplateParameters.Count; i++)
{
     TemplateParameter parameter = typedefElement.TemplateParameters.GetAt(i);
}


But the TemplateParameters is empty.

Can you give me some information? I need to get the Binding Expression and the target.

Thank you!

Pages: [1]