Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: aeaf01f3fe6d5c06077397caeca81e296a18e389 (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://papyrus/C_CppProfile/1')/]
[import org::eclipse::papyrus::cpp::codegen::utils::GenUtils/]
[import org::eclipse::papyrus::cpp::codegen::acceleo::util::operation::CppOperationDeclaration/]


[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