Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Martin Terreni on January 09, 2005, 02:16:31 am

Title: Inline C++ methods
Post by: Martin Terreni on January 09, 2005, 02:16:31 am
I've reversed engineered a class with inline methods.
after this a generated code from it, and correctly got inline methods again.

the problem is that I acn figure tou how to see that a method is inline in model or how to create in model and inline method.

any ideas?
Title: Re: Inline C++ methods
Post by: thomaskilian on January 10, 2005, 12:10:35 am
Maybe you could use a stereotype <<inline>>  ???
Title: Re: Inline C++ methods
Post by: Martin Terreni on January 10, 2005, 12:12:06 am
it might work.
but I cant see when reversing.
Title: Re: Inline C++ methods
Post by: Eve on January 13, 2005, 02:35:26 pm
The way the importer models it and the (default) code templates expect is with a tagged value "inline"="true".

There isn't a way to make tagged values show up on the diagram, but if you leave the tagged values dockable window open and select operations then you can select an operation to find out if it is inline or not.

Simon
Title: Re: Inline C++ methods
Post by: Martin Terreni on January 14, 2005, 12:33:01 am
thanks