C++ code generation - inline method

Please use this forum to signal bugs.
Merci d'utiliser ce forum pour signaler des bugs.

C++ code generation - inline method

Postby valade » Thu 4 Sep 2014 16:18

Is there a way to tell bouml to generated inline method code in the source file instead of header file (as possible with Eclipse CDT) ?
Thanks
valade
 
Posts: 17
Joined: Tue 25 Sep 2012 13:46

Re: C++ code generation - inline method

Postby Bruno Pagès » Thu 4 Sep 2014 18:01

Yes it is possible, you must not set the flag 'inline' on the operation (so the code generator will not see it is inline and will not produce its definition in the header file) and you have to replace the form '${inline}' by ' inline' in the definition of the operation (do not forget the space after the word inline)

Best regards
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 547
Joined: Mon 20 Feb 2012 09:23
Location: France

Re: C++ code generation - inline method

Postby valade » Tue 9 Sep 2014 17:27

Thanks
it works
valade
 
Posts: 17
Joined: Tue 25 Sep 2012 13:46


Return to Bug reports / Rapports de bugs

Who is online

Users browsing this forum: No registered users and 1 guest