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




                                                                            
                                       








                                                                                   
[module CppClassFriendDeclaration('http://www.eclipse.org/uml2/4.0.0/UML')/]
[import org::eclipse::papyrus::cpp::codegen::utils::GenUtils/]


[template public CppClassFriendDeclaration(friend : Classifier)]
friend class [friend.qualifiedName()/];
[/template]

[template public CppClassIncludeFriendDeclaration(class : Classifier)]
[for (getUsedClassifiers())]
	[if hasStereotype(C_Cpp::Friend) and (not hasStereotype(C_Cpp::NoCodeGen))]
		[CppClassFriendDeclaration()/]
	[/if]
[/for]
[/template]

Back to the top