[Uml-user] Some questions about Umbrello

Rushabh Soni rushabh.soni at einfochips.com
Sat Oct 8 14:30:01 UTC 2011


Hi All,

I use Umbrello for C++ code development. I have some questions as mentioned below:

(1) In a class, I want to define my constructor and destructor. I define them as normal operations. Let us say that my class is CExample. I use function name 
CExample for constructor and ~CExample for destructor. I do not specify any type. When I do code generation, I do get constructor and destructor. However, ~ in 
destructor name is replaced by _. If I use any special character in a function name it gets replaced by _. For example, in operator overloading function, I specify 
function name as operator==. == gets replaced with _. What is the solution for this problem?

(2) When I right-click on a class in class diagram, "View code" option appears gray in context menu. Why does this option appear gray?

(3) How do I define structure in a class diagram? How do I generate code for structures and enumerated types?

(4) Is there any way to add extra text in generated code files (e.g. code for including header files)?

(5) How can I add simple function calls in C++ class diagram?

Thank you in advance.

Regards,

RS
*************************************************************************************************************************************************************
einfochips Business Disclaimer : This e-mail message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and please delete it from your computer. Any views expressed in this message are those of the individual sender unless otherwise stated. Company has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.
*************************************************************************************************************************************************************





More information about the umbrello mailing list