Tagged values, notes and stereotypes on operations

 

Tagged values on operations

 

Name

Parameters

Behaviour

Cxx.Operation.Disposition

inline

Specifies the disposition of an operation (inline or not).

Cxx.Operation.Explicit

N/A

Specifies that the constructor must be generated as an explicit constructor.

Cxx.Operation.Throws

Exception name

Specifies a set of exceptions thrown by the operation.

Cxx.Name

string

Specifies a C++ name for the operation.

 

 

Notes on operations

 

Name

Behaviour

Cxx.Code

Contains the operation's implementation code.

Cxx.Operation.Returned

Contains the operation's return statement.

Cxx.Operation.Precondition

Specifies a precondition of the operation.

Cxx.Operation.Postcondition

Specifies a postcondition of the operation.

Cxx.Operation.Constructor.Base

Contains code to insert at constructor transmission.

Cxx.Doc.Doxygen

Specifies doxygen documentation for the operation.

 

 

Stereotypes on operations

 

Name

Behaviour

Cxx.Operator

Specifies the operation as an operator redefinition.