在这部分中,定义了所有操作和属性数据成员。这部分中的代码是类操作和属性的直接转换。您可以通过在模型中添加或除去操作和属性来进行控制。
//// 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