A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
To generate a C++ friend function that is a friend of a class, you need to create a UML operation within a UML Class and apply the cpp_operation stereotype on the UML operation.
为了在一个类中创建一个 C++ 友函数,您需要在一个 UML 类的内部创建一个 UML 操作,并且将 cpp_operation 套用在该 UML 操作上面。
When a client invokes an abstract operation on a behavior port, therefore, the call is dispatched to the class.
当有客户调用了一个行为端口上的抽象操作时,那么访问就会分配给该类了。
应用推荐