User-defined attributes and operations

In this section, all operations and attribute data members are defined. The code in this section is a direct translation of class operations and attributes. You control it by adding or removing operations and attributes from the model.

For example:

////    User explicit entries     ////
public :
   //## operation op1()  // Annotation for the operation
   void op1();           // Definition of an operation
protected :
   // Attributes:
   //## attribute attr1  // Annotation for an attribute
   attrType1 attr1;      // Definition of an attribute
////    User implicit entries     ////
public :
   // Constructors and destructors:
   class(OMThread* thread = theMainThread);
   virtual ~class();    // Generated destructor

Feedback