Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to generate source file for PrimitiveTypes in C++?
How to generate source file for PrimitiveTypes in C++? [message #1714077] Mon, 09 November 2015 17:53
Martin Friedrich is currently offline Martin FriedrichFriend
Messages: 7
Registered: November 2015
Junior Member
Hello folks,

with Eclipse mars.1 and Papyrus C++ 1.1.2.201509161524, when generating the source files for a trivial class in C++ the resulting header file is generated for the model in RootElement like this (omitting comments, etc.):

#ifndef ROOTELEMENT_CLASS1_H
#define ROOTELEMENT_CLASS1_H

#include "RootElement/Pkg_RootElement.h"
#include "PrimitiveTypes/Pkg_PrimitiveTypes.h"

class foo {
publicĀ“:
::PrimitveTypes::Boolean aBool;
};

#endif

What is not generated, is the to be included header file PrimitiveTypes/Pkg_PrimitiveTypes.h. I have checked the include UML option when creating the UML model.

What am I doing wrong?

Thanks,
Martin Friedrich
Previous Topic:SVG customization and comprtments
Next Topic:How to merge two *.uml models in Papyrus?
Goto Forum:
  


Current Time: Mon Jan 25 02:30:42 GMT 2021

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

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

Back to the top