Class Diagram. How to define a C++ operator

34 views
Skip to first unread message

Luca Bicego

unread,
Jan 2, 2024, 6:14:26 AMJan 2
to StarUML
Hi,
i'm using StarUML 6.0.1 .
I'm trying to add to a Class Diagram the following C++ operator:

vec3& operator +=(const vec3 &v)

Unfortunately StarUML doesn't accept in the name of Operation the characters '+=', so i'm not able to add this operator to the Class Diagram.
How can i solve this problem ?
Thanks.

Luca Bicego

StarUML

unread,
Jan 16, 2024, 11:31:48 PMJan 16
to StarUML
Hello,

StarUML only accepts UML expression, not C++ expression. (See https://www.uml-diagrams.org/operation.html)

To avoid UML expression, you can enter directly in "name" property in Property Editor (at screen right bottom)

Thank you,
StarUML Team

2024년 1월 2일 화요일 오후 8시 14분 26초 UTC+9에 luca639...@gmail.com님이 작성:
Reply all
Reply to author
Forward
0 new messages