Hi,
I am new to VP UML. I would like to draw C++ class diagrams. Does VP UML support to add a method like
“const char* doSomething(const char* x, int& y)” this to a class. I have been searching but could not find a solution.
Thanks,
Lloyd
Hi,
I am new to VP UML. I would like to draw C++ class diagrams. Does VP UML support to add a method like
“const char* doSomething(const char* x, int& y)” this to a class. I have been searching but could not find a solution.
Thanks,
Lloyd
Hi Lloyd,
Please try this:
Change the programming language to C++ - Tools > Configure Programming Language
Create an operation doSomething.
Right click on the operation and select Open Specification from the popup menu.
In the General tab:
In the Operation Code Details tab, check const
Open the Parameters tab and add a parameter x
In the General tab of parameter specification:
In the Parameter Code Details tab, check const
Repeat step 6 to 8 to create parameter y
Feel free to post again if you have any questions.
Best regards,
Jick Yeung