Skip to main content



      Home
Home » Modeling » Papyrus » C++ standard types
C++ standard types [message #1710079] Sat, 03 October 2015 17:44 Go to next message
Eclipse UserFriend
Hello!

I am new to Papyus and UML modeling in general so please be easy on me Wink
My question is: how do you usually model and use standard C++ types in Papyrus, like std::string? Is there any way to use them with correct include files automatically added?

Best regards,
Blazej
Re: C++ standard types [message #1710855 is a reply to message #1710079] Fri, 09 October 2015 14:15 Go to previous message
Eclipse UserFriend
Hi Blazej,

There is an ANSIC type library that can be imported into a Papyrus model, but I am not aware of a C++ library.

To use the ANSI C type library, you can right-click on the model in the model explorer and then select "Import > Import registered package". In the resulting dialog, select "AnsiCLibrary" and click "OK". In the resulting dialog, click on "Import All" and then on "OK". You now have access to the ANSI C types. You can also modify these types using the C/C++ profile that can be applied to the model and then its stereotypes can be used on various model elements.

Being able to use C++ types seems like a good idea for an enhancement request that you could enter in Bugzilla.


Apply registered profile: C/C++ profile

Import registered package: AnsiCLibrary
Previous Topic:UML TimeEvent in MetaModel
Next Topic:Message order in UML 2.0 sequence diagrams
Goto Forum:
  


Current Time: Fri Jul 04 15:51:13 EDT 2025

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

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

Back to the top