Extensions on operations

Tagged values on operations

Name Label Parameters Behaviours
Cxx.CLI.NewOperation CLI New N/A Indicates that this function does not override a base class method.
Cxx.Operation.Disposition Is inline inline Specifies the disposition of an operation (inline or not). The parameter must include “inline”.
Cxx.Operation.Explicit Is explicit N/A Specifies that the constructor must be generated as an explicit constructor.
Cxx.Operation.Throws Throws Exception name Specifies a set of exceptions thrown by the operation.
Cxx.TypeExpr.Body Content declaration Type Manual declaration.

Notes on operations

Name Label Behaviours
Cxx.Operation.Constructor.Base Constructor Base Contains code to insert at constructor transmission.
Cxx.Operation.Postcondition Postcondition Specifies a postcondition of the operation.
Cxx.Operation.Precondition Precondition Specifies a precondition of the operation.
Cxx.Operation.Returned Returned Contains the operation's return statement.

Stereotypes on operations

Name Label Behaviours
Cxx.Accessor Accessor Indicates this operation is an automatically managed accessor.
Cxx.CastOperator Cast Operator Specifies the operation as a cast operator redefinition.
Cxx.CLI.Delegate CLI Delegate Indicates this operation is a CLI delegate.
Cxx.CLI.StaticConstructor CLI Static Constructor Indicates this operation is a static CLI constructor.
Cxx.Operator Operator Specifies the operation as an operator redefinition.