Extensions on classes

Stereotypes on classes

Name Label Behaviour
Cxx.CLI.Attribute CLI Attribute Indicates that this class defines a CLI attribute.
Cxx.CLI.Class CLI Class Indicates that this element is a CLI class.
Cxx.CLI.DelegateContainer CLI Delegate Container Indicates that this element is a container for delegates.
Cxx.CLI.Indexer CLI Indexer Indicates that this class is a CLI indexer.
CxxClass C++ Class Indicates that this element is a C++ class.

Tagged values on <<C++ Class>> classes

Name Label Parameters Behaviour
Cxx.Class.Friend Friend Class name Specifies the name of the friend class.
Cxx.ClassTemplate.Instantiate Instanciation parameters Specifies class template instanciation parameters.
Cxx.DeclarationSpecifier Declaration Specifier Declaration Specifier Declares a class import and export for Windows DLL. Puts the parameter value between the class keyword and the name of the class.
For example : the class MyFacade is tagged Cxx.DeclarationSpecifier("DLLExport").
The header will be generated with : class DLLExport MyFacade
Cxx.Struct Is a structure N/A Specifies that a class must be generated as a structure instead of a class.
Cxx.Union Is a union Extends clause Specifies that a class must be generated as a union instead of a class.

Notes on <<C++ Class>> classes

Name Label Behaviour
Cxx.Class.CopyConstructor.Code Copy constructor code Contains the code to insert into the copy constructor.
Cxx.Class.Destructor.Code Destructor code Contains the code to insert into the destructor.

Tagged values on <<CLI Class>> classes

Name Label Parameters Behaviour
Cxx.CLI.Visibility Visibility Visibility kind Specifies the visibility of this class.

Notes on <<CLI Class>> classes

Name Label Behaviour
Cxx.CLI.Attribute Attributes Contains all the attributes defined on that class.

Tagged values on <<CLI Attribute>> classes

Name Label Parameters Behaviour
Cxx.CLI.Attribute.AllowMultiple Allow Multiple N/A Allows multiple C# attributes on a field.
Cxx.CLI.Attribute.Inherited Inherited N/A Adds the attribute inheritance.
Cxx.CLI.Attribute.Targets Targets The targets of the attribute. Adds an attribute target to the class.