Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1f67d8afc628fd6631a8f1555a1d31eb29d84e97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[module CppClassOperationsImplementation('http://www.eclipse.org/uml2/4.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1')/]
[import org::eclipse::papyrus::acceleo::GenUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::operation::CppOperations/]


[comment implementations of a classifier, parameter controls whether only inline (or only not inline) operations
  are produced/]
[template public CppClassOperationsImplementation(class : Classifier, inline : Boolean)]
[for (getOperations()->select(
		(not (hasStereotype(NoCodeGen) or isAbstract)) and
		(hasStereotype(C_Cpp::Inline) = inline)))]

[CppOperationImplementation()/]
[/for]
[/template]

Back to the top