![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: DescriptionTemplate for enum literals? Topic Summary: Created On: 23-Nov-2006 13:59 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello Community,
![]() in order to match our coding standards I set the following properties: C_CG :: Configuration :: DescriptionBeginLine = "* " C_CG :: Configuration :: DescriptionEndLine = "" C_CG :: Attribute :: DescriptionTemplate = "/* $Description */" C_CG :: Class :: DescriptionTemplate = "/* $Description */" C_CG :: Event :: DescriptionTemplate = "/* $Description */" C_CG :: Package :: DescriptionTemplate = "/* $Description */" C_CG :: Relation :: DescriptionTemplate = "/* $Description */" C_CG :: Type :: DescriptionTemplate = "/* $Description */" C_CG :: Operation :: DescriptionTemplate = "/*+************************* * $Name * -------------------------- * $Description *************************-*/" The idea is, that there is a function header that looks like this: [COLOR=DarkGreen][FONT=Courier New] /*+************************* * my_foo * -------------------------- * This is my * Multiline Description. * It describes my_foo. *************************-*/[/FONT][/COLOR] But now I have got trouble with my enumerations: [FONT=Courier New][COLOR=DarkGreen]/* Description of my_enum */[/COLOR] [COLOR=DarkSlateBlue]typedef enum[/COLOR] my_enum { LIT_ONE = 1, * Description of the first literal LIT_TWO = 2 * Description of the second literal } my_enum;[/FONT] A literal of an enumeration is followed by its comment/description. But the Code Generator does not use Attribute :: DescriptionTemplate or Argument :: DescriptionTemplate but the settings of DescriptionBeginLine and DescriptionEndLine instead. Actually, these settings are supposed to be used for multi-line strings only. Where can I specify how these comments are generated? Any idea? |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
DescriptionTemplate for enum literals?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.