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


[template public CppClassOperationsDeclaration(class : Classifier, visibilityFilter : VisibilityKind)]
[for (getOperations()->select(visibility = visibilityFilter))]

 	[CppOperationDeclaration()/]
[/for]
[for (b : Behavior | eAllContents(OpaqueBehavior)->select(visibility = visibilityFilter))]
	[if (b.specification = null)]

	// opaque behavior without specification (typically from state machine)
	[CppBehaviorDeclaration()/]
	[/if]
[/for]
[/template]

Back to the top