Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 95a0f6b8e65c8699af265c29c364f05a3e19afcb (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
40
41
42
43
44
45
46
47
48
49
50
51
52
[module CppPackageHeader('http://www.eclipse.org/uml2/4.0.0/UML')/]
[import org::eclipse::papyrus::cpp::codegen::utils::GenUtils/]
[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::IncludeUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassTypeAndEnum/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassFriendDeclaration/]


[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation/]


[template public CppPackageHeader(pkg : Package)]
#ifndef PKG_[getFullNameUC()/]
#define PKG_[getFullNameUC()/]

/************************************************************
              Pkg_[name/] package header
 ************************************************************/

[nestingPackage.CppOwnerPackageIncludeDeclaration()/]

#ifndef _IN_
#define _IN_
#endif
#ifndef _OUT_
#define _OUT_
#endif
#ifndef _INOUT_
#define _INOUT_
#endif

	
/* Package dependency header include                        */
[for (getUsedPackages())]
#include <[getFullPath()/]/Pkg_[name/].[getHeaderSuffix()/]>
[/for]

[IncludeHeader()/]

[openNS()/]
[packageTypes()/]
[CppClassTypeAndEnumPackage()/]
[closeNS()/]

/************************************************************
              End of Pkg_[name/] package header
 ************************************************************/

#endif
[/template]

Back to the top