Skip to main content



      Home
Home » Modeling » Papyrus » Papyrus C++ code generation
Papyrus C++ code generation [message #1450942] Thu, 23 October 2014 01:24
Eclipse UserFriend
Hi,

I had raised a topic for my query 10 days ago but seems to have been missed in the rest of the discussions.

Could the concerned please help me :

1. Create a Papyrus project - UML model and template UML Primitive Types.
2. Add C/C++ Profile to model.
3. Add Child Class, in this Add Child Operation.
4. In Operation Properties, in Method, add a new Opaque Behavior(OB).
5. In OB, Properties, add C++ Language, in right side box, the implementation code - cout << ...
6. In Model Explorer, rt. clk. model, Code Generation>Generate C++.
7. Accept query about creating a C++ Project,
8. All expected files are generated, but in <classname>.cpp, the body code does not appear from the OB implementation entries.

Am I missing something basic pl.

Anantha Krishnan.
Previous Topic:Auto size request Programatically
Next Topic:Xtext integration into Papyrus PopupEditor
Goto Forum:
  


Current Time: Sat Jul 05 08:16:55 EDT 2025

Powered by FUDForum. Page generated in 0.23817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top