diff options
author | Ansgar Radermacher | 2014-09-05 12:40:19 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2014-09-05 12:40:19 +0000 |
commit | 1cae46ac29d814b0441f09f7da4e36802a02fd2d (patch) | |
tree | f3ac3b1539ba2053ba08b8d8d944cd25b6826006 /extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen | |
parent | 6c118f555e1b73f94cb77116006937893848e940 (diff) | |
download | org.eclipse.papyrus-1cae46ac29d814b0441f09f7da4e36802a02fd2d.tar.gz org.eclipse.papyrus-1cae46ac29d814b0441f09f7da4e36802a02fd2d.tar.xz org.eclipse.papyrus-1cae46ac29d814b0441f09f7da4e36802a02fd2d.zip |
443404 - [C++ codegen] Code generation should be based on xtend (done via merge of branch ogurcan)
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen')
70 files changed, 1312 insertions, 23033 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.emtl deleted file mode 100644 index 5512989050b..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.emtl +++ /dev/null @@ -1,576 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="Constants" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::Constants" startHeaderPosition="29" endHeaderPosition="-1"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludeHFile" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// include associated header file"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludeHeaderStart" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// Include from Include stereotype (header)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludePreBodyStart" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// Include from Include stereotype (pre-body)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludePreBodyEnd" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// End of Include stereotype (pre-body)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludeBodyStart" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// Include from Include declaration (body)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludeHeaderEnd" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// End of Include stereotype (header)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constIncludeBodyEnd" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// End of Include stereotype (body)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constDerivedIncludes" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// Derived includes directives"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="forwardDecl" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// forward declarations"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="constStaticAttributes" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// static attributes (if any)"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="packageTypes" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="// Types defined within the package"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="undefinedType" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="undefined"/> - <parameter name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="constIncludeHFile"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludeHFile"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeHeaderStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludeHeaderStart"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludePreBodyStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludePreBodyStart"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludePreBodyEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludePreBodyEnd"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeBodyStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludeBodyStart"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeHeaderEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludeHeaderEnd"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeBodyEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constIncludeBodyEnd"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constDerivedIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constDerivedIncludes"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="forwardDecl"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/forwardDecl"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constStaticAttributes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/constStaticAttributes"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="packageTypes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/packageTypes"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="undefinedType"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/undefinedType"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/constIncludeHFile"> - <details key="start" value="91"/> - <details key="end" value="189"/> - <details key="line" value="5"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/constIncludeHFile/%"> - <details key="start" value="144"/> - <details key="end" value="177"/> - <details key="line" value="6"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/constIncludeHFile/dummy"> - <details key="start" value="126"/> - <details key="end" value="141"/> - <details key="line" value="5"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/constIncludeHeaderStart"> - <details key="start" value="191"/> - <details key="end" value="305"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/constIncludeHeaderStart/%"> - <details key="start" value="250"/> - <details key="end" value="293"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/constIncludeHeaderStart/dummy"> - <details key="start" value="232"/> - <details key="end" value="247"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/constIncludePreBodyStart"> - <details key="start" value="307"/> - <details key="end" value="424"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/constIncludePreBodyStart/%"> - <details key="start" value="367"/> - <details key="end" value="412"/> - <details key="line" value="14"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/constIncludePreBodyStart/dummy"> - <details key="start" value="349"/> - <details key="end" value="364"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/constIncludePreBodyEnd"> - <details key="start" value="426"/> - <details key="end" value="535"/> - <details key="line" value="17"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/constIncludePreBodyEnd/%"> - <details key="start" value="484"/> - <details key="end" value="523"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/constIncludePreBodyEnd/dummy"> - <details key="start" value="466"/> - <details key="end" value="481"/> - <details key="line" value="17"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/constIncludeBodyStart"> - <details key="start" value="537"/> - <details key="end" value="648"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/constIncludeBodyStart/%"> - <details key="start" value="594"/> - <details key="end" value="636"/> - <details key="line" value="22"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/constIncludeBodyStart/dummy"> - <details key="start" value="576"/> - <details key="end" value="591"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/constIncludeHeaderEnd"> - <details key="start" value="650"/> - <details key="end" value="756"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/constIncludeHeaderEnd/%"> - <details key="start" value="707"/> - <details key="end" value="744"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/constIncludeHeaderEnd/dummy"> - <details key="start" value="689"/> - <details key="end" value="704"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/constIncludeBodyEnd"> - <details key="start" value="758"/> - <details key="end" value="860"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/constIncludeBodyEnd/%"> - <details key="start" value="813"/> - <details key="end" value="848"/> - <details key="line" value="30"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/constIncludeBodyEnd/dummy"> - <details key="start" value="795"/> - <details key="end" value="810"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/constDerivedIncludes"> - <details key="start" value="862"/> - <details key="end" value="960"/> - <details key="line" value="33"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/constDerivedIncludes/%"> - <details key="start" value="918"/> - <details key="end" value="948"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/constDerivedIncludes/dummy"> - <details key="start" value="900"/> - <details key="end" value="915"/> - <details key="line" value="33"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/forwardDecl"> - <details key="start" value="962"/> - <details key="end" value="1044"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/forwardDecl/%"> - <details key="start" value="1009"/> - <details key="end" value="1032"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/forwardDecl/dummy"> - <details key="start" value="991"/> - <details key="end" value="1006"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/constStaticAttributes"> - <details key="start" value="1046"/> - <details key="end" value="1144"/> - <details key="line" value="41"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/constStaticAttributes/%"> - <details key="start" value="1103"/> - <details key="end" value="1132"/> - <details key="line" value="42"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/constStaticAttributes/dummy"> - <details key="start" value="1085"/> - <details key="end" value="1100"/> - <details key="line" value="41"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/packageTypes"> - <details key="start" value="1146"/> - <details key="end" value="1241"/> - <details key="line" value="45"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/packageTypes/%"> - <details key="start" value="1194"/> - <details key="end" value="1229"/> - <details key="line" value="46"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/packageTypes/dummy"> - <details key="start" value="1176"/> - <details key="end" value="1191"/> - <details key="line" value="45"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/undefinedType"> - <details key="start" value="1244"/> - <details key="end" value="1314"/> - <details key="line" value="50"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/undefinedType/%"> - <details key="start" value="1293"/> - <details key="end" value="1302"/> - <details key="line" value="51"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/undefinedType/dummy"> - <details key="start" value="1275"/> - <details key="end" value="1290"/> - <details key="line" value="50"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.mtl deleted file mode 100644 index 94614d3fedc..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/Constants.mtl +++ /dev/null @@ -1,52 +0,0 @@ -[comment encoding = UTF-8 /] -[module Constants('http://www.eclipse.org/uml2/5.0.0/UML')] - - -[template public constIncludeHFile(dummy : Element)] -// include associated header file -[/template] - -[template public constIncludeHeaderStart(dummy : Element)] -// Include from Include stereotype (header) -[/template] - -[template public constIncludePreBodyStart(dummy : Element)] -// Include from Include stereotype (pre-body) -[/template] - -[template public constIncludePreBodyEnd(dummy : Element)] -// End of Include stereotype (pre-body) -[/template] - -[template public constIncludeBodyStart(dummy : Element)] -// Include from Include declaration (body) -[/template] - -[template public constIncludeHeaderEnd(dummy : Element)] -// End of Include stereotype (header) -[/template] - -[template public constIncludeBodyEnd(dummy : Element)] -// End of Include stereotype (body) -[/template] - -[template public constDerivedIncludes(dummy : Element)] -// Derived includes directives -[/template] - -[template public forwardDecl(dummy : Element)] -// forward declarations -[/template] - -[template public constStaticAttributes(dummy : Element)] -// static attributes (if any) -[/template] - -[template public packageTypes(dummy : Element)] -// Types defined within the package -[/template] - - -[template public undefinedType(dummy : Element)] -undefined -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.emtl deleted file mode 100644 index 86c8b390bd2..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.emtl +++ /dev/null @@ -1,1010 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppBindBody" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppBindBody" endHeaderPosition="60"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../utils/CppGenUtils.emtl#/0"/> - <imports href="../utils/ClassUtils.emtl#/0"/> - <imports href="CppIncludeUtils.emtl#/0"/> - <imports href="../preferences/CppCodeGenUtils.emtl#/0"/> - <imports href="Constants.emtl#/0"/> - <imports href="util/CppTemplates.emtl#/0"/> - <imports href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppBindBody" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#define "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_BODY

/************************************************************
 "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" template binding body
 ************************************************************/

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludePreBody"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeHFile"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/9"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type/package"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="."> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludeBody"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/11"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/openNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/12"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constDerivedIncludes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/CppBindBody/%.17/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <loopVariable name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </loopVariable> - <iterSet xsi:type="ocl.ecore:OperationCallExp" eType="/14/OrderedSet(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/14/Sequence(String)"> - <source xsi:type="mtl:QueryInvocation" eType="/14/Sequence(String)"> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/15"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/flatten"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/asOrderedSet"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
/************************************************************/
"/> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="template class "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <source xsi:type="ocl.ecore:VariableExp" name="templateElement" referredVariable="/0/CppBindBody/%.19/%/templateElement"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/owner"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/22/NamedElement"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="<"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/CppTemplates.emtl#/0/CppTemplateBindingParameter"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/26"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </argument> - </body> - <iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/14/Set(TemplateParameterSubstitution)"> - <source xsi:type="ocl.ecore:VariableExp" name="tb" referredVariable="/0/CppBindBody/%.19/tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding/parameterSubstitution"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=">;
"/> - <letVariable name="templateElement"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <initExpression xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/14/Sequence(Element)"> - <source xsi:type="ocl.ecore:PropertyCallExp" eType="/14/Set(Element)"> - <source xsi:type="ocl.ecore:VariableExp" name="tb" referredVariable="/0/CppBindBody/%.19/tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//DirectedRelationship/target"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Set(T)_Class/asSequence"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/first"/> - </initExpression> - </letVariable> - </body> - <letVariable name="tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <initExpression xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getTemplateBindings"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/20"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </initExpression> - </letVariable> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/closeNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/29"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

/************************************************************
 End of "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" template binding body
 ************************************************************/"/> - <parameter name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="+"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="other"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppBindBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppBindBody"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eParameters> - </eOperations> - <eOperations name="getTemplateBindings"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getTemplateBindings"/> - </eAnnotations> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eParameters> - </eOperations> - <eOperations name="getFullNameUC"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="getFullPath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="openNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/openNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="closeNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/closeNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludeBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludeBody"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludePreBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludePreBody"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="getHeaderSuffix"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eOperations> - <eOperations name="constIncludeHFile"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeHFile"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constDerivedIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constDerivedIncludes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="CppTemplateBindingParameter"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppTemplates.emtl#/0/CppTemplateBindingParameter"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="tps"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eParameters> - </eOperations> - <eOperations name="CppClassAllIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="util/clazz/CppClassIncludeClassDeclaration.emtl#/3/Sequence(String)"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameterSubstitution_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(String)" instanceClassName="java.util.List"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(String)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SetType" name="Set(Element)" instanceClassName="java.util.Set"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(Element)" instanceClassName="java.util.List"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SetType" name="Set(TemplateParameterSubstitution)" instanceClassName="java.util.Set"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="NamedElement"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppBindBody"> - <details key="start" value="637"/> - <details key="end" value="1743"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppBindBody/%"> - <details key="start" value="682"/> - <details key="end" value="690"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppBindBody/%.1"> - <details key="start" value="691"/> - <details key="end" value="706"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppBindBody/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppBindBody/%.2"> - <details key="start" value="708"/> - <details key="end" value="791"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppBindBody/%.3"> - <details key="start" value="792"/> - <details key="end" value="802"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppBindBody/%.3/class"> - <details key="start" value="792"/> - <details key="end" value="797"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppBindBody/%.4"> - <details key="start" value="804"/> - <details key="end" value="891"/> - <details key="line" value="16"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppBindBody/%.5"> - <details key="start" value="892"/> - <details key="end" value="911"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppBindBody/%.5/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppBindBody/%.6"> - <details key="start" value="913"/> - <details key="end" value="915"/> - <details key="line" value="20"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppBindBody/%.7"> - <details key="start" value="916"/> - <details key="end" value="935"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppBindBody/%.7/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppBindBody/%.8"> - <details key="start" value="937"/> - <details key="end" value="938"/> - <details key="line" value="22"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppBindBody/%.9"> - <details key="start" value="939"/> - <details key="end" value="1026"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppBindBody/%.9/%"> - <details key="start" value="957"/> - <details key="end" value="1024"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppBindBody/%.9/%/%"> - <details key="start" value="957"/> - <details key="end" value="1004"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppBindBody/%.9/%/%/%"> - <details key="start" value="957"/> - <details key="end" value="998"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppBindBody/%.9/%/%/%/%"> - <details key="start" value="957"/> - <details key="end" value="985"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppBindBody/%.9/%/%/%/%/%"> - <details key="start" value="957"/> - <details key="end" value="979"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppBindBody/%.9/%/%/%/%/%/%"> - <details key="start" value="957"/> - <details key="end" value="965"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppBindBody/%.9/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppBindBody/%.9/%/%/%/%/%.1"> - <details key="start" value="982"/> - <details key="end" value="985"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppBindBody/%.9/%/%/%/%.1"> - <details key="start" value="988"/> - <details key="end" value="998"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppBindBody/%.9/%/%/%/%.1/class"> - <details key="start" value="988"/> - <details key="end" value="993"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppBindBody/%.9/%/%/%.1"> - <details key="start" value="1001"/> - <details key="end" value="1004"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppBindBody/%.9/%/%.1"> - <details key="start" value="1007"/> - <details key="end" value="1024"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppBindBody/%.9/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppBindBody/%.10"> - <details key="start" value="1028"/> - <details key="end" value="1030"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppBindBody/%.11"> - <details key="start" value="1031"/> - <details key="end" value="1047"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppBindBody/%.11/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppBindBody/%.12"> - <details key="start" value="1049"/> - <details key="end" value="1051"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppBindBody/%.13"> - <details key="start" value="1052"/> - <details key="end" value="1060"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppBindBody/%.13/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppBindBody/%.14"> - <details key="start" value="1062"/> - <details key="end" value="1064"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppBindBody/%.15"> - <details key="start" value="1065"/> - <details key="end" value="1087"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppBindBody/%.15/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppBindBody/%.16"> - <details key="start" value="1089"/> - <details key="end" value="1091"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppBindBody/%.17"> - <details key="start" value="1091"/> - <details key="end" value="1197"/> - <details key="line" value="30"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppBindBody/%.17/%"> - <details key="start" value="1165"/> - <details key="end" value="1188"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppBindBody/%.17/%/path"> - <details key="start" value="1165"/> - <details key="end" value="1169"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppBindBody/%.17/%.1"> - <details key="start" value="1190"/> - <details key="end" value="1191"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppBindBody/%.17/path"> - <details key="start" value="1097"/> - <details key="end" value="1110"/> - <details key="line" value="30"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppBindBody/%.17/%.2"> - <details key="start" value="1113"/> - <details key="end" value="1161"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppBindBody/%.17/%.2/%"> - <details key="start" value="1113"/> - <details key="end" value="1145"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppBindBody/%.17/%.2/%/%"> - <details key="start" value="1113"/> - <details key="end" value="1134"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppBindBody/%.17/%.2/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppBindBody/%.18"> - <details key="start" value="1198"/> - <details key="end" value="1262"/> - <details key="line" value="33"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppBindBody/%.19"> - <details key="start" value="1262"/> - <details key="end" value="1534"/> - <details key="line" value="35"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppBindBody/%.19/%"> - <details key="start" value="1313"/> - <details key="end" value="1528"/> - <details key="line" value="36"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppBindBody/%.19/%/%"> - <details key="start" value="1380"/> - <details key="end" value="1395"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppBindBody/%.19/%/%.1"> - <details key="start" value="1396"/> - <details key="end" value="1446"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppBindBody/%.19/%/%.1/%"> - <details key="start" value="1396"/> - <details key="end" value="1441"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/CppBindBody/%.19/%/%.1/%/%"> - <details key="start" value="1396"/> - <details key="end" value="1417"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/CppBindBody/%.19/%/%.1/%/%/templateElement"> - <details key="start" value="1396"/> - <details key="end" value="1411"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/CppBindBody/%.19/%/%.1/%/%.1"> - <details key="start" value="1428"/> - <details key="end" value="1440"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/CppBindBody/%.19/%/%.2"> - <details key="start" value="1448"/> - <details key="end" value="1449"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/CppBindBody/%.19/%/%.3"> - <details key="start" value="1449"/> - <details key="end" value="1519"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/CppBindBody/%.19/%/%.3/%"> - <details key="start" value="1482"/> - <details key="end" value="1511"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/CppBindBody/%.19/%/%.3/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/CppBindBody/%.19/%/%.3/%.1"> - <details key="start" value="1455"/> - <details key="end" value="1479"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/CppBindBody/%.19/%/%.3/%.1/tb"> - <details key="start" value="1455"/> - <details key="end" value="1457"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/CppBindBody/%.19/%/%.4"> - <details key="start" value="1519"/> - <details key="end" value="1522"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/CppBindBody/%.19/%/templateElement"> - <details key="start" value="1318"/> - <details key="end" value="1378"/> - <details key="line" value="36"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/CppBindBody/%.19/%/templateElement/%"> - <details key="start" value="1347"/> - <details key="end" value="1379"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/CppBindBody/%.19/%/templateElement/%/%"> - <details key="start" value="1347"/> - <details key="end" value="1370"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.66" references="/0/CppBindBody/%.19/%/templateElement/%/%/%"> - <details key="start" value="1347"/> - <details key="end" value="1356"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.67" references="/0/CppBindBody/%.19/%/templateElement/%/%/%/tb"> - <details key="start" value="1347"/> - <details key="end" value="1349"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.68" references="/0/CppBindBody/%.19/tb"> - <details key="start" value="1267"/> - <details key="end" value="1311"/> - <details key="line" value="35"/> - </eAnnotations> - <eAnnotations source="positions.69" references="/0/CppBindBody/%.19/tb/%"> - <details key="start" value="1291"/> - <details key="end" value="1312"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.70" references="/0/CppBindBody/%.19/tb/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.71" references="/0/CppBindBody/%.20"> - <details key="start" value="1535"/> - <details key="end" value="1536"/> - <details key="line" value="39"/> - </eAnnotations> - <eAnnotations source="positions.72" references="/0/CppBindBody/%.21"> - <details key="start" value="1537"/> - <details key="end" value="1546"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.73" references="/0/CppBindBody/%.21/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.74" references="/0/CppBindBody/%.22"> - <details key="start" value="1548"/> - <details key="end" value="1633"/> - <details key="line" value="41"/> - </eAnnotations> - <eAnnotations source="positions.75" references="/0/CppBindBody/%.23"> - <details key="start" value="1634"/> - <details key="end" value="1644"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.76" references="/0/CppBindBody/%.23/class"> - <details key="start" value="1634"/> - <details key="end" value="1639"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.77" references="/0/CppBindBody/%.24"> - <details key="start" value="1646"/> - <details key="end" value="1731"/> - <details key="line" value="43"/> - </eAnnotations> - <eAnnotations source="positions.78" references="/0/CppBindBody/class"> - <details key="start" value="666"/> - <details key="end" value="679"/> - <details key="line" value="12"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.mtl deleted file mode 100644 index bb2cf852f40..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindBody.mtl +++ /dev/null @@ -1,45 +0,0 @@ -[module CppBindBody('http://www.eclipse.org/uml2/5.0.0/UML')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::ClassUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/] -[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppTemplates/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/] - - -[template public CppBindBody(class : Class)] -#define [getFullNameUC()/]_BODY - -/************************************************************ - [class.name/] template binding body - ************************************************************/ - -[CppIncludePreBody()/] - -[constIncludeHFile()/] -[IncludeDirective( _package.getFullPath() + '/' + class.name + '.' + getHeaderSuffix() )/] - -[CppIncludeBody()/] - -[openNS()/] - -[constDerivedIncludes()/] - -[for (path : String | CppClassAllIncludes()->flatten()->asOrderedSet())] -[path.IncludeDirective()/] -[/for] - -/************************************************************/ -[let tb : TemplateBinding = getTemplateBindings()] -[let templateElement : Element = tb.target->asSequence()->first()] -template class [templateElement.owner.oclAsType(NamedElement).name/]<[for (tb.parameterSubstitution)][CppTemplateBindingParameter()/][/for]>; -[/let][/let] - -[closeNS()/] - -/************************************************************ - End of [class.name/] template binding body - ************************************************************/ -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.emtl deleted file mode 100644 index f372ad6c3eb..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.emtl +++ /dev/null @@ -1,1031 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppBindHeader" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppBindHeader" endHeaderPosition="62"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../utils/CppGenUtils.emtl#/0"/> - <imports href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0"/> - <imports href="util/CppTemplates.emtl#/0"/> - <imports href="../preferences/CppCodeGenUtils.emtl#/0"/> - <imports href="CppIncludeUtils.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppBindHeader" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#ifndef "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_H
#define "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_H

/************************************************************
 "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" template binding header
 ************************************************************/

"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/CppBindHeader/%.7/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <loopVariable name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </loopVariable> - <iterSet xsi:type="ocl.ecore:OperationCallExp" eType="/9/OrderedSet(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/9/Sequence(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/9/Sequence(String)" referredOperation="/1/Collection(T)_Class/addAll"> - <source xsi:type="ocl.ecore:CollectionLiteralExp" eType="/9/Sequence(String)" kind="Sequence"> - <part xsi:type="ocl.ecore:CollectionItem"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <item xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type/package"/> - </argument> - </item> - </part> - </source> - <argument xsi:type="mtl:QueryInvocation" eType="/9/Sequence(String)"> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/flatten"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/asOrderedSet"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/15"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/19"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type/package"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <source xsi:type="ocl.ecore:VariableExp" name="templateElement" referredVariable="/0/CppBindHeader/%.11/%/templateElement"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/owner"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/18/NamedElement"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="."> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/19"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/openNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/20"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" 
/************************************************************/
typedef "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <source xsi:type="ocl.ecore:VariableExp" name="templateElement" referredVariable="/0/CppBindHeader/%.11/%/templateElement"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/owner"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/18/NamedElement"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="<"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/CppTemplates.emtl#/0/CppTemplateBindingParameter"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/24"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </argument> - </body> - <iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/9/Set(TemplateParameterSubstitution)"> - <source xsi:type="ocl.ecore:VariableExp" name="tb" referredVariable="/0/CppBindHeader/%.11/tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding/parameterSubstitution"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="> "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/closeNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/28"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <letVariable name="templateElement"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <initExpression xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/9/Sequence(Element)"> - <source xsi:type="ocl.ecore:PropertyCallExp" eType="/9/Set(Element)"> - <source xsi:type="ocl.ecore:VariableExp" name="tb" referredVariable="/0/CppBindHeader/%.11/tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//DirectedRelationship/target"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Set(T)_Class/asSequence"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/first"/> - </initExpression> - </letVariable> - </body> - <letVariable name="tb"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <initExpression xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getTemplateBindings"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/16"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - </initExpression> - </letVariable> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
/************************************************************
 End of "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppBindHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" template binding header
 ************************************************************/

#endif"/> - <parameter name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="+"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="other"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppBindHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppBindHeader"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eParameters> - </eOperations> - <eOperations name="getTemplateBindings"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getTemplateBindings"/> - </eAnnotations> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateBinding"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eParameters> - </eOperations> - <eOperations name="getFullNameUC"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="getFullPath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="openNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/openNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="closeNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/closeNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="cppOwnerPackageIncludePath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="CppClassAllIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="util/clazz/CppClassIncludeClassDeclaration.emtl#/3/Sequence(String)"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppTemplateBindingParameter"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppTemplates.emtl#/0/CppTemplateBindingParameter"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="tps"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eParameters> - </eOperations> - <eOperations name="getHeaderSuffix"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eOperations> - <eOperations name="CppIncludeHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - <eOperations name="addAll"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:CollectionType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - <eParameters name="otherCollection"> - <eType xsi:type="ocl.ecore:CollectionType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameterSubstitution_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(String)" instanceClassName="java.util.List"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:CollectionType" name="Collection(String)"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(String)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SetType" name="Set(Element)" instanceClassName="java.util.Set"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(Element)" instanceClassName="java.util.List"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SetType" name="Set(TemplateParameterSubstitution)" instanceClassName="java.util.Set"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="NamedElement"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppBindHeader"> - <details key="start" value="508"/> - <details key="end" value="1701"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppBindHeader/%"> - <details key="start" value="556"/> - <details key="end" value="564"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppBindHeader/%.1"> - <details key="start" value="565"/> - <details key="end" value="580"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppBindHeader/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppBindHeader/%.2"> - <details key="start" value="582"/> - <details key="end" value="593"/> - <details key="line" value="11"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppBindHeader/%.3"> - <details key="start" value="594"/> - <details key="end" value="609"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppBindHeader/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppBindHeader/%.4"> - <details key="start" value="611"/> - <details key="end" value="691"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppBindHeader/%.5"> - <details key="start" value="692"/> - <details key="end" value="702"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppBindHeader/%.5/class"> - <details key="start" value="692"/> - <details key="end" value="697"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppBindHeader/%.6"> - <details key="start" value="704"/> - <details key="end" value="793"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppBindHeader/%.7"> - <details key="start" value="793"/> - <details key="end" value="970"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppBindHeader/%.7/%"> - <details key="start" value="938"/> - <details key="end" value="961"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppBindHeader/%.7/%/path"> - <details key="start" value="938"/> - <details key="end" value="942"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppBindHeader/%.7/%.1"> - <details key="start" value="963"/> - <details key="end" value="964"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppBindHeader/%.7/path"> - <details key="start" value="799"/> - <details key="end" value="812"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppBindHeader/%.7/%.2"> - <details key="start" value="816"/> - <details key="end" value="934"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppBindHeader/%.7/%.2/%"> - <details key="start" value="816"/> - <details key="end" value="915"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppBindHeader/%.7/%.2/%/%"> - <details key="start" value="816"/> - <details key="end" value="901"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppBindHeader/%.7/%.2/%/%/%"> - <details key="start" value="816"/> - <details key="end" value="865"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppBindHeader/%.7/%.2/%/%/%/%/%"> - <details key="start" value="826"/> - <details key="end" value="863"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppBindHeader/%.7/%.2/%/%/%/%/%/%"> - <details key="start" value="826"/> - <details key="end" value="834"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppBindHeader/%.7/%.2/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppBindHeader/%.7/%.2/%/%/%.1"> - <details key="start" value="878"/> - <details key="end" value="899"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppBindHeader/%.7/%.2/%/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppBindHeader/%.8"> - <details key="start" value="971"/> - <details key="end" value="972"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppBindHeader/%.9"> - <details key="start" value="973"/> - <details key="end" value="991"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppBindHeader/%.9/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppBindHeader/%.10"> - <details key="start" value="993"/> - <details key="end" value="995"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppBindHeader/%.11"> - <details key="start" value="995"/> - <details key="end" value="1496"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppBindHeader/%.11/%"> - <details key="start" value="1046"/> - <details key="end" value="1490"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppBindHeader/%.11/%/%"> - <details key="start" value="1114"/> - <details key="end" value="1241"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppBindHeader/%.11/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1239"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppBindHeader/%.11/%/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1219"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppBindHeader/%.11/%/%/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1213"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppBindHeader/%.11/%/%/%/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1160"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppBindHeader/%.11/%/%/%/%/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1154"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppBindHeader/%.11/%/%/%/%/%/%/%/%"> - <details key="start" value="1132"/> - <details key="end" value="1140"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppBindHeader/%.11/%/%/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppBindHeader/%.11/%/%/%/%/%/%/%.1"> - <details key="start" value="1157"/> - <details key="end" value="1160"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppBindHeader/%.11/%/%/%/%/%/%.1"> - <details key="start" value="1163"/> - <details key="end" value="1213"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppBindHeader/%.11/%/%/%/%/%/%.1/%"> - <details key="start" value="1163"/> - <details key="end" value="1208"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppBindHeader/%.11/%/%/%/%/%/%.1/%/%"> - <details key="start" value="1163"/> - <details key="end" value="1184"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppBindHeader/%.11/%/%/%/%/%/%.1/%/%/templateElement"> - <details key="start" value="1163"/> - <details key="end" value="1178"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppBindHeader/%.11/%/%/%/%/%/%.1/%/%.1"> - <details key="start" value="1195"/> - <details key="end" value="1207"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppBindHeader/%.11/%/%/%/%/%.1"> - <details key="start" value="1216"/> - <details key="end" value="1219"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppBindHeader/%.11/%/%/%/%.1"> - <details key="start" value="1222"/> - <details key="end" value="1239"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppBindHeader/%.11/%/%/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppBindHeader/%.11/%/%.1"> - <details key="start" value="1243"/> - <details key="end" value="1245"/> - <details key="line" value="31"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppBindHeader/%.11/%/%.2"> - <details key="start" value="1246"/> - <details key="end" value="1254"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppBindHeader/%.11/%/%.2/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppBindHeader/%.11/%/%.3"> - <details key="start" value="1256"/> - <details key="end" value="1329"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppBindHeader/%.11/%/%.4"> - <details key="start" value="1330"/> - <details key="end" value="1380"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/CppBindHeader/%.11/%/%.4/%"> - <details key="start" value="1330"/> - <details key="end" value="1375"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/CppBindHeader/%.11/%/%.4/%/%"> - <details key="start" value="1330"/> - <details key="end" value="1351"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/CppBindHeader/%.11/%/%.4/%/%/templateElement"> - <details key="start" value="1330"/> - <details key="end" value="1345"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/CppBindHeader/%.11/%/%.4/%/%.1"> - <details key="start" value="1362"/> - <details key="end" value="1374"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/CppBindHeader/%.11/%/%.5"> - <details key="start" value="1382"/> - <details key="end" value="1383"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/CppBindHeader/%.11/%/%.6"> - <details key="start" value="1383"/> - <details key="end" value="1453"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/CppBindHeader/%.11/%/%.6/%"> - <details key="start" value="1416"/> - <details key="end" value="1445"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/CppBindHeader/%.11/%/%.6/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/CppBindHeader/%.11/%/%.6/%.1"> - <details key="start" value="1389"/> - <details key="end" value="1413"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/CppBindHeader/%.11/%/%.6/%.1/tb"> - <details key="start" value="1389"/> - <details key="end" value="1391"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/CppBindHeader/%.11/%/%.7"> - <details key="start" value="1453"/> - <details key="end" value="1455"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/CppBindHeader/%.11/%/%.8"> - <details key="start" value="1456"/> - <details key="end" value="1466"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/CppBindHeader/%.11/%/%.8/class"> - <details key="start" value="1456"/> - <details key="end" value="1461"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.66" references="/0/CppBindHeader/%.11/%/%.9"> - <details key="start" value="1468"/> - <details key="end" value="1471"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.67" references="/0/CppBindHeader/%.11/%/%.10"> - <details key="start" value="1472"/> - <details key="end" value="1481"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.68" references="/0/CppBindHeader/%.11/%/%.10/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.69" references="/0/CppBindHeader/%.11/%/%.11"> - <details key="start" value="1483"/> - <details key="end" value="1484"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.70" references="/0/CppBindHeader/%.11/%/templateElement"> - <details key="start" value="1051"/> - <details key="end" value="1111"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.71" references="/0/CppBindHeader/%.11/%/templateElement/%"> - <details key="start" value="1080"/> - <details key="end" value="1112"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.72" references="/0/CppBindHeader/%.11/%/templateElement/%/%"> - <details key="start" value="1080"/> - <details key="end" value="1103"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.73" references="/0/CppBindHeader/%.11/%/templateElement/%/%/%"> - <details key="start" value="1080"/> - <details key="end" value="1089"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.74" references="/0/CppBindHeader/%.11/%/templateElement/%/%/%/tb"> - <details key="start" value="1080"/> - <details key="end" value="1082"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.75" references="/0/CppBindHeader/%.11/tb"> - <details key="start" value="1000"/> - <details key="end" value="1044"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.76" references="/0/CppBindHeader/%.11/tb/%"> - <details key="start" value="1024"/> - <details key="end" value="1045"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.77" references="/0/CppBindHeader/%.11/tb/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.78" references="/0/CppBindHeader/%.12"> - <details key="start" value="1497"/> - <details key="end" value="1581"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.79" references="/0/CppBindHeader/%.13"> - <details key="start" value="1582"/> - <details key="end" value="1592"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.80" references="/0/CppBindHeader/%.13/class"> - <details key="start" value="1582"/> - <details key="end" value="1587"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.81" references="/0/CppBindHeader/%.14"> - <details key="start" value="1594"/> - <details key="end" value="1689"/> - <details key="line" value="40"/> - </eAnnotations> - <eAnnotations source="positions.82" references="/0/CppBindHeader/class"> - <details key="start" value="539"/> - <details key="end" value="552"/> - <details key="line" value="10"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.mtl deleted file mode 100644 index 007a48b1f47..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppBindHeader.mtl +++ /dev/null @@ -1,44 +0,0 @@ -[module CppBindHeader('http://www.eclipse.org/uml2/5.0.0/UML')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppTemplates/] -[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/] - - -[template public CppBindHeader(class : Class)] -#ifndef [getFullNameUC()/]_H -#define [getFullNameUC()/]_H - -/************************************************************ - [class.name/] template binding header - ************************************************************/ - -[for (path : String | - Sequence{ _package.cppOwnerPackageIncludePath() } - ->addAll( CppClassAllIncludes() ) - ->flatten() - ->asOrderedSet())] -[path.IncludeDirective()/] -[/for] - -[CppIncludeHeader()/] - -[let tb : TemplateBinding = getTemplateBindings()] -[let templateElement : Element = tb.target->asSequence()->first()] -[IncludeDirective( _package.getFullPath() + '/' + templateElement.owner.oclAsType(NamedElement).name + '.' + getHeaderSuffix() )/] - -[openNS()/] -/************************************************************/ -typedef [templateElement.owner.oclAsType(NamedElement).name/]<[for (tb.parameterSubstitution)][CppTemplateBindingParameter()/][/for]> [class.name/]; - -[closeNS()/] -[/let][/let] - -/************************************************************ - End of [class.name/] template binding header - ************************************************************/ - -#endif -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.emtl deleted file mode 100644 index f3905cb70d3..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.emtl +++ /dev/null @@ -1,885 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppClassBody" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppClassBody" endHeaderPosition="61"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../utils/CppGenUtils.emtl#/0"/> - <imports href="../utils/ClassUtils.emtl#/0"/> - <imports href="Constants.emtl#/0"/> - <imports href="CppIncludeUtils.emtl#/0"/> - <imports href="../preferences/CppCodeGenUtils.emtl#/0"/> - <imports href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassOperationsImplementation.emtl#/0"/> - <imports href="util/CppAttribute.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppClassBody" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#define "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullName"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_BODY

/************************************************************
 "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" class body
 ************************************************************/

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludePreBody"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeHFile"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/9"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element/getNearestPackage"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="."> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constDerivedIncludes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/11"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/CppClassBody/%.13/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <loopVariable name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </loopVariable> - <iterSet xsi:type="ocl.ecore:OperationCallExp" eType="/12/OrderedSet(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/12/Sequence(String)"> - <source xsi:type="mtl:QueryInvocation" eType="/12/Sequence(String)"> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludesDeclarationBody"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/flatten"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/asOrderedSet"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludeBody"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/18"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/openNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/CppAttribute.emtl#/0/CppStaticAttributes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsImplementation.emtl#/0/CppClassOperationsImplementation"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/22"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:BooleanLiteralExp" booleanSymbol="false"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/21"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateableElement/isTemplate"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/not"/> - </ifExpr> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/closeNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

/************************************************************
 End of "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassBody/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" class body
 ************************************************************/"/> - <parameter name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="+"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="other"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppClassBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppClassBody"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="getFullName"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullName"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="getFullPath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="openNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/openNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="closeNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/closeNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeHFile"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeHFile"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constDerivedIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constDerivedIncludes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludeBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludeBody"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludePreBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludePreBody"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="getHeaderSuffix"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eOperations> - <eOperations name="CppClassAllIncludesDeclarationBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludesDeclarationBody"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="util/clazz/CppClassIncludeClassDeclaration.emtl#/3/Sequence(String)"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassOperationsImplementation"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassOperationsImplementation.emtl#/0/CppClassOperationsImplementation"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - <eParameters name="inline"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </eParameters> - </eOperations> - <eOperations name="CppStaticAttributes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppAttribute.emtl#/0/CppStaticAttributes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Property_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(String)" instanceClassName="java.util.List"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(String)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppClassBody"> - <details key="start" value="740"/> - <details key="end" value="1626"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppClassBody/%"> - <details key="start" value="791"/> - <details key="end" value="799"/> - <details key="line" value="14"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppClassBody/%.1"> - <details key="start" value="800"/> - <details key="end" value="813"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppClassBody/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppClassBody/%.2"> - <details key="start" value="815"/> - <details key="end" value="898"/> - <details key="line" value="14"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppClassBody/%.3"> - <details key="start" value="899"/> - <details key="end" value="909"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppClassBody/%.3/class"> - <details key="start" value="899"/> - <details key="end" value="904"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppClassBody/%.4"> - <details key="start" value="911"/> - <details key="end" value="987"/> - <details key="line" value="17"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppClassBody/%.5"> - <details key="start" value="988"/> - <details key="end" value="1007"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppClassBody/%.5/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppClassBody/%.6"> - <details key="start" value="1009"/> - <details key="end" value="1011"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppClassBody/%.7"> - <details key="start" value="1012"/> - <details key="end" value="1031"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppClassBody/%.7/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppClassBody/%.8"> - <details key="start" value="1033"/> - <details key="end" value="1034"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppClassBody/%.9"> - <details key="start" value="1035"/> - <details key="end" value="1133"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppClassBody/%.9/%"> - <details key="start" value="1053"/> - <details key="end" value="1131"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppClassBody/%.9/%/%"> - <details key="start" value="1053"/> - <details key="end" value="1111"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppClassBody/%.9/%/%/%"> - <details key="start" value="1053"/> - <details key="end" value="1105"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppClassBody/%.9/%/%/%/%"> - <details key="start" value="1053"/> - <details key="end" value="1092"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppClassBody/%.9/%/%/%/%/%"> - <details key="start" value="1053"/> - <details key="end" value="1086"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppClassBody/%.9/%/%/%/%/%/%"> - <details key="start" value="1053"/> - <details key="end" value="1072"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppClassBody/%.9/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppClassBody/%.9/%/%/%/%/%.1"> - <details key="start" value="1089"/> - <details key="end" value="1092"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppClassBody/%.9/%/%/%/%.1"> - <details key="start" value="1095"/> - <details key="end" value="1105"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppClassBody/%.9/%/%/%/%.1/class"> - <details key="start" value="1095"/> - <details key="end" value="1100"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppClassBody/%.9/%/%/%.1"> - <details key="start" value="1108"/> - <details key="end" value="1111"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppClassBody/%.9/%/%.1"> - <details key="start" value="1114"/> - <details key="end" value="1131"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppClassBody/%.9/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppClassBody/%.10"> - <details key="start" value="1135"/> - <details key="end" value="1137"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppClassBody/%.11"> - <details key="start" value="1138"/> - <details key="end" value="1160"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppClassBody/%.11/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppClassBody/%.12"> - <details key="start" value="1162"/> - <details key="end" value="1163"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppClassBody/%.13"> - <details key="start" value="1163"/> - <details key="end" value="1284"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppClassBody/%.13/%"> - <details key="start" value="1252"/> - <details key="end" value="1275"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppClassBody/%.13/%/path"> - <details key="start" value="1252"/> - <details key="end" value="1256"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppClassBody/%.13/%.1"> - <details key="start" value="1277"/> - <details key="end" value="1278"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppClassBody/%.13/path"> - <details key="start" value="1169"/> - <details key="end" value="1182"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppClassBody/%.13/%.2"> - <details key="start" value="1185"/> - <details key="end" value="1248"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppClassBody/%.13/%.2/%"> - <details key="start" value="1185"/> - <details key="end" value="1232"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppClassBody/%.13/%.2/%/%"> - <details key="start" value="1185"/> - <details key="end" value="1221"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppClassBody/%.13/%.2/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppClassBody/%.14"> - <details key="start" value="1285"/> - <details key="end" value="1286"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppClassBody/%.15"> - <details key="start" value="1287"/> - <details key="end" value="1303"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppClassBody/%.15/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppClassBody/%.16"> - <details key="start" value="1305"/> - <details key="end" value="1307"/> - <details key="line" value="31"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppClassBody/%.17"> - <details key="start" value="1308"/> - <details key="end" value="1321"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppClassBody/%.17/class"> - <details key="start" value="1315"/> - <details key="end" value="1320"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppClassBody/%.18"> - <details key="start" value="1323"/> - <details key="end" value="1324"/> - <details key="line" value="33"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppClassBody/%.19"> - <details key="start" value="1325"/> - <details key="end" value="1351"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppClassBody/%.19/class"> - <details key="start" value="1345"/> - <details key="end" value="1350"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppClassBody/%.20"> - <details key="start" value="1353"/> - <details key="end" value="1354"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppClassBody/%.21"> - <details key="start" value="1354"/> - <details key="end" value="1424"/> - <details key="line" value="34"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppClassBody/%.21/%"> - <details key="start" value="1377"/> - <details key="end" value="1416"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/CppClassBody/%.21/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/CppClassBody/%.21/%/%"> - <details key="start" value="1410"/> - <details key="end" value="1415"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/CppClassBody/%.21/%.1"> - <details key="start" value="1418"/> - <details key="end" value="1419"/> - <details key="line" value="36"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/CppClassBody/%.21/%.2"> - <details key="start" value="1358"/> - <details key="end" value="1374"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/CppClassBody/%.21/%.2/%"> - <details key="start" value="1362"/> - <details key="end" value="1374"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/CppClassBody/%.21/%.2/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/CppClassBody/%.22"> - <details key="start" value="1426"/> - <details key="end" value="1440"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/CppClassBody/%.22/class"> - <details key="start" value="1434"/> - <details key="end" value="1439"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/CppClassBody/%.23"> - <details key="start" value="1442"/> - <details key="end" value="1527"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/CppClassBody/%.24"> - <details key="start" value="1528"/> - <details key="end" value="1538"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/CppClassBody/%.24/class"> - <details key="start" value="1528"/> - <details key="end" value="1533"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/CppClassBody/%.25"> - <details key="start" value="1540"/> - <details key="end" value="1614"/> - <details key="line" value="40"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/CppClassBody/class"> - <details key="start" value="770"/> - <details key="end" value="788"/> - <details key="line" value="13"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.mtl deleted file mode 100644 index af47e965998..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassBody.mtl +++ /dev/null @@ -1,42 +0,0 @@ -[module CppClassBody('http://www.eclipse.org/uml2/5.0.0/UML')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::ClassUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/] -[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassOperationsImplementation/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppAttribute/] - - -[template public CppClassBody(class : Classifier)] -#define [getFullName()/]_BODY - -/************************************************************ - [class.name/] class body - ************************************************************/ - -[CppIncludePreBody()/] - -[constIncludeHFile()/] -[IncludeDirective( getNearestPackage().getFullPath() + '/' + class.name + '.' + getHeaderSuffix() )/] - -[constDerivedIncludes()/] -[for (path : String | CppClassAllIncludesDeclarationBody()->flatten()->asOrderedSet())] -[path.IncludeDirective()/] -[/for] - -[CppIncludeBody()/] - -[openNS(class)/] -[CppStaticAttributes(class)/] -[if not isTemplate()] -[CppClassOperationsImplementation(false)/] -[/if] -[closeNS(class)/] - -/************************************************************ - End of [class.name/] class body - ************************************************************/ -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.emtl deleted file mode 100644 index 2fbf48e1a44..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.emtl +++ /dev/null @@ -1,2200 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppClassHeader" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppClassHeader" endHeaderPosition="105"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <input> - <takesTypesFrom href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../utils/CppGenUtils.emtl#/0"/> - <imports href="../utils/ClassUtils.emtl#/0"/> - <imports href="Constants.emtl#/0"/> - <imports href="CppIncludeUtils.emtl#/0"/> - <imports href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassTypeAndEnum.emtl#/0"/> - <imports href="util/clazz/CppClassFriendDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassInheritedDeclarations.emtl#/0"/> - <imports href="util/clazz/CppClassAttributesDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassOperationsDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassOperationsImplementation.emtl#/0"/> - <imports href="util/operation/CppOperations.emtl#/0"/> - <imports href="util/CppTemplates.emtl#/0"/> - <imports href="util/CppDocumentation.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="classUnionOrStruct" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" 'union'
"/> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Union"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Union"/> - </argument> - </ifExpr> - <else> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/resetVisibility"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 struct
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/DataType"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclIsKindOf"/> - </ifExpr> - <else> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/resetVisibility"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/private"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 class
"/> - </else> - </body> - </else> - </body> - <parameter name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Comment"> - <body startPosition="1676" endPosition="1844" value=" default initializer for non-static attributes with a default value
TODO: should be disabled by default, since non-static members can be initialized directly
in C++ 011"/> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="defaultInitializer" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" 	"/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="classifier" referredVariable="/0/defaultInitializer/classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="() : "/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/24"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="("/> - <body xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/25"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/defaultValue"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification/stringValue"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=")"/> - <loopVariable name="a"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </loopVariable> - <iterSet xsi:type="ocl.ecore:VariableExp" name="attributeList" eType="/16/OrderedSet(Property)" referredVariable="/0/defaultInitializer/%/%/attributeList"/> - <each xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=", "> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </each> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" {}
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="attributeList" eType="/16/OrderedSet(Property)" referredVariable="/0/defaultInitializer/%/%/attributeList"/> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)_Class/isEmpty"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/not"/> - </ifExpr> - </body> - <letVariable name="attributeList" eType="/16/OrderedSet(Property)"> - <initExpression xsi:type="ocl.ecore:IteratorExp" name="select" eType="/16/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:PropertyCallExp" eType="/16/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/18"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier/attribute"/> - </source> - <body xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="temp1" referredVariable="/0/defaultInitializer/%/%/attributeList/select/temp1"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//Feature/isStatic"/> - </source> - <argument xsi:type="ocl.ecore:BooleanLiteralExp" booleanSymbol="false"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/="/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification"/> - <source xsi:type="ocl.ecore:VariableExp" name="temp1" referredVariable="/0/defaultInitializer/%/%/attributeList/select/temp1"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/defaultValue"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/%3C%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification"/> - <source xsi:type="ocl.ecore:VariableExp" name="temp1" referredVariable="/0/defaultInitializer/%/%/attributeList/select/temp1"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/defaultValue"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification/stringValue"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/%3C%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </body> - <iterator xsi:type="ocl.ecore:Variable" name="temp1"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </iterator> - </initExpression> - </letVariable> - </body> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:IteratorExp" name="any"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - <source xsi:type="mtl:QueryInvocation" eType="/16/Sequence(Operation)"> - <definition href="util/operation/CppOperations.emtl#/0/getOwnedOperations"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/17"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </source> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="temp1" referredVariable="/0/defaultInitializer/%/%.1/any/temp2"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Create"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#//Create"/> - </argument> - </body> - <iterator xsi:type="ocl.ecore:Variable" name="temp2"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </iterator> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/="/> - </ifExpr> - </body> - <parameter name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - <post xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/trim"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/14"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - </post> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppClassHeader" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#ifndef "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/32"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_H
#define "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/33"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="_H

/************************************************************
 "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" class header
 ************************************************************/

"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/CppClassHeader/%.7/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <loopVariable name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </loopVariable> - <iterSet xsi:type="ocl.ecore:OperationCallExp" eType="/16/OrderedSet(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/16/Sequence(String)"> - <source xsi:type="ocl.ecore:OperationCallExp" eType="/16/Sequence(String)" referredOperation="/1/Collection(T)_Class/addAll"> - <source xsi:type="ocl.ecore:CollectionLiteralExp" eType="/16/Sequence(String)" kind="Sequence"> - <part xsi:type="ocl.ecore:CollectionItem"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <item xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/35"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type/package"/> - </argument> - </item> - </part> - </source> - <argument xsi:type="mtl:QueryInvocation" eType="/16/Sequence(String)"> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/35"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/flatten"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)_Class/asOrderedSet"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/40"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/openNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/41"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" 

/************************************************************/
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/42"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/CppTemplates.emtl#/0/templateSignature"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/43"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="mtl:TemplateInvocation" definition="/0/classUnionOrStruct"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/44"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassInheritedDeclarations.emtl#/0/CppClassInheritedDeclarations"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/46"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" {
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassFriendDeclaration.emtl#/0/CppClassIncludeFriendDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/47"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassTypeAndEnum.emtl#/0/CppClassTypeAndEnum"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/48"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation" definition="/0/defaultInitializer"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/49"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassAttributesDeclaration.emtl#/0/CppClassAttributesDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/50"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsDeclaration.emtl#/0/CppClassOperationsDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/51"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/public"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/protected"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassAttributesDeclaration.emtl#/0/CppClassAttributesDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/52"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/protected"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/protected"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsDeclaration.emtl#/0/CppClassOperationsDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/53"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/protected"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/private"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassAttributesDeclaration.emtl#/0/CppClassAttributesDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/54"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/private"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 "/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/getSection"/> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/private"/> - </argument> - <argument xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsDeclaration.emtl#/0/CppClassOperationsDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/55"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/private"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
};
/************************************************************/
/* External declarations (package visibility) */
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassAttributesDeclaration.emtl#/0/CppClassAttributesDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/56"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsDeclaration.emtl#/0/CppClassOperationsDeclaration"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/57"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:EnumLiteralExp"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - <referredEnumLiteral xsi:type="ecore:EEnumLiteral" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind/package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
/************************************************************/

"/> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/************************************************************/
/* Template functions */
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsImplementation.emtl#/0/CppClassOperationsImplementation"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/59"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:BooleanLiteralExp" booleanSymbol="false"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="util/CppTemplates.emtl#/0/isTemplate"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/58"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </ifExpr> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
/* Inline functions */
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassOperationsImplementation.emtl#/0/CppClassOperationsImplementation"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/60"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - <argument xsi:type="ocl.ecore:BooleanLiteralExp" booleanSymbol="true"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/closeNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/61"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

/************************************************************
 End of "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="class" referredVariable="/0/CppClassHeader/class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" class header
 ************************************************************/

#endif"/> - <parameter name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="trim"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="classUnionOrStruct"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/classUnionOrStruct"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="defaultInitializer"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/defaultInitializer"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppClassHeader"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="getFullNameUC"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="hasStereotype"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="definition"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="openNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/openNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="closeNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/closeNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="resetVisibility"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/resetVisibility"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eParameters> - </eOperations> - <eOperations name="getSection"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/getSection"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eParameters> - <eParameters name="arg1"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludeHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="cppOwnerPackageIncludePath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="CppClassAllIncludes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/CppClassAllIncludes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="util/clazz/CppClassIncludeClassDeclaration.emtl#/3/Sequence(String)"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassTypeAndEnum"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassTypeAndEnum.emtl#/0/CppClassTypeAndEnum"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassIncludeFriendDeclaration"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassFriendDeclaration.emtl#/0/CppClassIncludeFriendDeclaration"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassInheritedDeclarations"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassInheritedDeclarations.emtl#/0/CppClassInheritedDeclarations"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppClassAttributesDeclaration"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassAttributesDeclaration.emtl#/0/CppClassAttributesDeclaration"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - <eParameters name="visibilityFilter"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eParameters> - </eOperations> - <eOperations name="CppClassOperationsDeclaration"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassOperationsDeclaration.emtl#/0/CppClassOperationsDeclaration"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - <eParameters name="visibilityFilter"> - <eType xsi:type="ecore:EEnum" href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eParameters> - </eOperations> - <eOperations name="CppClassOperationsImplementation"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassOperationsImplementation.emtl#/0/CppClassOperationsImplementation"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - <eParameters name="inline"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - </eParameters> - </eOperations> - <eOperations name="getOwnedOperations"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/operation/CppOperations.emtl#/0/getOwnedOperations"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="util/operation/CppOperations.emtl#/3/Sequence(Operation)"/> - <eParameters name="cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="isTemplate"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppTemplates.emtl#/0/isTemplate"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="templateSignature"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppTemplates.emtl#/0/templateSignature"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="class"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppElementDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/CppDocumentation.emtl#/0/CppElementDoc"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - <eOperations name="addAll"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:CollectionType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - <eParameters name="otherCollection"> - <eType xsi:type="ocl.ecore:CollectionType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Namespace_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Relationship_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Relationship"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameterSubstitution_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameterSubstitution"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Union"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Union"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="DataType"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Create"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#//Create"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(Operation)" instanceClassName="java.util.List"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(Property)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SetType" name="Set(Property)" instanceClassName="java.util.Set"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(String)" instanceClassName="java.util.List"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:CollectionType" name="Collection(String)"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(String)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/classUnionOrStruct"> - <details key="start" value="1354"/> - <details key="end" value="1666"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/classUnionOrStruct/%"> - <details key="start" value="1416"/> - <details key="end" value="1654"/> - <details key="line" value="19"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/classUnionOrStruct/%/%"> - <details key="start" value="1451"/> - <details key="end" value="1463"/> - <details key="line" value="20"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/classUnionOrStruct/%/%.1"> - <details key="start" value="1420"/> - <details key="end" value="1449"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/classUnionOrStruct/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/classUnionOrStruct/%/%.1/%"> - <details key="start" value="1435"/> - <details key="end" value="1447"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/classUnionOrStruct/%/%.2"> - <details key="start" value="1463"/> - <details key="end" value="1649"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/classUnionOrStruct/%/%.2/%"> - <details key="start" value="1471"/> - <details key="end" value="1648"/> - <details key="line" value="22"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/classUnionOrStruct/%/%.2/%/%"> - <details key="start" value="1500"/> - <details key="end" value="1508"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/classUnionOrStruct/%/%.2/%/%.1"> - <details key="start" value="1509"/> - <details key="end" value="1549"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/classUnionOrStruct/%/%.2/%/%.1/%"> - <details key="start" value="1509"/> - <details key="end" value="1531"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/classUnionOrStruct/%/%.2/%/%.2"> - <details key="start" value="1551"/> - <details key="end" value="1567"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/classUnionOrStruct/%/%.2/%/%.3"> - <details key="start" value="1475"/> - <details key="end" value="1498"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/classUnionOrStruct/%/%.2/%/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/classUnionOrStruct/%/%.2/%/%.3/%"> - <details key="start" value="1488"/> - <details key="end" value="1496"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/classUnionOrStruct/%/%.2/%/%.4"> - <details key="start" value="1568"/> - <details key="end" value="1643"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/classUnionOrStruct/%/%.2/%/%.4/%"> - <details key="start" value="1575"/> - <details key="end" value="1583"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/classUnionOrStruct/%/%.2/%/%.4/%.1"> - <details key="start" value="1584"/> - <details key="end" value="1625"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/classUnionOrStruct/%/%.2/%/%.4/%.1/%"> - <details key="start" value="1584"/> - <details key="end" value="1607"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/classUnionOrStruct/%/%.2/%/%.4/%.2"> - <details key="start" value="1627"/> - <details key="end" value="1642"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/classUnionOrStruct/classifier"> - <details key="start" value="1390"/> - <details key="end" value="1413"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/%"> - <details key="start" value="1668"/> - <details key="end" value="1846"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/defaultInitializer"> - <details key="start" value="1847"/> - <details key="end" value="3397"/> - <details key="line" value="35"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/defaultInitializer/%"> - <details key="start" value="2948"/> - <details key="end" value="3385"/> - <details key="line" value="54"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/defaultInitializer/%/%"> - <details key="start" value="3023"/> - <details key="end" value="3379"/> - <details key="line" value="55"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/defaultInitializer/%/%/%"> - <details key="start" value="3195"/> - <details key="end" value="3373"/> - <details key="line" value="59"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/defaultInitializer/%/%/%/%"> - <details key="start" value="3229"/> - <details key="end" value="3234"/> - <details key="line" value="60"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/defaultInitializer/%/%/%/%.1"> - <details key="start" value="3235"/> - <details key="end" value="3250"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/defaultInitializer/%/%/%/%.1/classifier"> - <details key="start" value="3235"/> - <details key="end" value="3245"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/defaultInitializer/%/%/%/%.2"> - <details key="start" value="3252"/> - <details key="end" value="3257"/> - <details key="line" value="60"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/defaultInitializer/%/%/%/%.3"> - <details key="start" value="3257"/> - <details key="end" value="3360"/> - <details key="line" value="60"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/defaultInitializer/%/%/%/%.3/%"> - <details key="start" value="3317"/> - <details key="end" value="3321"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/defaultInitializer/%/%/%/%.3/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/defaultInitializer/%/%/%/%.3/%.1"> - <details key="start" value="3323"/> - <details key="end" value="3324"/> - <details key="line" value="61"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/defaultInitializer/%/%/%/%.3/%.2"> - <details key="start" value="3325"/> - <details key="end" value="3351"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/defaultInitializer/%/%/%/%.3/%.2/%"> - <details key="start" value="3325"/> - <details key="end" value="3337"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/defaultInitializer/%/%/%/%.3/%.2/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/defaultInitializer/%/%/%/%.3/%.3"> - <details key="start" value="3353"/> - <details key="end" value="3354"/> - <details key="line" value="61"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/defaultInitializer/%/%/%/%.3/a"> - <details key="start" value="3263"/> - <details key="end" value="3275"/> - <details key="line" value="60"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/defaultInitializer/%/%/%/%.3/attributeList"> - <details key="start" value="3278"/> - <details key="end" value="3291"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/defaultInitializer/%/%/%/%.3/%.4"> - <details key="start" value="3303"/> - <details key="end" value="3307"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/defaultInitializer/%/%/%/%.4"> - <details key="start" value="3360"/> - <details key="end" value="3364"/> - <details key="line" value="61"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/defaultInitializer/%/%/%/%.5"> - <details key="start" value="3199"/> - <details key="end" value="3227"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/defaultInitializer/%/%/%/%.5/%"> - <details key="start" value="3203"/> - <details key="end" value="3227"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/defaultInitializer/%/%/%/%.5/%/attributeList"> - <details key="start" value="3203"/> - <details key="end" value="3216"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/defaultInitializer/%/%/attributeList"> - <details key="start" value="3028"/> - <details key="end" value="3189"/> - <details key="line" value="55"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/defaultInitializer/%/%/attributeList/select"> - <details key="start" value="3068"/> - <details key="end" value="3190"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/defaultInitializer/%/%/attributeList/select/%"> - <details key="start" value="3068"/> - <details key="end" value="3077"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/defaultInitializer/%/%/attributeList/select/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/defaultInitializer/%/%/attributeList/select/%.1"> - <details key="start" value="3093"/> - <details key="end" value="3189"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%"> - <details key="start" value="3093"/> - <details key="end" value="3143"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%"> - <details key="start" value="3093"/> - <details key="end" value="3111"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%/%"> - <details key="start" value="3094"/> - <details key="end" value="3102"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%/%/temp1"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%/%.1"> - <details key="start" value="3105"/> - <details key="end" value="3110"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%.1"> - <details key="start" value="3121"/> - <details key="end" value="3143"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%.1/%"> - <details key="start" value="3122"/> - <details key="end" value="3134"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%.1/%/temp1"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%/%.1/%.1"> - <details key="start" value="3138"/> - <details key="end" value="3142"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%.1"> - <details key="start" value="3153"/> - <details key="end" value="3189"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%.1/%"> - <details key="start" value="3154"/> - <details key="end" value="3180"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%.1/%/%"> - <details key="start" value="3154"/> - <details key="end" value="3166"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%.1/%/%/temp1"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/defaultInitializer/%/%/attributeList/select/%.1/%.1/%.1"> - <details key="start" value="3184"/> - <details key="end" value="3188"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/defaultInitializer/%/%/attributeList/select/temp1"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/defaultInitializer/%/%.1"> - <details key="start" value="2952"/> - <details key="end" value="3017"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.66" references="/0/defaultInitializer/%/%.1/any"> - <details key="start" value="2952"/> - <details key="end" value="3010"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.67" references="/0/defaultInitializer/%/%.1/any/%"> - <details key="start" value="2952"/> - <details key="end" value="2972"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.68" references="/0/defaultInitializer/%/%.1/any/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.69" references="/0/defaultInitializer/%/%.1/any/%.1"> - <details key="start" value="2978"/> - <details key="end" value="3009"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.70" references="/0/defaultInitializer/%/%.1/any/%.1/temp1"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.71" references="/0/defaultInitializer/%/%.1/any/%.1/%"> - <details key="start" value="2992"/> - <details key="end" value="3008"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.72" references="/0/defaultInitializer/%/%.1/any/temp2"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.73" references="/0/defaultInitializer/%/%.1/%"> - <details key="start" value="3013"/> - <details key="end" value="3017"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.74" references="/0/defaultInitializer/classifier"> - <details key="start" value="1883"/> - <details key="end" value="1906"/> - <details key="line" value="35"/> - </eAnnotations> - <eAnnotations source="positions.75" references="/0/defaultInitializer/%.1"> - <details key="start" value="1913"/> - <details key="end" value="1919"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.76" references="/0/defaultInitializer/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.77" references="/0/CppClassHeader"> - <details key="start" value="3400"/> - <details key="end" value="5608"/> - <details key="line" value="67"/> - </eAnnotations> - <eAnnotations source="positions.78" references="/0/CppClassHeader/%"> - <details key="start" value="3453"/> - <details key="end" value="3461"/> - <details key="line" value="68"/> - </eAnnotations> - <eAnnotations source="positions.79" references="/0/CppClassHeader/%.1"> - <details key="start" value="3462"/> - <details key="end" value="3477"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.80" references="/0/CppClassHeader/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.81" references="/0/CppClassHeader/%.2"> - <details key="start" value="3479"/> - <details key="end" value="3490"/> - <details key="line" value="68"/> - </eAnnotations> - <eAnnotations source="positions.82" references="/0/CppClassHeader/%.3"> - <details key="start" value="3491"/> - <details key="end" value="3506"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.83" references="/0/CppClassHeader/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.84" references="/0/CppClassHeader/%.4"> - <details key="start" value="3508"/> - <details key="end" value="3588"/> - <details key="line" value="69"/> - </eAnnotations> - <eAnnotations source="positions.85" references="/0/CppClassHeader/%.5"> - <details key="start" value="3589"/> - <details key="end" value="3599"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.86" references="/0/CppClassHeader/%.5/class"> - <details key="start" value="3589"/> - <details key="end" value="3594"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.87" references="/0/CppClassHeader/%.6"> - <details key="start" value="3601"/> - <details key="end" value="3679"/> - <details key="line" value="72"/> - </eAnnotations> - <eAnnotations source="positions.88" references="/0/CppClassHeader/%.7"> - <details key="start" value="3679"/> - <details key="end" value="3856"/> - <details key="line" value="75"/> - </eAnnotations> - <eAnnotations source="positions.89" references="/0/CppClassHeader/%.7/%"> - <details key="start" value="3824"/> - <details key="end" value="3847"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.90" references="/0/CppClassHeader/%.7/%/path"> - <details key="start" value="3824"/> - <details key="end" value="3828"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.91" references="/0/CppClassHeader/%.7/%.1"> - <details key="start" value="3849"/> - <details key="end" value="3850"/> - <details key="line" value="81"/> - </eAnnotations> - <eAnnotations source="positions.92" references="/0/CppClassHeader/%.7/path"> - <details key="start" value="3685"/> - <details key="end" value="3698"/> - <details key="line" value="75"/> - </eAnnotations> - <eAnnotations source="positions.93" references="/0/CppClassHeader/%.7/%.2"> - <details key="start" value="3702"/> - <details key="end" value="3820"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.94" references="/0/CppClassHeader/%.7/%.2/%"> - <details key="start" value="3702"/> - <details key="end" value="3801"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.95" references="/0/CppClassHeader/%.7/%.2/%/%"> - <details key="start" value="3702"/> - <details key="end" value="3787"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.96" references="/0/CppClassHeader/%.7/%.2/%/%/%"> - <details key="start" value="3702"/> - <details key="end" value="3751"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.97" references="/0/CppClassHeader/%.7/%.2/%/%/%/%/%"> - <details key="start" value="3712"/> - <details key="end" value="3749"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.98" references="/0/CppClassHeader/%.7/%.2/%/%/%/%/%/%"> - <details key="start" value="3712"/> - <details key="end" value="3720"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.99" references="/0/CppClassHeader/%.7/%.2/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.100" references="/0/CppClassHeader/%.7/%.2/%/%/%.1"> - <details key="start" value="3764"/> - <details key="end" value="3785"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.101" references="/0/CppClassHeader/%.7/%.2/%/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.102" references="/0/CppClassHeader/%.8"> - <details key="start" value="3857"/> - <details key="end" value="3858"/> - <details key="line" value="82"/> - </eAnnotations> - <eAnnotations source="positions.103" references="/0/CppClassHeader/%.9"> - <details key="start" value="3859"/> - <details key="end" value="3877"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.104" references="/0/CppClassHeader/%.9/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.105" references="/0/CppClassHeader/%.10"> - <details key="start" value="3879"/> - <details key="end" value="3881"/> - <details key="line" value="84"/> - </eAnnotations> - <eAnnotations source="positions.106" references="/0/CppClassHeader/%.11"> - <details key="start" value="3882"/> - <details key="end" value="3890"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.107" references="/0/CppClassHeader/%.11/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.108" references="/0/CppClassHeader/%.12"> - <details key="start" value="3892"/> - <details key="end" value="3958"/> - <details key="line" value="85"/> - </eAnnotations> - <eAnnotations source="positions.109" references="/0/CppClassHeader/%.13"> - <details key="start" value="3959"/> - <details key="end" value="3974"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.110" references="/0/CppClassHeader/%.13/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.111" references="/0/CppClassHeader/%.14"> - <details key="start" value="3976"/> - <details key="end" value="3977"/> - <details key="line" value="89"/> - </eAnnotations> - <eAnnotations source="positions.112" references="/0/CppClassHeader/%.15"> - <details key="start" value="3978"/> - <details key="end" value="3997"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.113" references="/0/CppClassHeader/%.15/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.114" references="/0/CppClassHeader/%.16"> - <details key="start" value="4000"/> - <details key="end" value="4020"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.115" references="/0/CppClassHeader/%.16/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.116" references="/0/CppClassHeader/%.17"> - <details key="start" value="4022"/> - <details key="end" value="4023"/> - <details key="line" value="89"/> - </eAnnotations> - <eAnnotations source="positions.117" references="/0/CppClassHeader/%.18"> - <details key="start" value="4024"/> - <details key="end" value="4034"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.118" references="/0/CppClassHeader/%.18/class"> - <details key="start" value="4024"/> - <details key="end" value="4029"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.119" references="/0/CppClassHeader/%.19"> - <details key="start" value="4037"/> - <details key="end" value="4068"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.120" references="/0/CppClassHeader/%.19/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.121" references="/0/CppClassHeader/%.20"> - <details key="start" value="4070"/> - <details key="end" value="4073"/> - <details key="line" value="89"/> - </eAnnotations> - <eAnnotations source="positions.122" references="/0/CppClassHeader/%.21"> - <details key="start" value="4074"/> - <details key="end" value="4108"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.123" references="/0/CppClassHeader/%.21/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.124" references="/0/CppClassHeader/%.22"> - <details key="start" value="4111"/> - <details key="end" value="4132"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.125" references="/0/CppClassHeader/%.22/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.126" references="/0/CppClassHeader/%.23"> - <details key="start" value="4134"/> - <details key="end" value="4139"/> - <details key="line" value="91"/> - </eAnnotations> - <eAnnotations source="positions.127" references="/0/CppClassHeader/%.24"> - <details key="start" value="4140"/> - <details key="end" value="4195"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.128" references="/0/CppClassHeader/%.24/%"> - <details key="start" value="4140"/> - <details key="end" value="4162"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.129" references="/0/CppClassHeader/%.24/%.1"> - <details key="start" value="4174"/> - <details key="end" value="4194"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.130" references="/0/CppClassHeader/%.24/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.131" references="/0/CppClassHeader/%.25"> - <details key="start" value="4197"/> - <details key="end" value="4202"/> - <details key="line" value="92"/> - </eAnnotations> - <eAnnotations source="positions.132" references="/0/CppClassHeader/%.26"> - <details key="start" value="4203"/> - <details key="end" value="4291"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.133" references="/0/CppClassHeader/%.26/%"> - <details key="start" value="4203"/> - <details key="end" value="4225"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.134" references="/0/CppClassHeader/%.26/%.1"> - <details key="start" value="4237"/> - <details key="end" value="4290"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.135" references="/0/CppClassHeader/%.26/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.136" references="/0/CppClassHeader/%.26/%.1/%"> - <details key="start" value="4267"/> - <details key="end" value="4289"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.137" references="/0/CppClassHeader/%.27"> - <details key="start" value="4293"/> - <details key="end" value="4298"/> - <details key="line" value="93"/> - </eAnnotations> - <eAnnotations source="positions.138" references="/0/CppClassHeader/%.28"> - <details key="start" value="4299"/> - <details key="end" value="4387"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.139" references="/0/CppClassHeader/%.28/%"> - <details key="start" value="4299"/> - <details key="end" value="4321"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.140" references="/0/CppClassHeader/%.28/%.1"> - <details key="start" value="4333"/> - <details key="end" value="4386"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.141" references="/0/CppClassHeader/%.28/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.142" references="/0/CppClassHeader/%.28/%.1/%"> - <details key="start" value="4363"/> - <details key="end" value="4385"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.143" references="/0/CppClassHeader/%.29"> - <details key="start" value="4389"/> - <details key="end" value="4395"/> - <details key="line" value="94"/> - </eAnnotations> - <eAnnotations source="positions.144" references="/0/CppClassHeader/%.30"> - <details key="start" value="4396"/> - <details key="end" value="4490"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.145" references="/0/CppClassHeader/%.30/%"> - <details key="start" value="4396"/> - <details key="end" value="4421"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.146" references="/0/CppClassHeader/%.30/%.1"> - <details key="start" value="4433"/> - <details key="end" value="4489"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.147" references="/0/CppClassHeader/%.30/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.148" references="/0/CppClassHeader/%.30/%.1/%"> - <details key="start" value="4463"/> - <details key="end" value="4488"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.149" references="/0/CppClassHeader/%.31"> - <details key="start" value="4492"/> - <details key="end" value="4497"/> - <details key="line" value="96"/> - </eAnnotations> - <eAnnotations source="positions.150" references="/0/CppClassHeader/%.32"> - <details key="start" value="4498"/> - <details key="end" value="4592"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.151" references="/0/CppClassHeader/%.32/%"> - <details key="start" value="4498"/> - <details key="end" value="4523"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.152" references="/0/CppClassHeader/%.32/%.1"> - <details key="start" value="4535"/> - <details key="end" value="4591"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.153" references="/0/CppClassHeader/%.32/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.154" references="/0/CppClassHeader/%.32/%.1/%"> - <details key="start" value="4565"/> - <details key="end" value="4590"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.155" references="/0/CppClassHeader/%.33"> - <details key="start" value="4594"/> - <details key="end" value="4600"/> - <details key="line" value="97"/> - </eAnnotations> - <eAnnotations source="positions.156" references="/0/CppClassHeader/%.34"> - <details key="start" value="4601"/> - <details key="end" value="4691"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.157" references="/0/CppClassHeader/%.34/%"> - <details key="start" value="4601"/> - <details key="end" value="4624"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.158" references="/0/CppClassHeader/%.34/%.1"> - <details key="start" value="4636"/> - <details key="end" value="4690"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.159" references="/0/CppClassHeader/%.34/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.160" references="/0/CppClassHeader/%.34/%.1/%"> - <details key="start" value="4666"/> - <details key="end" value="4689"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.161" references="/0/CppClassHeader/%.35"> - <details key="start" value="4693"/> - <details key="end" value="4698"/> - <details key="line" value="99"/> - </eAnnotations> - <eAnnotations source="positions.162" references="/0/CppClassHeader/%.36"> - <details key="start" value="4699"/> - <details key="end" value="4789"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.163" references="/0/CppClassHeader/%.36/%"> - <details key="start" value="4699"/> - <details key="end" value="4722"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.164" references="/0/CppClassHeader/%.36/%.1"> - <details key="start" value="4734"/> - <details key="end" value="4788"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.165" references="/0/CppClassHeader/%.36/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.166" references="/0/CppClassHeader/%.36/%.1/%"> - <details key="start" value="4764"/> - <details key="end" value="4787"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.167" references="/0/CppClassHeader/%.37"> - <details key="start" value="4791"/> - <details key="end" value="4921"/> - <details key="line" value="100"/> - </eAnnotations> - <eAnnotations source="positions.168" references="/0/CppClassHeader/%.38"> - <details key="start" value="4922"/> - <details key="end" value="4977"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.169" references="/0/CppClassHeader/%.38/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.170" references="/0/CppClassHeader/%.38/%"> - <details key="start" value="4952"/> - <details key="end" value="4976"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.171" references="/0/CppClassHeader/%.39"> - <details key="start" value="4979"/> - <details key="end" value="4980"/> - <details key="line" value="104"/> - </eAnnotations> - <eAnnotations source="positions.172" references="/0/CppClassHeader/%.40"> - <details key="start" value="4981"/> - <details key="end" value="5036"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.173" references="/0/CppClassHeader/%.40/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.174" references="/0/CppClassHeader/%.40/%"> - <details key="start" value="5011"/> - <details key="end" value="5035"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.175" references="/0/CppClassHeader/%.41"> - <details key="start" value="5038"/> - <details key="end" value="5103"/> - <details key="line" value="105"/> - </eAnnotations> - <eAnnotations source="positions.176" references="/0/CppClassHeader/%.42"> - <details key="start" value="5103"/> - <details key="end" value="5295"/> - <details key="line" value="107"/> - </eAnnotations> - <eAnnotations source="positions.177" references="/0/CppClassHeader/%.42/%"> - <details key="start" value="5121"/> - <details key="end" value="5247"/> - <details key="line" value="108"/> - </eAnnotations> - <eAnnotations source="positions.178" references="/0/CppClassHeader/%.42/%.1"> - <details key="start" value="5248"/> - <details key="end" value="5287"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.179" references="/0/CppClassHeader/%.42/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.180" references="/0/CppClassHeader/%.42/%.1/%"> - <details key="start" value="5281"/> - <details key="end" value="5286"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.181" references="/0/CppClassHeader/%.42/%.2"> - <details key="start" value="5289"/> - <details key="end" value="5290"/> - <details key="line" value="111"/> - </eAnnotations> - <eAnnotations source="positions.182" references="/0/CppClassHeader/%.42/%.3"> - <details key="start" value="5107"/> - <details key="end" value="5119"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.183" references="/0/CppClassHeader/%.42/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.184" references="/0/CppClassHeader/%.43"> - <details key="start" value="5296"/> - <details key="end" value="5360"/> - <details key="line" value="112"/> - </eAnnotations> - <eAnnotations source="positions.185" references="/0/CppClassHeader/%.44"> - <details key="start" value="5361"/> - <details key="end" value="5399"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.186" references="/0/CppClassHeader/%.44/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.187" references="/0/CppClassHeader/%.44/%"> - <details key="start" value="5394"/> - <details key="end" value="5398"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.188" references="/0/CppClassHeader/%.45"> - <details key="start" value="5401"/> - <details key="end" value="5402"/> - <details key="line" value="115"/> - </eAnnotations> - <eAnnotations source="positions.189" references="/0/CppClassHeader/%.46"> - <details key="start" value="5403"/> - <details key="end" value="5412"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.190" references="/0/CppClassHeader/%.46/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.191" references="/0/CppClassHeader/%.47"> - <details key="start" value="5414"/> - <details key="end" value="5499"/> - <details key="line" value="116"/> - </eAnnotations> - <eAnnotations source="positions.192" references="/0/CppClassHeader/%.48"> - <details key="start" value="5500"/> - <details key="end" value="5510"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.193" references="/0/CppClassHeader/%.48/class"> - <details key="start" value="5500"/> - <details key="end" value="5505"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.194" references="/0/CppClassHeader/%.49"> - <details key="start" value="5512"/> - <details key="end" value="5596"/> - <details key="line" value="118"/> - </eAnnotations> - <eAnnotations source="positions.195" references="/0/CppClassHeader/class"> - <details key="start" value="3432"/> - <details key="end" value="3450"/> - <details key="line" value="67"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.mtl deleted file mode 100644 index b89a0c84e7e..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppClassHeader.mtl +++ /dev/null @@ -1,122 +0,0 @@ -[module CppClassHeader('http://www.eclipse.org/uml2/5.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1', 'http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::ClassUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassTypeAndEnum/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassFriendDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassInheritedDeclarations/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassAttributesDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassOperationsDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassOperationsImplementation/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::operation::CppOperations/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppTemplates/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation/] - -[template public classUnionOrStruct(classifier : Classifier)] -[if (hasStereotype(C_Cpp::Union))] - 'union' -[else] - [if (oclIsKindOf(DataType))] - [VisibilityKind::public.resetVisibility()/] - struct - [else] - [VisibilityKind::private.resetVisibility()/] - class - [/if] -[/if] -[/template] - -[comment default initializer for non-static attributes with a default value -TODO: should be disabled by default, since non-static members can be initialized directly -in C++ 011/] -[template public defaultInitializer(classifier : Classifier) post(trim())] -[comment -Bug 422373: The default initializer should not be generated if there are any user-defined - constructors. In plain C++ code, the existence of a constructor with parameters - means that the compiler will not synthesize a default one. - - E.g., this would be invalid in plain C++ code: - class T1 { }; - class T2 { public: T(int); }; - T1 * t1 = new T1; // OK, sythesized default constructor used - T2 * t2a = new T2(5); // OK, user-defined constructor used - T2 * t2b = new T2; // ERROR, default constructor was not synthesized - - Also, if the user has provided a default constructor in the code, we don't need - to generate a second copy here. A default constructor should only be generated - here if the compiler would have synthesized one anyhow. Otherwise the default - property values should be set in the constructors that are generated by - CppClassOperationsDeclaration. -/] -[if getOwnedOperations()->any(hasStereotype(standard::Create)) = null] - [let attributeList : OrderedSet(Property) = attribute->select( - (isStatic = false) and - (defaultValue <> null) and - (defaultValue.stringValue() <> null))] - [if not attributeList->isEmpty()] - [classifier.name/]() : [for (a : Property | attributeList) separator(', ') - ][name/]([defaultValue.stringValue()/])[/for] {} - [/if][/let] -[/if] -[/template] - - -[template public CppClassHeader(class : Classifier)] -#ifndef [getFullNameUC()/]_H -#define [getFullNameUC()/]_H - -/************************************************************ - [class.name/] class header - ************************************************************/ - -[for (path : String | - Sequence{ _package.cppOwnerPackageIncludePath() } - ->addAll( CppClassAllIncludes() ) - ->flatten() - ->asOrderedSet())] -[path.IncludeDirective()/] -[/for] - -[CppIncludeHeader()/] - -[openNS()/] - -/************************************************************/ -[CppElementDoc()/] -[templateSignature()/][classUnionOrStruct()/] [class.name/][CppClassInheritedDeclarations()/] { -[CppClassIncludeFriendDeclaration()/][CppClassTypeAndEnum()/] - [VisibilityKind::public.getSection(defaultInitializer())/] - [VisibilityKind::public.getSection(CppClassAttributesDeclaration(VisibilityKind::public))/] - [VisibilityKind::public.getSection(CppClassOperationsDeclaration(VisibilityKind::public))/] - - [VisibilityKind::protected.getSection(CppClassAttributesDeclaration(VisibilityKind::protected))/] - [VisibilityKind::protected.getSection(CppClassOperationsDeclaration(VisibilityKind::protected))/] - - [VisibilityKind::private.getSection(CppClassAttributesDeclaration(VisibilityKind::private))/] - [VisibilityKind::private.getSection(CppClassOperationsDeclaration(VisibilityKind::private))/] -}; -/************************************************************/ -/* External declarations (package visibility) */ -[CppClassAttributesDeclaration(VisibilityKind::_package)/] -[CppClassOperationsDeclaration(VisibilityKind::_package)/] -/************************************************************/ - -[if isTemplate()] -/************************************************************/ -/* Template functions */ -[CppClassOperationsImplementation(false)/] -[/if] - -/* Inline functions */ -[CppClassOperationsImplementation(true)/] -[closeNS()/] - -/************************************************************ - End of [class.name/] class header - ************************************************************/ - -#endif -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.emtl deleted file mode 100644 index b32aedf7db3..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.emtl +++ /dev/null @@ -1,1253 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppIncludeUtils" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils" startHeaderPosition="29" endHeaderPosition="185"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <input> - <takesTypesFrom href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="Constants.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppIncludeHeader" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeHeaderStart"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/cleanCR"/> - <argument xsi:type="ocl.ecore:VariableExp" name="header" referredVariable="/0/CppIncludeHeader/%/%/header"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeHeaderEnd"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/12"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="header" referredVariable="/0/CppIncludeHeader/%/%/header"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/%3C%3E"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - <source xsi:type="ocl.ecore:VariableExp" name="header" referredVariable="/0/CppIncludeHeader/%/%/header"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/size"/> - </source> - <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="0"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer_Class/%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <letVariable name="header"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <initExpression xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include/header"/> - </initExpression> - </letVariable> - </body> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </ifExpr> - </body> - <parameter name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppIncludeBody" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeBodyStart"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/20"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/cleanCR"/> - <argument xsi:type="ocl.ecore:VariableExp" name="_body" referredVariable="/0/CppIncludeBody/%/%/_body"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludeBodyEnd"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/22"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="_body" referredVariable="/0/CppIncludeBody/%/%/_body"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/%3C%3E"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - <source xsi:type="ocl.ecore:VariableExp" name="_body" referredVariable="/0/CppIncludeBody/%/%/_body"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/size"/> - </source> - <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="0"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer_Class/%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <letVariable name="_body"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <initExpression xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/18"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include/body"/> - </initExpression> - </letVariable> - </body> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/17"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </ifExpr> - </body> - <parameter name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppIncludePreBody" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:LetBlock"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludePreBodyStart"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/30"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/cleanCR"/> - <argument xsi:type="ocl.ecore:VariableExp" name="preBody" referredVariable="/0/CppIncludePreBody/%/%/preBody"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/constIncludePreBodyEnd"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/32"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="preBody" referredVariable="/0/CppIncludePreBody/%/%/preBody"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/%3C%3E"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - <source xsi:type="ocl.ecore:VariableExp" name="preBody" referredVariable="/0/CppIncludePreBody/%/%/preBody"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/size"/> - </source> - <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="0"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer_Class/%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <letVariable name="preBody"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <initExpression xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/28"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include/preBody"/> - </initExpression> - </letVariable> - </body> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/27"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/6/Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </argument> - </ifExpr> - </body> - <parameter name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="IncludeDirective" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#include ""/> - <body xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/IncludeDirective/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=""
"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/IncludeDirective/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/%3C%3E"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - <source xsi:type="ocl.ecore:VariableExp" name="path" referredVariable="/0/IncludeDirective/path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String_Class/size"/> - </source> - <argument xsi:type="ocl.ecore:IntegerLiteralExp" integerSymbol="0"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer_Class/%3E"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <parameter name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppIncludeHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppIncludeHeader"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludeBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppIncludeBody"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludePreBody"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppIncludePreBody"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/IncludeDirective"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="hasStereotype"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="definition"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="getApplication"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="arg1"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="cleanCR"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/cleanCR"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="str"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeHeaderStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeHeaderStart"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludePreBodyStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludePreBodyStart"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludePreBodyEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludePreBodyEnd"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeBodyStart"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeBodyStart"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeHeaderEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeHeaderEnd"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constIncludeBodyEnd"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/constIncludeBodyEnd"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Include"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Include"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppIncludeHeader"> - <details key="start" value="255"/> - <details key="end" value="584"/> - <details key="line" value="6"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppIncludeHeader/%"> - <details key="start" value="309"/> - <details key="end" value="572"/> - <details key="line" value="7"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppIncludeHeader/%/%"> - <details key="start" value="346"/> - <details key="end" value="567"/> - <details key="line" value="8"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppIncludeHeader/%/%/%"> - <details key="start" value="434"/> - <details key="end" value="561"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppIncludeHeader/%/%/%/%"> - <details key="start" value="481"/> - <details key="end" value="506"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppIncludeHeader/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppIncludeHeader/%/%/%/%.1"> - <details key="start" value="508"/> - <details key="end" value="509"/> - <details key="line" value="11"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppIncludeHeader/%/%/%/%.2"> - <details key="start" value="510"/> - <details key="end" value="526"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppIncludeHeader/%/%/%/%.2/header"> - <details key="start" value="510"/> - <details key="end" value="516"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppIncludeHeader/%/%/%/%.3"> - <details key="start" value="528"/> - <details key="end" value="529"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppIncludeHeader/%/%/%/%.4"> - <details key="start" value="530"/> - <details key="end" value="553"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppIncludeHeader/%/%/%/%.4/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppIncludeHeader/%/%/%/%.5"> - <details key="start" value="555"/> - <details key="end" value="556"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppIncludeHeader/%/%/%/%.6"> - <details key="start" value="438"/> - <details key="end" value="478"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppIncludeHeader/%/%/%/%.6/%"> - <details key="start" value="438"/> - <details key="end" value="454"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppIncludeHeader/%/%/%/%.6/%/header"> - <details key="start" value="439"/> - <details key="end" value="445"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppIncludeHeader/%/%/%/%.6/%/%"> - <details key="start" value="449"/> - <details key="end" value="453"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppIncludeHeader/%/%/%/%.6/%.1"> - <details key="start" value="459"/> - <details key="end" value="478"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppIncludeHeader/%/%/%/%.6/%.1/%"> - <details key="start" value="460"/> - <details key="end" value="473"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppIncludeHeader/%/%/%/%.6/%.1/%/header"> - <details key="start" value="460"/> - <details key="end" value="466"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppIncludeHeader/%/%/%/%.6/%.1/%.1"> - <details key="start" value="476"/> - <details key="end" value="477"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppIncludeHeader/%/%/header"> - <details key="start" value="351"/> - <details key="end" value="432"/> - <details key="line" value="8"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppIncludeHeader/%/%/header/%"> - <details key="start" value="370"/> - <details key="end" value="433"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppIncludeHeader/%/%/header/%/%"> - <details key="start" value="370"/> - <details key="end" value="426"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppIncludeHeader/%/%/header/%/%/%"> - <details key="start" value="370"/> - <details key="end" value="400"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppIncludeHeader/%/%/header/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppIncludeHeader/%/%/header/%/%/%/%"> - <details key="start" value="385"/> - <details key="end" value="399"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppIncludeHeader/%/%/header/%/%/%.1"> - <details key="start" value="411"/> - <details key="end" value="425"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppIncludeHeader/%/%.1"> - <details key="start" value="313"/> - <details key="end" value="344"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppIncludeHeader/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppIncludeHeader/%/%.1/%"> - <details key="start" value="328"/> - <details key="end" value="342"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppIncludeHeader/ne"> - <details key="start" value="289"/> - <details key="end" value="306"/> - <details key="line" value="6"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppIncludeBody"> - <details key="start" value="586"/> - <details key="end" value="904"/> - <details key="line" value="16"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppIncludeBody/%"> - <details key="start" value="638"/> - <details key="end" value="892"/> - <details key="line" value="17"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppIncludeBody/%/%"> - <details key="start" value="675"/> - <details key="end" value="887"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppIncludeBody/%/%/%"> - <details key="start" value="761"/> - <details key="end" value="881"/> - <details key="line" value="19"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppIncludeBody/%/%/%/%"> - <details key="start" value="806"/> - <details key="end" value="829"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppIncludeBody/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppIncludeBody/%/%/%/%.1"> - <details key="start" value="831"/> - <details key="end" value="832"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppIncludeBody/%/%/%/%.2"> - <details key="start" value="833"/> - <details key="end" value="848"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppIncludeBody/%/%/%/%.2/_body"> - <details key="start" value="833"/> - <details key="end" value="838"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppIncludeBody/%/%/%/%.3"> - <details key="start" value="850"/> - <details key="end" value="851"/> - <details key="line" value="22"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppIncludeBody/%/%/%/%.4"> - <details key="start" value="852"/> - <details key="end" value="873"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppIncludeBody/%/%/%/%.4/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppIncludeBody/%/%/%/%.5"> - <details key="start" value="875"/> - <details key="end" value="876"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppIncludeBody/%/%/%/%.6"> - <details key="start" value="765"/> - <details key="end" value="803"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppIncludeBody/%/%/%/%.6/%"> - <details key="start" value="765"/> - <details key="end" value="780"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppIncludeBody/%/%/%/%.6/%/_body"> - <details key="start" value="766"/> - <details key="end" value="771"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppIncludeBody/%/%/%/%.6/%/%"> - <details key="start" value="775"/> - <details key="end" value="779"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppIncludeBody/%/%/%/%.6/%.1"> - <details key="start" value="785"/> - <details key="end" value="803"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppIncludeBody/%/%/%/%.6/%.1/%"> - <details key="start" value="786"/> - <details key="end" value="798"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppIncludeBody/%/%/%/%.6/%.1/%/_body"> - <details key="start" value="786"/> - <details key="end" value="791"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppIncludeBody/%/%/%/%.6/%.1/%.1"> - <details key="start" value="801"/> - <details key="end" value="802"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/CppIncludeBody/%/%/_body"> - <details key="start" value="680"/> - <details key="end" value="759"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/CppIncludeBody/%/%/_body/%"> - <details key="start" value="698"/> - <details key="end" value="760"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/CppIncludeBody/%/%/_body/%/%"> - <details key="start" value="698"/> - <details key="end" value="754"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/CppIncludeBody/%/%/_body/%/%/%"> - <details key="start" value="698"/> - <details key="end" value="728"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/CppIncludeBody/%/%/_body/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/CppIncludeBody/%/%/_body/%/%/%/%"> - <details key="start" value="713"/> - <details key="end" value="727"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/CppIncludeBody/%/%/_body/%/%/%.1"> - <details key="start" value="739"/> - <details key="end" value="753"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/CppIncludeBody/%/%.1"> - <details key="start" value="642"/> - <details key="end" value="673"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/CppIncludeBody/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/CppIncludeBody/%/%.1/%"> - <details key="start" value="657"/> - <details key="end" value="671"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/CppIncludeBody/ne"> - <details key="start" value="618"/> - <details key="end" value="635"/> - <details key="line" value="16"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/CppIncludePreBody"> - <details key="start" value="906"/> - <details key="end" value="1243"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/CppIncludePreBody/%"> - <details key="start" value="961"/> - <details key="end" value="1231"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.66" references="/0/CppIncludePreBody/%/%"> - <details key="start" value="998"/> - <details key="end" value="1226"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.67" references="/0/CppIncludePreBody/%/%/%"> - <details key="start" value="1088"/> - <details key="end" value="1220"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.68" references="/0/CppIncludePreBody/%/%/%/%"> - <details key="start" value="1137"/> - <details key="end" value="1163"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.69" references="/0/CppIncludePreBody/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.70" references="/0/CppIncludePreBody/%/%/%/%.1"> - <details key="start" value="1165"/> - <details key="end" value="1166"/> - <details key="line" value="31"/> - </eAnnotations> - <eAnnotations source="positions.71" references="/0/CppIncludePreBody/%/%/%/%.2"> - <details key="start" value="1167"/> - <details key="end" value="1184"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.72" references="/0/CppIncludePreBody/%/%/%/%.2/preBody"> - <details key="start" value="1167"/> - <details key="end" value="1174"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.73" references="/0/CppIncludePreBody/%/%/%/%.3"> - <details key="start" value="1186"/> - <details key="end" value="1187"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.74" references="/0/CppIncludePreBody/%/%/%/%.4"> - <details key="start" value="1188"/> - <details key="end" value="1212"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.75" references="/0/CppIncludePreBody/%/%/%/%.4/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.76" references="/0/CppIncludePreBody/%/%/%/%.5"> - <details key="start" value="1214"/> - <details key="end" value="1215"/> - <details key="line" value="33"/> - </eAnnotations> - <eAnnotations source="positions.77" references="/0/CppIncludePreBody/%/%/%/%.6"> - <details key="start" value="1092"/> - <details key="end" value="1134"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.78" references="/0/CppIncludePreBody/%/%/%/%.6/%"> - <details key="start" value="1092"/> - <details key="end" value="1109"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.79" references="/0/CppIncludePreBody/%/%/%/%.6/%/preBody"> - <details key="start" value="1093"/> - <details key="end" value="1100"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.80" references="/0/CppIncludePreBody/%/%/%/%.6/%/%"> - <details key="start" value="1104"/> - <details key="end" value="1108"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.81" references="/0/CppIncludePreBody/%/%/%/%.6/%.1"> - <details key="start" value="1114"/> - <details key="end" value="1134"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.82" references="/0/CppIncludePreBody/%/%/%/%.6/%.1/%"> - <details key="start" value="1115"/> - <details key="end" value="1129"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.83" references="/0/CppIncludePreBody/%/%/%/%.6/%.1/%/preBody"> - <details key="start" value="1115"/> - <details key="end" value="1122"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.84" references="/0/CppIncludePreBody/%/%/%/%.6/%.1/%.1"> - <details key="start" value="1132"/> - <details key="end" value="1133"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.85" references="/0/CppIncludePreBody/%/%/preBody"> - <details key="start" value="1003"/> - <details key="end" value="1086"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.86" references="/0/CppIncludePreBody/%/%/preBody/%"> - <details key="start" value="1023"/> - <details key="end" value="1087"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.87" references="/0/CppIncludePreBody/%/%/preBody/%/%"> - <details key="start" value="1023"/> - <details key="end" value="1079"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.88" references="/0/CppIncludePreBody/%/%/preBody/%/%/%"> - <details key="start" value="1023"/> - <details key="end" value="1053"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.89" references="/0/CppIncludePreBody/%/%/preBody/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.90" references="/0/CppIncludePreBody/%/%/preBody/%/%/%/%"> - <details key="start" value="1038"/> - <details key="end" value="1052"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.91" references="/0/CppIncludePreBody/%/%/preBody/%/%/%.1"> - <details key="start" value="1064"/> - <details key="end" value="1078"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.92" references="/0/CppIncludePreBody/%/%.1"> - <details key="start" value="965"/> - <details key="end" value="996"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.93" references="/0/CppIncludePreBody/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.94" references="/0/CppIncludePreBody/%/%.1/%"> - <details key="start" value="980"/> - <details key="end" value="994"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.95" references="/0/CppIncludePreBody/ne"> - <details key="start" value="941"/> - <details key="end" value="958"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.96" references="/0/IncludeDirective"> - <details key="start" value="1245"/> - <details key="end" value="1373"/> - <details key="line" value="36"/> - </eAnnotations> - <eAnnotations source="positions.97" references="/0/IncludeDirective/%"> - <details key="start" value="1295"/> - <details key="end" value="1361"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.98" references="/0/IncludeDirective/%/%"> - <details key="start" value="1337"/> - <details key="end" value="1347"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.99" references="/0/IncludeDirective/%/path"> - <details key="start" value="1348"/> - <details key="end" value="1352"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.100" references="/0/IncludeDirective/%/%.1"> - <details key="start" value="1354"/> - <details key="end" value="1356"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.101" references="/0/IncludeDirective/%/%.2"> - <details key="start" value="1299"/> - <details key="end" value="1335"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.102" references="/0/IncludeDirective/%/%.2/%"> - <details key="start" value="1299"/> - <details key="end" value="1313"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.103" references="/0/IncludeDirective/%/%.2/%/path"> - <details key="start" value="1300"/> - <details key="end" value="1304"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.104" references="/0/IncludeDirective/%/%.2/%/%"> - <details key="start" value="1308"/> - <details key="end" value="1312"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.105" references="/0/IncludeDirective/%/%.2/%.1"> - <details key="start" value="1318"/> - <details key="end" value="1335"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.106" references="/0/IncludeDirective/%/%.2/%.1/%"> - <details key="start" value="1319"/> - <details key="end" value="1330"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.107" references="/0/IncludeDirective/%/%.2/%.1/%/path"> - <details key="start" value="1319"/> - <details key="end" value="1323"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.108" references="/0/IncludeDirective/%/%.2/%.1/%.1"> - <details key="start" value="1333"/> - <details key="end" value="1334"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.109" references="/0/IncludeDirective/path"> - <details key="start" value="1279"/> - <details key="end" value="1292"/> - <details key="line" value="36"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.mtl deleted file mode 100644 index 4c6f033928d..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppIncludeUtils.mtl +++ /dev/null @@ -1,40 +0,0 @@ -[comment encoding = UTF-8 /] -[module CppIncludeUtils('http://www.eclipse.org/uml2/5.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1')] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] - -[template public CppIncludeHeader(ne : NamedElement)] -[if (hasStereotype(C_Cpp::Include))] -[let header : String = getApplication(C_Cpp::Include).oclAsType(C_Cpp::Include).header] -[if (header <> null) and (header.size() > 0)] -[constIncludeHeaderStart()/] -[header.cleanCR()/] -[constIncludeHeaderEnd()/] -[/if][/let][/if] -[/template] - -[template public CppIncludeBody(ne : NamedElement)] -[if (hasStereotype(C_Cpp::Include))] -[let _body : String = getApplication(C_Cpp::Include).oclAsType(C_Cpp::Include)._body] -[if (_body <> null) and (_body.size() > 0)] -[constIncludeBodyStart()/] -[_body.cleanCR()/] -[constIncludeBodyEnd()/] -[/if][/let][/if] -[/template] - -[template public CppIncludePreBody(ne : NamedElement)] -[if (hasStereotype(C_Cpp::Include))] -[let preBody : String = getApplication(C_Cpp::Include).oclAsType(C_Cpp::Include).preBody] -[if (preBody <> null) and (preBody.size() > 0)] -[constIncludePreBodyStart()/] -[preBody.cleanCR()/] -[constIncludePreBodyEnd()/] -[/if][/let][/if] -[/template] - -[template public IncludeDirective(path : String)] -[if (path <> null) and (path.size() > 0)] -#include "[path/]" -[/if] -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.emtl deleted file mode 100644 index 55fc473da7a..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.emtl +++ /dev/null @@ -1,749 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppPackageHeader" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::CppPackageHeader" endHeaderPosition="65"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../utils/CppGenUtils.emtl#/0"/> - <imports href="../preferences/CppCodeGenUtils.emtl#/0"/> - <imports href="Constants.emtl#/0"/> - <imports href="CppIncludeUtils.emtl#/0"/> - <imports href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0"/> - <imports href="util/clazz/CppClassTypeAndEnum.emtl#/0"/> - <imports href="util/clazz/CppClassFriendDeclaration.emtl#/0"/> - <imports href="util/CppDocumentation.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppPackageHeader" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="#ifndef PKG_"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
#define PKG_"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

/************************************************************
 Pkg_"/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" package header
 ************************************************************/

"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/9"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestingPackage"/> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

#ifndef _IN_
#define _IN_
#endif
#ifndef _OUT_
#define _OUT_
#endif
#ifndef _INOUT_
#define _INOUT_
#endif

	
/* Package dependency header include */
"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - <argument xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/+"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/Pkg_"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="."> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <argument xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </argument> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <iterSet xsi:type="mtl:QueryInvocation" eType="/10/Sequence(Package)"> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getUsedPackages"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/11"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/16"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/openNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/17"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="Constants.emtl#/0/packageTypes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/18"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="util/clazz/CppClassTypeAndEnum.emtl#/0/CppClassTypeAndEnumPackage"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/19"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../utils/CppGenUtils.emtl#/0/closeNS"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/20"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

/************************************************************
 End of Pkg_"/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/21"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" package header
 ************************************************************/

#endif"/> - <parameter name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="+"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="other"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppPackageHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppPackageHeader"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="getFullNameUC"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullNameUC"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="getUsedPackages"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getUsedPackages"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:SequenceType" href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/3/Sequence(Package)"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="getFullPath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getFullPath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="openNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/openNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="closeNS"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../utils/CppGenUtils.emtl#/0/closeNS"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="getHeaderSuffix"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../preferences/CppCodeGenUtils.emtl#/0/getHeaderSuffix"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eOperations> - <eOperations name="packageTypes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="Constants.emtl#/0/packageTypes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="CppIncludeHeader"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/CppIncludeHeader"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="ne"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="IncludeDirective"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppIncludeUtils.emtl#/0/IncludeDirective"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="path"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="cppOwnerPackageIncludePath"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassIncludeClassDeclaration.emtl#/0/cppOwnerPackageIncludePath"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - <eOperations name="CppClassTypeAndEnumPackage"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="util/clazz/CppClassTypeAndEnum.emtl#/0/CppClassTypeAndEnumPackage"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="pkg"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Namespace_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(Package)" instanceClassName="java.util.List"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppPackageHeader"> - <details key="start" value="767"/> - <details key="end" value="1692"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppPackageHeader/%"> - <details key="start" value="817"/> - <details key="end" value="829"/> - <details key="line" value="16"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppPackageHeader/%.1"> - <details key="start" value="830"/> - <details key="end" value="845"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppPackageHeader/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppPackageHeader/%.2"> - <details key="start" value="847"/> - <details key="end" value="860"/> - <details key="line" value="17"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppPackageHeader/%.3"> - <details key="start" value="861"/> - <details key="end" value="876"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppPackageHeader/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppPackageHeader/%.4"> - <details key="start" value="878"/> - <details key="end" value="960"/> - <details key="line" value="18"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppPackageHeader/%.5"> - <details key="start" value="961"/> - <details key="end" value="965"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppPackageHeader/%.5/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppPackageHeader/%.6"> - <details key="start" value="967"/> - <details key="end" value="1047"/> - <details key="line" value="20"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppPackageHeader/%.7"> - <details key="start" value="1048"/> - <details key="end" value="1110"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppPackageHeader/%.7/%"> - <details key="start" value="1048"/> - <details key="end" value="1091"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppPackageHeader/%.7/%/%"> - <details key="start" value="1048"/> - <details key="end" value="1062"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppPackageHeader/%.7/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppPackageHeader/%.8"> - <details key="start" value="1112"/> - <details key="end" value="1287"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppPackageHeader/%.9"> - <details key="start" value="1287"/> - <details key="end" value="1399"/> - <details key="line" value="37"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppPackageHeader/%.9/%"> - <details key="start" value="1314"/> - <details key="end" value="1390"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppPackageHeader/%.9/%/%"> - <details key="start" value="1332"/> - <details key="end" value="1388"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppPackageHeader/%.9/%/%/%"> - <details key="start" value="1332"/> - <details key="end" value="1368"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppPackageHeader/%.9/%/%/%/%"> - <details key="start" value="1332"/> - <details key="end" value="1362"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppPackageHeader/%.9/%/%/%/%/%"> - <details key="start" value="1332"/> - <details key="end" value="1355"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppPackageHeader/%.9/%/%/%/%/%/%"> - <details key="start" value="1332"/> - <details key="end" value="1345"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppPackageHeader/%.9/%/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppPackageHeader/%.9/%/%/%/%/%/%.1"> - <details key="start" value="1348"/> - <details key="end" value="1355"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppPackageHeader/%.9/%/%/%/%/%.1"> - <details key="start" value="1358"/> - <details key="end" value="1362"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppPackageHeader/%.9/%/%/%/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppPackageHeader/%.9/%/%/%/%.1"> - <details key="start" value="1365"/> - <details key="end" value="1368"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppPackageHeader/%.9/%/%/%.1"> - <details key="start" value="1371"/> - <details key="end" value="1388"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppPackageHeader/%.9/%/%/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppPackageHeader/%.9/%.1"> - <details key="start" value="1392"/> - <details key="end" value="1393"/> - <details key="line" value="39"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppPackageHeader/%.9/%.2"> - <details key="start" value="1293"/> - <details key="end" value="1310"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppPackageHeader/%.9/%.2/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppPackageHeader/%.10"> - <details key="start" value="1400"/> - <details key="end" value="1401"/> - <details key="line" value="40"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppPackageHeader/%.11"> - <details key="start" value="1402"/> - <details key="end" value="1420"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppPackageHeader/%.11/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppPackageHeader/%.12"> - <details key="start" value="1422"/> - <details key="end" value="1424"/> - <details key="line" value="42"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppPackageHeader/%.13"> - <details key="start" value="1425"/> - <details key="end" value="1433"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppPackageHeader/%.13/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppPackageHeader/%.14"> - <details key="start" value="1435"/> - <details key="end" value="1436"/> - <details key="line" value="44"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppPackageHeader/%.15"> - <details key="start" value="1437"/> - <details key="end" value="1451"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppPackageHeader/%.15/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppPackageHeader/%.16"> - <details key="start" value="1453"/> - <details key="end" value="1454"/> - <details key="line" value="45"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppPackageHeader/%.17"> - <details key="start" value="1455"/> - <details key="end" value="1483"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppPackageHeader/%.17/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppPackageHeader/%.18"> - <details key="start" value="1485"/> - <details key="end" value="1486"/> - <details key="line" value="46"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppPackageHeader/%.19"> - <details key="start" value="1487"/> - <details key="end" value="1496"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppPackageHeader/%.19/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppPackageHeader/%.20"> - <details key="start" value="1498"/> - <details key="end" value="1587"/> - <details key="line" value="47"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppPackageHeader/%.21"> - <details key="start" value="1588"/> - <details key="end" value="1592"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppPackageHeader/%.21/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppPackageHeader/%.22"> - <details key="start" value="1594"/> - <details key="end" value="1680"/> - <details key="line" value="49"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppPackageHeader/pkg"> - <details key="start" value="801"/> - <details key="end" value="814"/> - <details key="line" value="15"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.mtl deleted file mode 100644 index cca687e2f9e..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/CppPackageHeader.mtl +++ /dev/null @@ -1,53 +0,0 @@ -[module CppPackageHeader('http://www.eclipse.org/uml2/5.0.0/UML')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::preferences::CppCodeGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::CppIncludeUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassIncludeClassDeclaration/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassTypeAndEnum/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::clazz::CppClassFriendDeclaration/] - - -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation/] - - -[template public CppPackageHeader(pkg : Package)] -#ifndef PKG_[getFullNameUC()/] -#define PKG_[getFullNameUC()/] - -/************************************************************ - Pkg_[name/] package header - ************************************************************/ - -[nestingPackage.cppOwnerPackageIncludePath().IncludeDirective()/] - -#ifndef _IN_ -#define _IN_ -#endif -#ifndef _OUT_ -#define _OUT_ -#endif -#ifndef _INOUT_ -#define _INOUT_ -#endif - - -/* Package dependency header include */ -[for (getUsedPackages())] -[IncludeDirective( getFullPath() + '/Pkg_' + name + '.' + getHeaderSuffix() )/] -[/for] - -[CppIncludeHeader()/] - -[openNS()/] -[packageTypes()/] -[CppClassTypeAndEnumPackage()/] -[closeNS()/] - -/************************************************************ - End of Pkg_[name/] package header - ************************************************************/ - -#endif -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.emtl deleted file mode 100644 index 03689dcf0f3..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.emtl +++ /dev/null @@ -1,1702 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppAttribute" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::util::CppAttribute" endHeaderPosition="103"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <input> - <takesTypesFrom href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../../utils/CppGenUtils.emtl#/0"/> - <imports href="../../utils/Modifier.emtl#/0"/> - <imports href="../Constants.emtl#/0"/> - <imports href="CppDocumentation.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="defaultValue" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" = "/> - <body xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/defaultValue/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/defaultValue"/> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification/stringValue"/> - </body> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//ValueSpecification"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/defaultValue"/> - </source> - <argument xsi:type="ocl.ecore:NullLiteralExp"> - <eType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/%3C%3E"/> - </source> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/7"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//Feature/isStatic"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <parameter name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="staticValue" visibility="Public"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="static "/> - <ifExpr xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/staticValue/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//Feature/isStatic"/> - </ifExpr> - </body> - <parameter name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppAttributeDeclaration" visibility="Public"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/18"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:TemplateInvocation" definition="/0/staticValue"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/19"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modCVQualifier"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/20"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/CppGenUtils.emtl#/0/cppQualifiedName"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppAttributeDeclaration/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TypedElement/type"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modPtr"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/22"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modRef"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/23"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppAttributeDeclaration/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modArray"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/25"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation" definition="/0/defaultValue"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/28"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/27"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Const"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Const"/> - </argument> - </ifExpr> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";"/> - <parameter name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppAttributeImplementation" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="	"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/33"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
	"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modCVQualifier"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/34"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/CppGenUtils.emtl#/0/cppQualifiedName"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppAttributeImplementation/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TypedElement/type"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modPtr"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/36"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modRef"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/37"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppAttributeImplementation/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modArray"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/39"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";"/> - <parameter name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppStaticAttributeImplementation" visibility="Public"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/44"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/CppGenUtils.emtl#/0/cppQualifiedName"/> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Type"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/45"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TypedElement/type"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modPtr"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/46"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modRef"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/47"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppStaticAttributeImplementation/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property/class"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="::"/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="attribute" referredVariable="/0/CppStaticAttributeImplementation/attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/Modifier.emtl#/0/modArray"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/50"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="mtl:TemplateInvocation" definition="/0/defaultValue"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/51"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";"/> - <parameter name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Comment"> - <body startPosition="1419" endPosition="1507" value="
return a list of owned attributes, since this is not supported directly on a classifier"/> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Query" name="getOwnedAttributes" visibility="Public" type="/3/Sequence(Property)"> - <parameter name="cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - <expression xsi:type="ocl.ecore:IfExp" eType="/3/Collection(Property)"> - <condition xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="cl" referredVariable="/0/getOwnedAttributes/cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Class"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclIsKindOf"/> - </condition> - <thenExpression xsi:type="ocl.ecore:PropertyCallExp" eType="/3/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/54"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Class"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//StructuredClassifier/ownedAttribute"/> - </thenExpression> - <elseExpression xsi:type="ocl.ecore:IfExp" eType="/3/Collection(Property)"> - <condition xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="cl" referredVariable="/0/getOwnedAttributes/cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/DataType"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclIsKindOf"/> - </condition> - <thenExpression xsi:type="ocl.ecore:PropertyCallExp" eType="/3/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/54"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/DataType"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType/ownedAttribute"/> - </thenExpression> - <elseExpression xsi:type="ocl.ecore:IfExp" eType="/3/Collection(Property)"> - <condition xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="cl" referredVariable="/0/getOwnedAttributes/cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Interface"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclIsKindOf"/> - </condition> - <thenExpression xsi:type="ocl.ecore:PropertyCallExp" eType="/3/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/54"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Interface"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface/ownedAttribute"/> - </thenExpression> - <elseExpression xsi:type="ocl.ecore:IfExp" eType="/3/Collection(Property)"> - <condition xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="cl" referredVariable="/0/getOwnedAttributes/cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Signal"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Signal"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclIsKindOf"/> - </condition> - <thenExpression xsi:type="ocl.ecore:PropertyCallExp" eType="/3/OrderedSet(Property)"> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Signal"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/54"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Signal"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Signal"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Signal/ownedAttribute"/> - </thenExpression> - <elseExpression xsi:type="ocl.ecore:CollectionLiteralExp" eType="/3/Sequence(OclVoid)" kind="Sequence"/> - </elseExpression> - </elseExpression> - </elseExpression> - </expression> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Comment"> - <body startPosition="1964" endPosition="2103" value="
Loop over attributes. Check that the attribute is not a static const.
Constant static attributes are declared within the class declaration"/> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppStaticAttributes" visibility="Public"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../Constants.emtl#/0/constStaticAttributes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/59"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="mtl:TemplateInvocation" definition="/0/CppStaticAttributeImplementation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/63"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="

"/> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/62"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//Feature/isStatic"/> - </source> - <argument xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/62"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/26/Const"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Const"/> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/not"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/and"/> - </ifExpr> - </body> - <iterSet xsi:type="mtl:QueryInvocation" eType="/3/Sequence(Property)" definition="/0/getOwnedAttributes"> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/60"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </argument> - </iterSet> - </body> - <parameter name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="defaultValue"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/defaultValue"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eParameters> - </eOperations> - <eOperations name="staticValue"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/staticValue"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eParameters> - </eOperations> - <eOperations name="CppAttributeDeclaration"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppAttributeDeclaration"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eParameters> - </eOperations> - <eOperations name="CppAttributeImplementation"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppAttributeImplementation"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eParameters> - </eOperations> - <eOperations name="CppStaticAttributeImplementation"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppStaticAttributeImplementation"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="attribute"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eParameters> - </eOperations> - <eOperations name="getOwnedAttributes" eType="/3/Sequence(Property)"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/getOwnedAttributes"/> - <eParameters name="cl"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="CppStaticAttributes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppStaticAttributes"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="classifier"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eParameters> - </eOperations> - <eOperations name="hasStereotype"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="definition"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="cppQualifiedName"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/CppGenUtils.emtl#/0/cppQualifiedName"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eParameters> - </eOperations> - <eOperations name="modPtr"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/Modifier.emtl#/0/modPtr"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="propertyOrParameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="modRef"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/Modifier.emtl#/0/modRef"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="propertyOrParameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="modArray"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/Modifier.emtl#/0/modArray"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="propertyOrParameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="modCVQualifier"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/Modifier.emtl#/0/modCVQualifier"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="propertyOrParameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="constStaticAttributes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../Constants.emtl#/0/constStaticAttributes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="dummy"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="CppElementDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppDocumentation.emtl#/0/CppElementDoc"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Property_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(Property)" instanceClassName="java.util.List"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(Property)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:SequenceType" name="Sequence(OclVoid)" instanceClassName="java.util.List"> - <elementType xsi:type="ocl.ecore:VoidType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclVoid"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:CollectionType" name="Collection(Property)"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Const"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Const"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Class"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="DataType"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//DataType"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Interface"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Interface"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Signal"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Signal"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Property"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/defaultValue"> - <details key="start" value="433"/> - <details key="end" value="585"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/defaultValue/%"> - <details key="start" value="486"/> - <details key="end" value="573"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/defaultValue/%/%"> - <details key="start" value="526"/> - <details key="end" value="529"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/defaultValue/%/%.1"> - <details key="start" value="530"/> - <details key="end" value="566"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/defaultValue/%/%.1/%"> - <details key="start" value="530"/> - <details key="end" value="552"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/defaultValue/%/%.1/%/attribute"> - <details key="start" value="530"/> - <details key="end" value="539"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/defaultValue/%/%.2"> - <details key="start" value="490"/> - <details key="end" value="525"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/defaultValue/%/%.2/%"> - <details key="start" value="490"/> - <details key="end" value="512"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/defaultValue/%/%.2/%/%"> - <details key="start" value="491"/> - <details key="end" value="503"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/defaultValue/%/%.2/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/defaultValue/%/%.2/%/%.1"> - <details key="start" value="507"/> - <details key="end" value="511"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/defaultValue/%/%.2/%.1"> - <details key="start" value="517"/> - <details key="end" value="525"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/defaultValue/%/%.2/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/defaultValue/attribute"> - <details key="start" value="463"/> - <details key="end" value="483"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/staticValue"> - <details key="start" value="588"/> - <details key="end" value="689"/> - <details key="line" value="14"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/staticValue/%"> - <details key="start" value="640"/> - <details key="end" value="677"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/staticValue/%/%"> - <details key="start" value="665"/> - <details key="end" value="672"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/staticValue/%/%.1"> - <details key="start" value="644"/> - <details key="end" value="664"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/staticValue/%/%.1/attribute"> - <details key="start" value="645"/> - <details key="end" value="654"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/staticValue/attribute"> - <details key="start" value="617"/> - <details key="end" value="637"/> - <details key="line" value="14"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppAttributeDeclaration"> - <details key="start" value="692"/> - <details key="end" value="968"/> - <details key="line" value="19"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppAttributeDeclaration/%"> - <details key="start" value="757"/> - <details key="end" value="772"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppAttributeDeclaration/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppAttributeDeclaration/%.1"> - <details key="start" value="774"/> - <details key="end" value="775"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppAttributeDeclaration/%.2"> - <details key="start" value="776"/> - <details key="end" value="789"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppAttributeDeclaration/%.2/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppAttributeDeclaration/%.3"> - <details key="start" value="792"/> - <details key="end" value="808"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppAttributeDeclaration/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppAttributeDeclaration/%.4"> - <details key="start" value="811"/> - <details key="end" value="844"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppAttributeDeclaration/%.4/%"> - <details key="start" value="811"/> - <details key="end" value="825"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppAttributeDeclaration/%.4/%/attribute"> - <details key="start" value="811"/> - <details key="end" value="820"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppAttributeDeclaration/%.5"> - <details key="start" value="847"/> - <details key="end" value="855"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppAttributeDeclaration/%.5/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppAttributeDeclaration/%.6"> - <details key="start" value="858"/> - <details key="end" value="866"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppAttributeDeclaration/%.6/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppAttributeDeclaration/%.7"> - <details key="start" value="868"/> - <details key="end" value="869"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppAttributeDeclaration/%.8"> - <details key="start" value="870"/> - <details key="end" value="884"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppAttributeDeclaration/%.8/attribute"> - <details key="start" value="870"/> - <details key="end" value="879"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppAttributeDeclaration/%.9"> - <details key="start" value="887"/> - <details key="end" value="897"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppAttributeDeclaration/%.9/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppAttributeDeclaration/%.10"> - <details key="start" value="899"/> - <details key="end" value="955"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppAttributeDeclaration/%.10/%"> - <details key="start" value="934"/> - <details key="end" value="948"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppAttributeDeclaration/%.10/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppAttributeDeclaration/%.10/%.1"> - <details key="start" value="903"/> - <details key="end" value="932"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppAttributeDeclaration/%.10/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppAttributeDeclaration/%.10/%.1/%"> - <details key="start" value="918"/> - <details key="end" value="930"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppAttributeDeclaration/%.11"> - <details key="start" value="955"/> - <details key="end" value="956"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppAttributeDeclaration/attribute"> - <details key="start" value="733"/> - <details key="end" value="753"/> - <details key="line" value="19"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppAttributeImplementation"> - <details key="start" value="971"/> - <details key="end" value="1180"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppAttributeImplementation/%"> - <details key="start" value="1038"/> - <details key="end" value="1039"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.50" references="/0/CppAttributeImplementation/%.1"> - <details key="start" value="1040"/> - <details key="end" value="1055"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.51" references="/0/CppAttributeImplementation/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.52" references="/0/CppAttributeImplementation/%.2"> - <details key="start" value="1057"/> - <details key="end" value="1059"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.53" references="/0/CppAttributeImplementation/%.3"> - <details key="start" value="1060"/> - <details key="end" value="1076"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.54" references="/0/CppAttributeImplementation/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.55" references="/0/CppAttributeImplementation/%.4"> - <details key="start" value="1079"/> - <details key="end" value="1112"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.56" references="/0/CppAttributeImplementation/%.4/%"> - <details key="start" value="1079"/> - <details key="end" value="1093"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.57" references="/0/CppAttributeImplementation/%.4/%/attribute"> - <details key="start" value="1079"/> - <details key="end" value="1088"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.58" references="/0/CppAttributeImplementation/%.5"> - <details key="start" value="1115"/> - <details key="end" value="1123"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.59" references="/0/CppAttributeImplementation/%.5/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.60" references="/0/CppAttributeImplementation/%.6"> - <details key="start" value="1126"/> - <details key="end" value="1134"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.61" references="/0/CppAttributeImplementation/%.6/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.62" references="/0/CppAttributeImplementation/%.7"> - <details key="start" value="1136"/> - <details key="end" value="1137"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.63" references="/0/CppAttributeImplementation/%.8"> - <details key="start" value="1138"/> - <details key="end" value="1152"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.64" references="/0/CppAttributeImplementation/%.8/attribute"> - <details key="start" value="1138"/> - <details key="end" value="1147"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.65" references="/0/CppAttributeImplementation/%.9"> - <details key="start" value="1155"/> - <details key="end" value="1165"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.66" references="/0/CppAttributeImplementation/%.9/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.67" references="/0/CppAttributeImplementation/%.10"> - <details key="start" value="1167"/> - <details key="end" value="1168"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.68" references="/0/CppAttributeImplementation/attribute"> - <details key="start" value="1015"/> - <details key="end" value="1035"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.69" references="/0/CppStaticAttributeImplementation"> - <details key="start" value="1182"/> - <details key="end" value="1408"/> - <details key="line" value="30"/> - </eAnnotations> - <eAnnotations source="positions.70" references="/0/CppStaticAttributeImplementation/%"> - <details key="start" value="1256"/> - <details key="end" value="1271"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.71" references="/0/CppStaticAttributeImplementation/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.72" references="/0/CppStaticAttributeImplementation/%.1"> - <details key="start" value="1273"/> - <details key="end" value="1274"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.73" references="/0/CppStaticAttributeImplementation/%.2"> - <details key="start" value="1275"/> - <details key="end" value="1298"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.74" references="/0/CppStaticAttributeImplementation/%.2/%"> - <details key="start" value="1275"/> - <details key="end" value="1279"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.75" references="/0/CppStaticAttributeImplementation/%.2/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.76" references="/0/CppStaticAttributeImplementation/%.3"> - <details key="start" value="1301"/> - <details key="end" value="1309"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.77" references="/0/CppStaticAttributeImplementation/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.78" references="/0/CppStaticAttributeImplementation/%.4"> - <details key="start" value="1312"/> - <details key="end" value="1320"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.79" references="/0/CppStaticAttributeImplementation/%.4/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.80" references="/0/CppStaticAttributeImplementation/%.5"> - <details key="start" value="1322"/> - <details key="end" value="1323"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.81" references="/0/CppStaticAttributeImplementation/%.6"> - <details key="start" value="1324"/> - <details key="end" value="1344"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.82" references="/0/CppStaticAttributeImplementation/%.6/%"> - <details key="start" value="1324"/> - <details key="end" value="1339"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.83" references="/0/CppStaticAttributeImplementation/%.6/%/attribute"> - <details key="start" value="1324"/> - <details key="end" value="1333"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.84" references="/0/CppStaticAttributeImplementation/%.7"> - <details key="start" value="1346"/> - <details key="end" value="1348"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.85" references="/0/CppStaticAttributeImplementation/%.8"> - <details key="start" value="1349"/> - <details key="end" value="1363"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.86" references="/0/CppStaticAttributeImplementation/%.8/attribute"> - <details key="start" value="1349"/> - <details key="end" value="1358"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.87" references="/0/CppStaticAttributeImplementation/%.9"> - <details key="start" value="1366"/> - <details key="end" value="1376"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.88" references="/0/CppStaticAttributeImplementation/%.9/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.89" references="/0/CppStaticAttributeImplementation/%.10"> - <details key="start" value="1379"/> - <details key="end" value="1393"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.90" references="/0/CppStaticAttributeImplementation/%.10/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.91" references="/0/CppStaticAttributeImplementation/%.11"> - <details key="start" value="1395"/> - <details key="end" value="1396"/> - <details key="line" value="32"/> - </eAnnotations> - <eAnnotations source="positions.92" references="/0/CppStaticAttributeImplementation/attribute"> - <details key="start" value="1232"/> - <details key="end" value="1252"/> - <details key="line" value="30"/> - </eAnnotations> - <eAnnotations source="positions.93" references="/0/%"> - <details key="start" value="1411"/> - <details key="end" value="1509"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.94" references="/0/getOwnedAttributes"> - <details key="start" value="1510"/> - <details key="end" value="1953"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.95" references="/0/getOwnedAttributes/cl"> - <details key="start" value="1543"/> - <details key="end" value="1558"/> - <details key="line" value="38"/> - </eAnnotations> - <eAnnotations source="positions.96" references="/0/getOwnedAttributes/%"> - <details key="start" value="1584"/> - <details key="end" value="1950"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.97" references="/0/getOwnedAttributes/%/%"> - <details key="start" value="1587"/> - <details key="end" value="1608"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.98" references="/0/getOwnedAttributes/%/%/cl"> - <details key="start" value="1587"/> - <details key="end" value="1589"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.99" references="/0/getOwnedAttributes/%/%/%"> - <details key="start" value="1602"/> - <details key="end" value="1607"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.100" references="/0/getOwnedAttributes/%/%.1"> - <details key="start" value="1616"/> - <details key="end" value="1647"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.101" references="/0/getOwnedAttributes/%/%.1/%"> - <details key="start" value="1616"/> - <details key="end" value="1632"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.102" references="/0/getOwnedAttributes/%/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.103" references="/0/getOwnedAttributes/%/%.1/%/%"> - <details key="start" value="1626"/> - <details key="end" value="1631"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.104" references="/0/getOwnedAttributes/%/%.2"> - <details key="start" value="1656"/> - <details key="end" value="1943"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.105" references="/0/getOwnedAttributes/%/%.2/%"> - <details key="start" value="1659"/> - <details key="end" value="1683"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.106" references="/0/getOwnedAttributes/%/%.2/%/cl"> - <details key="start" value="1659"/> - <details key="end" value="1661"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.107" references="/0/getOwnedAttributes/%/%.2/%/%"> - <details key="start" value="1674"/> - <details key="end" value="1682"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.108" references="/0/getOwnedAttributes/%/%.2/%.1"> - <details key="start" value="1692"/> - <details key="end" value="1726"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.109" references="/0/getOwnedAttributes/%/%.2/%.1/%"> - <details key="start" value="1692"/> - <details key="end" value="1711"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.110" references="/0/getOwnedAttributes/%/%.2/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.111" references="/0/getOwnedAttributes/%/%.2/%.1/%/%"> - <details key="start" value="1702"/> - <details key="end" value="1710"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.112" references="/0/getOwnedAttributes/%/%.2/%.2"> - <details key="start" value="1737"/> - <details key="end" value="1935"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.113" references="/0/getOwnedAttributes/%/%.2/%.2/%"> - <details key="start" value="1740"/> - <details key="end" value="1765"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.114" references="/0/getOwnedAttributes/%/%.2/%.2/%/cl"> - <details key="start" value="1740"/> - <details key="end" value="1742"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.115" references="/0/getOwnedAttributes/%/%.2/%.2/%/%"> - <details key="start" value="1755"/> - <details key="end" value="1764"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.116" references="/0/getOwnedAttributes/%/%.2/%.2/%.1"> - <details key="start" value="1775"/> - <details key="end" value="1810"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.117" references="/0/getOwnedAttributes/%/%.2/%.2/%.1/%"> - <details key="start" value="1775"/> - <details key="end" value="1795"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.118" references="/0/getOwnedAttributes/%/%.2/%.2/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.119" references="/0/getOwnedAttributes/%/%.2/%.2/%.1/%/%"> - <details key="start" value="1785"/> - <details key="end" value="1794"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.120" references="/0/getOwnedAttributes/%/%.2/%.2/%.2"> - <details key="start" value="1823"/> - <details key="end" value="1926"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.121" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%"> - <details key="start" value="1826"/> - <details key="end" value="1848"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.122" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%/cl"> - <details key="start" value="1826"/> - <details key="end" value="1828"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.123" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%/%"> - <details key="start" value="1841"/> - <details key="end" value="1847"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.124" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%.1"> - <details key="start" value="1859"/> - <details key="end" value="1891"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.125" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%.1/%"> - <details key="start" value="1859"/> - <details key="end" value="1876"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.126" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.127" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%.1/%/%"> - <details key="start" value="1869"/> - <details key="end" value="1875"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.128" references="/0/getOwnedAttributes/%/%.2/%.2/%.2/%.2"> - <details key="start" value="1906"/> - <details key="end" value="1916"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.129" references="/0/%.1"> - <details key="start" value="1956"/> - <details key="end" value="2105"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.130" references="/0/CppStaticAttributes"> - <details key="start" value="2107"/> - <details key="end" value="2344"/> - <details key="line" value="62"/> - </eAnnotations> - <eAnnotations source="positions.131" references="/0/CppStaticAttributes/%"> - <details key="start" value="2171"/> - <details key="end" value="2194"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.132" references="/0/CppStaticAttributes/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.133" references="/0/CppStaticAttributes/%.1"> - <details key="start" value="2196"/> - <details key="end" value="2197"/> - <details key="line" value="64"/> - </eAnnotations> - <eAnnotations source="positions.134" references="/0/CppStaticAttributes/%.2"> - <details key="start" value="2197"/> - <details key="end" value="2332"/> - <details key="line" value="64"/> - </eAnnotations> - <eAnnotations source="positions.135" references="/0/CppStaticAttributes/%.2/%"> - <details key="start" value="2227"/> - <details key="end" value="2325"/> - <details key="line" value="65"/> - </eAnnotations> - <eAnnotations source="positions.136" references="/0/CppStaticAttributes/%.2/%/%"> - <details key="start" value="2281"/> - <details key="end" value="2315"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.137" references="/0/CppStaticAttributes/%.2/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.138" references="/0/CppStaticAttributes/%.2/%/%.1"> - <details key="start" value="2317"/> - <details key="end" value="2319"/> - <details key="line" value="67"/> - </eAnnotations> - <eAnnotations source="positions.139" references="/0/CppStaticAttributes/%.2/%/%.2"> - <details key="start" value="2230"/> - <details key="end" value="2278"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.140" references="/0/CppStaticAttributes/%.2/%/%.2/%"> - <details key="start" value="2231"/> - <details key="end" value="2239"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.141" references="/0/CppStaticAttributes/%.2/%/%.2/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.142" references="/0/CppStaticAttributes/%.2/%/%.2/%.1"> - <details key="start" value="2244"/> - <details key="end" value="2277"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.143" references="/0/CppStaticAttributes/%.2/%/%.2/%.1/%"> - <details key="start" value="2249"/> - <details key="end" value="2276"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.144" references="/0/CppStaticAttributes/%.2/%/%.2/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.145" references="/0/CppStaticAttributes/%.2/%/%.2/%.1/%/%"> - <details key="start" value="2263"/> - <details key="end" value="2275"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.146" references="/0/CppStaticAttributes/%.2/%.1"> - <details key="start" value="2203"/> - <details key="end" value="2223"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.147" references="/0/CppStaticAttributes/%.2/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.148" references="/0/CppStaticAttributes/classifier"> - <details key="start" value="2144"/> - <details key="end" value="2167"/> - <details key="line" value="62"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.mtl deleted file mode 100644 index d94e14d709b..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppAttribute.mtl +++ /dev/null @@ -1,71 +0,0 @@ -[module CppAttribute('http://www.eclipse.org/uml2/5.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::CppGenUtils/] -[import org::eclipse::papyrus::cpp::codegen::utils::Modifier/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::Constants/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation/] - - -[template public defaultValue(attribute : Property)] -[if (defaultValue <> null) and isStatic] = [attribute.defaultValue.stringValue()/][/if] -[/template] - - -[template public staticValue(attribute : Property)] -[if (attribute.isStatic)]static [/if] -[/template] - - -[template public CppAttributeDeclaration(attribute : Property)] -[CppElementDoc()/] -[staticValue()/][modCVQualifier()/][attribute.type.cppQualifiedName()/][modPtr()/][modRef()/] [attribute.name/][modArray()/][if (hasStereotype(C_Cpp::Const))][defaultValue()/][/if]; -[/template] - - -[template public CppAttributeImplementation(attribute : Property)] - [CppElementDoc()/] - [modCVQualifier()/][attribute.type.cppQualifiedName()/][modPtr()/][modRef()/] [attribute.name/][modArray()/]; -[/template] - -[template public CppStaticAttributeImplementation(attribute : Property)] -[CppElementDoc()/] -[type.cppQualifiedName()/][modPtr()/][modRef()/] [attribute.class.name/]::[attribute.name/][modArray()/][defaultValue()/]; -[/template] - - -[comment -return a list of owned attributes, since this is not supported directly on a classifier/] -[query public getOwnedAttributes(cl : Classifier) : Sequence(Property) = - if cl.oclIsKindOf(Class) then - oclAsType(Class).ownedAttribute - else - if cl.oclIsKindOf(DataType) then - oclAsType(DataType).ownedAttribute - else - if cl.oclIsKindOf(Interface) then - oclAsType(Interface).ownedAttribute - else - if cl.oclIsKindOf(Signal) then - oclAsType(Signal).ownedAttribute - else - Sequence{} - endif - endif - endif - endif -/] - - -[comment -Loop over attributes. Check that the attribute is not a static const. -Constant static attributes are declared within the class declaration/] -[template public CppStaticAttributes(classifier : Classifier)] -[constStaticAttributes()/] -[for (getOwnedAttributes())] - [if(isStatic and (not hasStereotype(C_Cpp::Const)))] -[CppStaticAttributeImplementation()/] - - [/if] -[/for] -[/template] - diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.emtl deleted file mode 100644 index 6dad5303306..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.emtl +++ /dev/null @@ -1,645 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppDocumentation" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation" endHeaderPosition="65"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppElementDoc" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/**
 * "/> - <body xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/replaceAll"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getComments"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 */"/> - <parameter name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppOperationDoc" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/**
 * "/> - <body xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/replaceAll"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getComments"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/11"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation" definition="/0/CppParamDoc"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/15"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </argument> - </body> - <iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/12/OrderedSet(Parameter)"> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/13"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioralFeature/ownedParameter"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 */"/> - <parameter name="operation"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppBehaviorDoc" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="/**
 * "/> - <body xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/replaceAll"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getComments"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/22"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="mtl:TemplateInvocation" definition="/0/CppParamDoc"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/25"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </argument> - </body> - <iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/12/OrderedSet(Parameter)"> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/23"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior/ownedParameter"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 */"/> - <parameter name="behavior"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </parameter> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppParamDoc" visibility="Public"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="@param "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/32"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/replaceAll"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getComments"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/33"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
 * "> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </body> - <parameter name="parameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="replaceAll"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="substring"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - <eParameters name="replacement"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppElementDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppElementDoc"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - <eOperations name="CppOperationDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppOperationDoc"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="operation"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eParameters> - </eOperations> - <eOperations name="CppBehaviorDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppBehaviorDoc"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="behavior"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eParameters> - </eOperations> - <eOperations name="CppParamDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppParamDoc"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="parameter"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eParameters> - </eOperations> - <eOperations name="getComments"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getComments"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(Parameter)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppElementDoc"> - <details key="start" value="121"/> - <details key="end" value="238"/> - <details key="line" value="5"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppElementDoc/%"> - <details key="start" value="173"/> - <details key="end" value="180"/> - <details key="line" value="6"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppElementDoc/%.1"> - <details key="start" value="181"/> - <details key="end" value="220"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppElementDoc/%.1/%"> - <details key="start" value="181"/> - <details key="end" value="194"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppElementDoc/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppElementDoc/%.1/%.1"> - <details key="start" value="206"/> - <details key="end" value="210"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppElementDoc/%.1/%.2"> - <details key="start" value="212"/> - <details key="end" value="219"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppElementDoc/%.2"> - <details key="start" value="222"/> - <details key="end" value="226"/> - <details key="line" value="8"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppElementDoc/argument"> - <details key="start" value="152"/> - <details key="end" value="170"/> - <details key="line" value="5"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppOperationDoc"> - <details key="start" value="241"/> - <details key="end" value="411"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppOperationDoc/%"> - <details key="start" value="298"/> - <details key="end" value="305"/> - <details key="line" value="13"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppOperationDoc/%.1"> - <details key="start" value="306"/> - <details key="end" value="345"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppOperationDoc/%.1/%"> - <details key="start" value="306"/> - <details key="end" value="319"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppOperationDoc/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppOperationDoc/%.1/%.1"> - <details key="start" value="331"/> - <details key="end" value="335"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppOperationDoc/%.1/%.2"> - <details key="start" value="337"/> - <details key="end" value="344"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppOperationDoc/%.2"> - <details key="start" value="347"/> - <details key="end" value="351"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppOperationDoc/%.3"> - <details key="start" value="351"/> - <details key="end" value="395"/> - <details key="line" value="15"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppOperationDoc/%.3/%"> - <details key="start" value="374"/> - <details key="end" value="387"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppOperationDoc/%.3/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppOperationDoc/%.3/%.1"> - <details key="start" value="357"/> - <details key="end" value="371"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppOperationDoc/%.3/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppOperationDoc/%.4"> - <details key="start" value="395"/> - <details key="end" value="399"/> - <details key="line" value="16"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppOperationDoc/operation"> - <details key="start" value="274"/> - <details key="end" value="295"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppBehaviorDoc"> - <details key="start" value="414"/> - <details key="end" value="581"/> - <details key="line" value="20"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppBehaviorDoc/%"> - <details key="start" value="468"/> - <details key="end" value="475"/> - <details key="line" value="21"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppBehaviorDoc/%.1"> - <details key="start" value="476"/> - <details key="end" value="515"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppBehaviorDoc/%.1/%"> - <details key="start" value="476"/> - <details key="end" value="489"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppBehaviorDoc/%.1/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppBehaviorDoc/%.1/%.1"> - <details key="start" value="501"/> - <details key="end" value="505"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppBehaviorDoc/%.1/%.2"> - <details key="start" value="507"/> - <details key="end" value="514"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppBehaviorDoc/%.2"> - <details key="start" value="517"/> - <details key="end" value="521"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppBehaviorDoc/%.3"> - <details key="start" value="521"/> - <details key="end" value="565"/> - <details key="line" value="23"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppBehaviorDoc/%.3/%"> - <details key="start" value="544"/> - <details key="end" value="557"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppBehaviorDoc/%.3/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppBehaviorDoc/%.3/%.1"> - <details key="start" value="527"/> - <details key="end" value="541"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppBehaviorDoc/%.3/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppBehaviorDoc/%.4"> - <details key="start" value="565"/> - <details key="end" value="569"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppBehaviorDoc/behavior"> - <details key="start" value="446"/> - <details key="end" value="465"/> - <details key="line" value="20"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppParamDoc"> - <details key="start" value="584"/> - <details key="end" value="709"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppParamDoc/%"> - <details key="start" value="637"/> - <details key="end" value="644"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppParamDoc/%.1"> - <details key="start" value="645"/> - <details key="end" value="649"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppParamDoc/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.43" references="/0/CppParamDoc/%.2"> - <details key="start" value="651"/> - <details key="end" value="652"/> - <details key="line" value="29"/> - </eAnnotations> - <eAnnotations source="positions.44" references="/0/CppParamDoc/%.3"> - <details key="start" value="653"/> - <details key="end" value="695"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.45" references="/0/CppParamDoc/%.3/%"> - <details key="start" value="653"/> - <details key="end" value="666"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.46" references="/0/CppParamDoc/%.3/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.47" references="/0/CppParamDoc/%.3/%.1"> - <details key="start" value="678"/> - <details key="end" value="682"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.48" references="/0/CppParamDoc/%.3/%.2"> - <details key="start" value="684"/> - <details key="end" value="694"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.49" references="/0/CppParamDoc/parameter"> - <details key="start" value="613"/> - <details key="end" value="634"/> - <details key="line" value="28"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.mtl deleted file mode 100644 index c20f8ae17bf..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppDocumentation.mtl +++ /dev/null @@ -1,30 +0,0 @@ -[module CppDocumentation('http://www.eclipse.org/uml2/5.0.0/UML')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] - - -[template public CppElementDoc(argument : Element)] -/** - * [getComments().replaceAll('\n', '\n * ')/] - */ -[/template] - - -[template public CppOperationDoc(operation : Operation)] -/** - * [getComments().replaceAll('\n', '\n * ')/] - * [for (ownedParameter)][CppParamDoc()/][/for] - */ -[/template] - - -[template public CppBehaviorDoc(behavior : Behavior)] -/** - * [getComments().replaceAll('\n', '\n * ')/] - * [for (ownedParameter)][CppParamDoc()/][/for] - */ -[/template] - - -[template public CppParamDoc(parameter : Parameter)] -@param [name/] [getComments().replaceAll('\n', '\n * ')/] -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.emtl deleted file mode 100644 index 9e348de6a52..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.emtl +++ /dev/null @@ -1,450 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppEnumerations" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::util::CppEnumerations" endHeaderPosition="106"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <input> - <takesTypesFrom href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="CppDocumentation.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Template" name="CppEnumerationDefinition" visibility="Public"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
enum "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="enum" referredVariable="/0/CppEnumerationDefinition/enum"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" {
"/> - <body xsi:type="mtl:ForBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="	"/> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/11"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
	"/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/12"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" = "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//Integer"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/15"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/13/CppInit"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/13/CppInit"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit/value"/> - </body> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/14"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/13/CppInit"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit"/> - </argument> - </ifExpr> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=",
"/> - <iterSet xsi:type="ocl.ecore:PropertyCallExp" eType="/8/OrderedSet(EnumerationLiteral)"> - <source xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/9"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </source> - <referredProperty xsi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration/ownedLiteral"/> - </iterSet> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="};
"/> - <parameter name="enum"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppEnumerationDefinition"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppEnumerationDefinition"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="enum"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </eParameters> - </eOperations> - <eOperations name="hasStereotype"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="definition"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="getApplication"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="arg1"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="CppElementDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppDocumentation.emtl#/0/CppElementDoc"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Enumeration_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ecore:EPackage name="collections"> - <eClassifiers xsi:type="ocl.ecore:OrderedSetType" name="OrderedSet(EnumerationLiteral)" instanceClassName="java.util.LinkedHashSet"> - <elementType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="CppInit"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//CppInit"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//EnumerationLiteral"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Enumeration"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="i"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/CppEnumerationDefinition"> - <details key="start" value="240"/> - <details key="end" value="501"/> - <details key="line" value="5"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppEnumerationDefinition/%"> - <details key="start" value="304"/> - <details key="end" value="319"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppEnumerationDefinition/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppEnumerationDefinition/%.1"> - <details key="start" value="321"/> - <details key="end" value="327"/> - <details key="line" value="7"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppEnumerationDefinition/%.2"> - <details key="start" value="328"/> - <details key="end" value="337"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppEnumerationDefinition/%.2/enum"> - <details key="start" value="328"/> - <details key="end" value="332"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppEnumerationDefinition/%.3"> - <details key="start" value="339"/> - <details key="end" value="342"/> - <details key="line" value="7"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppEnumerationDefinition/%.4"> - <details key="start" value="342"/> - <details key="end" value="485"/> - <details key="line" value="8"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppEnumerationDefinition/%.4/%"> - <details key="start" value="363"/> - <details key="end" value="364"/> - <details key="line" value="9"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppEnumerationDefinition/%.4/%.1"> - <details key="start" value="365"/> - <details key="end" value="380"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppEnumerationDefinition/%.4/%.1/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppEnumerationDefinition/%.4/%.2"> - <details key="start" value="382"/> - <details key="end" value="384"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppEnumerationDefinition/%.4/%.3"> - <details key="start" value="385"/> - <details key="end" value="389"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppEnumerationDefinition/%.4/%.3/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppEnumerationDefinition/%.4/%.4"> - <details key="start" value="391"/> - <details key="end" value="477"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppEnumerationDefinition/%.4/%.4/%"> - <details key="start" value="418"/> - <details key="end" value="421"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppEnumerationDefinition/%.4/%.4/%.1"> - <details key="start" value="422"/> - <details key="end" value="470"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppEnumerationDefinition/%.4/%.4/%.1/%"> - <details key="start" value="422"/> - <details key="end" value="464"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppEnumerationDefinition/%.4/%.4/%.1/%/%"> - <details key="start" value="422"/> - <details key="end" value="445"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppEnumerationDefinition/%.4/%.4/%.1/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppEnumerationDefinition/%.4/%.4/%.1/%/%/%"> - <details key="start" value="437"/> - <details key="end" value="444"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppEnumerationDefinition/%.4/%.4/%.1/%/%.1"> - <details key="start" value="456"/> - <details key="end" value="463"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppEnumerationDefinition/%.4/%.4/%.2"> - <details key="start" value="395"/> - <details key="end" value="417"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppEnumerationDefinition/%.4/%.4/%.2/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppEnumerationDefinition/%.4/%.4/%.2/%"> - <details key="start" value="409"/> - <details key="end" value="416"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppEnumerationDefinition/%.4/%.5"> - <details key="start" value="477"/> - <details key="end" value="479"/> - <details key="line" value="10"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppEnumerationDefinition/%.4/%.6"> - <details key="start" value="348"/> - <details key="end" value="360"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppEnumerationDefinition/%.4/%.6/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppEnumerationDefinition/%.5"> - <details key="start" value="486"/> - <details key="end" value="489"/> - <details key="line" value="12"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppEnumerationDefinition/enum"> - <details key="start" value="282"/> - <details key="end" value="300"/> - <details key="line" value="5"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.mtl deleted file mode 100644 index f66666b9517..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppEnumerations.mtl +++ /dev/null @@ -1,14 +0,0 @@ -[module CppEnumerations('http://www.eclipse.org/uml2/5.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1')/] -[import org::eclipse::papyrus::acceleo::GenUtils/] -[import org::eclipse::papyrus::cpp::codegen::acceleo::util::CppDocumentation/] - -[template public CppEnumerationDefinition(enum : Enumeration)] -[CppElementDoc()/] -enum [enum.name/] { -[for (ownedLiteral)] - [CppElementDoc()/] - [name/][if hasStereotype(CppInit)] = [getApplication(CppInit).oclAsType(CppInit).value/][/if], -[/for] -}; - -[/template] diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.emtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.emtl deleted file mode 100644 index 14bdcb4745a..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.emtl +++ /dev/null @@ -1,584 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:mtl="http://www.eclipse.org/acceleo/mtl/3.0" xmlns:ocl.ecore="http://www.eclipse.org/ocl/1.1.0/Ecore"> - <mtl:Module name="CppPrimitiveTypes" nsURI="org::eclipse::papyrus::cpp::codegen::acceleo::util::CppPrimitiveTypes" endHeaderPosition="108"> - <input> - <takesTypesFrom href="http://www.eclipse.org/uml2/5.0.0/UML#/"/> - </input> - <input> - <takesTypesFrom href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> - </input> - <imports href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0"/> - <imports href="../../utils/CppGenUtils.emtl#/0"/> - <imports href="CppDocumentation.emtl#/0"/> - <ownedModuleElement xsi:type="mtl:Comment"> - <body startPosition="317" endPosition="1131" value="
 * Support two different kinds of primitive types
 * (1) those that are native types of the programming language such as long
 * For these, no additional definition has to be done and they should be referenced
 * with their name only
 * (2) those that correspond to a typedef (e.g. typedef long ErrorType). These require
 * a typedef definition within the package and need to be referenced with their
 * fully qualified name (e.g. MyPackage::ErrorType)
 * (3) Sometimes the name of the type defined by a typedef does not appear at the end, e.g.
 * when defining functionPointers such as "typedef int (*HandlerFct) (void*);"
 *	 (a function with a void* argument returning int)
 * Support this case via a specific 'typeName' constant that gets replaced by the name of the
 * type
 */
"/> - </ownedModuleElement> - <ownedModuleElement xsi:type="mtl:Template" name="CppPrimitiveTypeDefinition" visibility="Public"> - <body xsi:type="mtl:TemplateInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="CppDocumentation.emtl#/0/CppElementDoc"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/6"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="
"/> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="typedef "/> - <body xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/replaceAll"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/9"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef/definition"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/String"> - <referredType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="typeName"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <argument xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="primitiveType" referredVariable="/0/CppPrimitiveTypeDefinition/primitiveType"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </argument> - </body> - <body xsi:type="mtl:IfBlock"> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=" "/> - <body xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:VariableExp" name="primitiveType" referredVariable="/0/CppPrimitiveTypeDefinition/primitiveType"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/> - </body> - <ifExpr xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp" referredOperation="/1/String_Class/contains"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <source xsi:type="ocl.ecore:PropertyCallExp"> - <eType xsi:type="ecore:EDataType" href="platform:/resource/org.eclipse.papyrus.cpp.profile/profiles/types.ecore#//String"/> - <source xsi:type="ocl.ecore:OperationCallExp"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - <source xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/10"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </argument> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <referredProperty xsi:type="ecore:EAttribute" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef/definition"/> - </source> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/String"> - <referredType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny_Class/oclAsType"/> - </source> - <argument xsi:type="ocl.ecore:StringLiteralExp" stringSymbol="typeName"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </argument> - </source> - <referredOperation xsi:type="ecore:EOperation" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean_Class/not"/> - </ifExpr> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";
"/> - <ifExpr xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <definition href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - <argument xsi:type="ocl.ecore:VariableExp" name="self" referredVariable="/8"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </argument> - <argument xsi:type="ocl.ecore:TypeExp" eType="/7/Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </argument> - </ifExpr> - <else> - <body xsi:type="mtl:QueryInvocation"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <definition href="../../utils/CppGenUtils.emtl#/0/getStdtypes"/> - <argument xsi:type="ocl.ecore:VariableExp" name="primitiveType" referredVariable="/0/CppPrimitiveTypeDefinition/primitiveType"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </argument> - </body> - <body xsi:type="ocl.ecore:StringLiteralExp" stringSymbol=";
"/> - </else> - </body> - <parameter name="primitiveType"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </parameter> - </ownedModuleElement> - </mtl:Module> - <ecore:EPackage name="additions"> - <eClassifiers xsi:type="ecore:EClass" name="String_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eAnnotations> - <eOperations name="replaceAll"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="substring"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - <eParameters name="replacement"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - <eOperations name="contains"> - <eAnnotations source="MTL non-standard"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="substring"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Integer_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Integer"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Real_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Real"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="EObject_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </eAnnotations> - <eOperations name="CppPrimitiveTypeDefinition"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL" references="/0/CppPrimitiveTypeDefinition"/> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="primitiveType"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eParameters> - </eOperations> - <eOperations name="hasStereotype"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/hasStereotype.1"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Boolean"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="definition"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="getApplication"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="platform:/plugin/org.eclipse.papyrus.acceleo/org/eclipse/papyrus/acceleo/GenUtils.emtl#/0/getApplication"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - <eParameters name="arg1"> - <eType xsi:type="ocl.ecore:AnyType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eParameters> - </eOperations> - <eOperations name="getStdtypes"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="../../utils/CppGenUtils.emtl#/0/getStdtypes"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="arg0"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eParameters> - </eOperations> - <eOperations name="CppElementDoc"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <contents xsi:type="ocl.ecore:Constraint"/> - </eAnnotations> - <eAnnotations source="MTL"> - <references href="CppDocumentation.emtl#/0/CppElementDoc"/> - </eAnnotations> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - <eParameters name="argument"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eParameters> - </eOperations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OclAny_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OclAny"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Collection(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Collection(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Sequence(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/Sequence(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OrderedSet(T)_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/OrderedSet(T)"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="PrimitiveType_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Class_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Classifier_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Classifier"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="TemplateParameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//TemplateParameter"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="NamedElement_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Element_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Package_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Operation_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="OpaqueBehavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Behavior_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Behavior"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="VisibilityKind_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//VisibilityKind"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Parameter_Class"> - <eAnnotations source="http://www.eclipse.org/ocl/1.1.0/OCL"> - <references href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/> - </eAnnotations> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ecore:EPackage name="types"> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="Typedef"> - <referredType xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/C_Cpp/1#//Typedef"/> - </eClassifiers> - <eClassifiers xsi:type="ocl.ecore:TypeType" name="String"> - <referredType xsi:type="ocl.ecore:PrimitiveType" href="http://www.eclipse.org/ocl/1.1.0/oclstdlib.ecore#/0/String"/> - </eClassifiers> - </ecore:EPackage> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//PrimitiveType"/> - </ocl.ecore:Variable> - <ocl.ecore:Variable name="self"> - <eType xsi:type="ecore:EClass" href="http://www.eclipse.org/emf/2002/Ecore#//EObject"/> - </ocl.ecore:Variable> - <ecore:EAnnotation source="positions"> - <eAnnotations source="positions.0" references="/0/%"> - <details key="start" value="309"/> - <details key="end" value="1133"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.1" references="/0/CppPrimitiveTypeDefinition"> - <details key="start" value="1134"/> - <details key="end" value="1573"/> - <details key="line" value="22"/> - </eAnnotations> - <eAnnotations source="positions.2" references="/0/CppPrimitiveTypeDefinition/%"> - <details key="start" value="1211"/> - <details key="end" value="1226"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.3" references="/0/CppPrimitiveTypeDefinition/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.4" references="/0/CppPrimitiveTypeDefinition/%.1"> - <details key="start" value="1228"/> - <details key="end" value="1229"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.5" references="/0/CppPrimitiveTypeDefinition/%.2"> - <details key="start" value="1229"/> - <details key="end" value="1561"/> - <details key="line" value="24"/> - </eAnnotations> - <eAnnotations source="positions.6" references="/0/CppPrimitiveTypeDefinition/%.2/%"> - <details key="start" value="1259"/> - <details key="end" value="1267"/> - <details key="line" value="25"/> - </eAnnotations> - <eAnnotations source="positions.7" references="/0/CppPrimitiveTypeDefinition/%.2/%.1"> - <details key="start" value="1268"/> - <details key="end" value="1382"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.8" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%"> - <details key="start" value="1268"/> - <details key="end" value="1339"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.9" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%"> - <details key="start" value="1268"/> - <details key="end" value="1321"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.10" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%/%"> - <details key="start" value="1268"/> - <details key="end" value="1310"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.11" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%/%/%"> - <details key="start" value="1268"/> - <details key="end" value="1291"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.12" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.13" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%/%/%/%"> - <details key="start" value="1283"/> - <details key="end" value="1290"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.14" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%/%/%.1"> - <details key="start" value="1302"/> - <details key="end" value="1309"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.15" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%/%.1"> - <details key="start" value="1332"/> - <details key="end" value="1338"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.16" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%.1"> - <details key="start" value="1351"/> - <details key="end" value="1361"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.17" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%.2"> - <details key="start" value="1363"/> - <details key="end" value="1381"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.18" references="/0/CppPrimitiveTypeDefinition/%.2/%.1/%.2/primitiveType"> - <details key="start" value="1363"/> - <details key="end" value="1376"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.19" references="/0/CppPrimitiveTypeDefinition/%.2/%.2"> - <details key="start" value="1386"/> - <details key="end" value="1516"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.20" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%"> - <details key="start" value="1489"/> - <details key="end" value="1490"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.21" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.1"> - <details key="start" value="1491"/> - <details key="end" value="1509"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.22" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.1/primitiveType"> - <details key="start" value="1491"/> - <details key="end" value="1504"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.23" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2"> - <details key="start" value="1390"/> - <details key="end" value="1488"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.24" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%"> - <details key="start" value="1395"/> - <details key="end" value="1487"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.25" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%"> - <details key="start" value="1395"/> - <details key="end" value="1466"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.26" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%"> - <details key="start" value="1395"/> - <details key="end" value="1448"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.27" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%/%"> - <details key="start" value="1395"/> - <details key="end" value="1437"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.28" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%/%/%"> - <details key="start" value="1395"/> - <details key="end" value="1418"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.29" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%/%/%/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.30" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%/%/%/%"> - <details key="start" value="1410"/> - <details key="end" value="1417"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.31" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%/%/%.1"> - <details key="start" value="1429"/> - <details key="end" value="1436"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.32" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%/%.1"> - <details key="start" value="1459"/> - <details key="end" value="1465"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.33" references="/0/CppPrimitiveTypeDefinition/%.2/%.2/%.2/%/%.1"> - <details key="start" value="1476"/> - <details key="end" value="1486"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.34" references="/0/CppPrimitiveTypeDefinition/%.2/%.3"> - <details key="start" value="1516"/> - <details key="end" value="1518"/> - <details key="line" value="26"/> - </eAnnotations> - <eAnnotations source="positions.35" references="/0/CppPrimitiveTypeDefinition/%.2/%.4"> - <details key="start" value="1233"/> - <details key="end" value="1257"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.36" references="/0/CppPrimitiveTypeDefinition/%.2/%.4/self"> - <details key="start" value="-1"/> - <details key="end" value="-1"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.37" references="/0/CppPrimitiveTypeDefinition/%.2/%.4/%"> - <details key="start" value="1248"/> - <details key="end" value="1255"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.38" references="/0/CppPrimitiveTypeDefinition/%.2/%.5"> - <details key="start" value="1518"/> - <details key="end" value="1556"/> - <details key="line" value="27"/> - </eAnnotations> - <eAnnotations source="positions.39" references="/0/CppPrimitiveTypeDefinition/%.2/%.5/%"> - <details key="start" value="1526"/> - <details key="end" value="1552"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.40" references="/0/CppPrimitiveTypeDefinition/%.2/%.5/%/primitiveType"> - <details key="start" value="1538"/> - <details key="end" value="1551"/> - <details key="line" value="0"/> - </eAnnotations> - <eAnnotations source="positions.41" references="/0/CppPrimitiveTypeDefinition/%.2/%.5/%.1"> - <details key="start" value="1554"/> - <details key="end" value="1556"/> - <details key="line" value="28"/> - </eAnnotations> - <eAnnotations source="positions.42" references="/0/CppPrimitiveTypeDefinition/primitiveType"> - <details key="start" value="1178"/> - <details key="end" value="1207"/> - <details key="line" value="22"/> - </eAnnotations> - </ecore:EAnnotation> -</xmi:XMI> diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.mtl deleted file mode 100644 index 1450157608b..00000000000 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/CppPrimitiveTypes.mtl +++ /dev/null @@ -1,30 +0,0 @@ -[module CppPrimitiveTypes('http://www.eclipse.org/uml2/5.0.0/UML', 'http://www.eclipse.org/papyrus/C_Cpp/1')/] -[import o |