Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: cf80c016c208137bd50a9603c621dcb83c9a9834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[module CppClassBody('http://www.eclipse.org/uml2/4.0.0/UML')/]
[import org::eclipse::papyrus::cpp::codegen::utils::GenUtils/]
[import org::eclipse::papyrus::cpp::codegen::utils::ClassUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/]
[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassOperationsImplementation/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppAttribute/]


[template public CppClassBody(class : Classifier)]
#define [getFullName()/]_BODY

/************************************************************
              [class.name/] class body
 ************************************************************/

[CppIncludePreBody()/]

[constIncludeHFile()/]
#include <[_package.getFullPath()/]/[class.name/].[getHeaderSuffix()/]>

[CppIncludeBody()/]

[constDerivedIncludes()/]
[CppClassAllIncludesDeclarationBody()/]

[openNS(class)/]
[CppStaticAttributes(class)/]
[if not isTemplate()]
[CppClassOperationsImplementation(false)/]
[/if]
[closeNS(class)/]

/************************************************************
              End of [class.name/] class body
 ************************************************************/
[/template]

Back to the top