lundi 4 janvier 2016

How to model noexcept, override, final or any further C++ specifier in Visual Paradigm?

Scenario:

I am creating the design for a software in UML2, using Visual Paradigm as a tool. The idea is to be as close as possible of the C++11 language, for code generation and documentation.

Current state of the art:

In Visual-Paradigm, for C++ special specifiers, I followed the next steps (VP 12):

  • Windows->Configuration->Configure Programming Language
  • Selected C++ and Accept (Ok).

enter image description here

Any function in a class can now be set to virtual or const by:

  • right-click -> Code details ->

enter image description here

But, I cannot found C++11 details, so I wonder if there is a way to add them or not.

Question

My question is: Is it a way to add those specifiers to code detail?

An other alternative would be to use stereotypes, but the result is not as good, specially for code generation.

Aucun commentaire:

Enregistrer un commentaire