Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 8b410a0f292c059ffa560837f98ad3bba7781407 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                
                                                                                      


                                                                                                      
                                                                   


                                    






                                                                                          
           
[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