Author Topic: Inline C++ methods  (Read 3869 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Inline C++ methods
« 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?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

thomaskilian

  • Guest
Re: Inline C++ methods
« Reply #1 on: January 10, 2005, 12:10:35 am »
Maybe you could use a stereotype <<inline>>  ???

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Inline C++ methods
« Reply #2 on: January 10, 2005, 12:12:06 am »
it might work.
but I cant see when reversing.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Inline C++ methods
« Reply #3 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

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Inline C++ methods
« Reply #4 on: January 14, 2005, 12:33:01 am »
thanks
Recursion definition:
If you don’t understand the definition read "Recursion definition".