Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8b410a0f292c059ffa560837f98ad3bba7781407 (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 (getOwnedOperations()->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