13.07.2015 Views

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

file:///C:/uml/BOUML/bouml_3.0/doc/TOUT.html92 of 378 07/10/2007 15:55In BOUML the generated code is obtained by the substitution of macros in a text, only the Declaration part is editable, the other one helpyou to see what will be generated for C++ (supposing you do not modify the C++ code generator !).When you push the button default declaration, the form specified through the generation settings is proposed, this last may be modifiedas you want, even to produce illegal source code.When you do not want to have this attribute defined in C++, empties the declaration <strong>manual</strong>ly or using the button not generated in C++.It is possible to follow the visibility as it is set in the UML Tab or to change it.${static} produce an empty string when the attribute is not a class attribute (see the UML tab), else produce static${const} produce an empty string when the attribute is not read only (see the UML tab), else produce const${type} is replaced by the type of the attribute (see the UML tab)${stereotype} is replaced by the translation in C++ of the relation's stereotype (see the UML tab)${multiplicity}is replaced by the multiplicity of the relation (see the UML tab), must be used in case the multiplicity is a vector or array dimensioningand ] are added when they are not present).${name} is replaced by the attribute's name (see the UML tab)${value}is replaced in the source file by the initial value of the attribute (see the UML tab) when this one is not an enumeration item. Foenumeration items the value is of course generated in the header file.${h_value} is replaced in the header file by the initial value of the attribute (see the UML tab). ${h_value} must be used when you want toset the value of a const attribute.${mutable} produce an empty string when the check box mutable is not checked, else produce mutable${volatile} produce an empty string when the check box volatile is not checked, else produce volatileThe definition of the attribute stops may be :

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!