| <?xml version="1.0" encoding="UTF-8"?> |
| <xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:Alloc="http://www.eclipse.org/papyrus/Alloc/1" xmlns:C_Cpp="http://www.eclipse.org/papyrus/C_Cpp/1" xmlns:Cpp="http://papyrus/CppProfile/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/Alloc/1 http://www.eclipse.org/papyrus/MARTE/1#//Alloc"> |
| <uml:Model xmi:id="_Ae6MwPccEd-KM6l7lmIPkw" name="TestCCodeGen"> |
| <packageImport xmi:type="uml:PackageImport" xmi:id="_GQ1SgP6SEeKlg5tzGV3QVQ"> |
| <importedPackage xmi:type="uml:Model" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_DV8nkBv8EduZN5aJJITI5w"/> |
| </packageImport> |
| <packagedElement xmi:type="uml:Package" xmi:id="_wCdtcH_1EeGMcIDCiaPhww" name="implementation"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_13ZsYBhXEeKGC8dT0Hrc_A"/> |
| <packagedElement xmi:type="uml:Class" xmi:id="_KOvvIPccEd-KM6l7lmIPkw" name="Class0"> |
| <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_U_ezUMzYEeGcRfFFcVPhOg" name="operation1" specification="_mbXNMH8tEeGWNf8qHJJtnw"> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42nn4BoKEeKjbYasGOLMuA" name="Parameter1"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42o2ABoKEeKjbYasGOLMuA" name="Parameter2"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_5lVhgBydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42z1IBoKEeKjbYasGOLMuA" name="p3"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <language>C/C++</language> |
| <body></body> |
| </ownedBehavior> |
| <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_a9tFQMzYEeGcRfFFcVPhOg" name="operation2" specification="_XC6DoMzYEeGcRfFFcVPhOg"> |
| <language>C/C++</language> |
| <body>my Text</body> |
| </ownedBehavior> |
| <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_vZAVMBnOEeK5EK5DdRYilA" name="operation3" specification="_q1fIIBRnEeK2iINwXBL4pA"> |
| <language>C/C++</language> |
| <body></body> |
| </ownedBehavior> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_mbXNMH8tEeGWNf8qHJJtnw" name="operation1" method="_U_ezUMzYEeGcRfFFcVPhOg"> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42nA0BoKEeKjbYasGOLMuA" name="Parameter1"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42oO8BoKEeKjbYasGOLMuA" name="Parameter2"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_5lVhgBydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_42zOEBoKEeKjbYasGOLMuA" name="p3"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusCpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| </ownedOperation> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_XC6DoMzYEeGcRfFFcVPhOg" name="operation2" method="_a9tFQMzYEeGcRfFFcVPhOg"/> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_q1fIIBRnEeK2iINwXBL4pA" name="operation3" method="_vZAVMBnOEeK5EK5DdRYilA"/> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_BVivAB0LEeKlYLZOWTi6uw" name="Operation1"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Abstraction" xmi:id="_Edy9EBvREeKM2oNGoGF4uQ" name="Allocate1" client="_KOvvIPccEd-KM6l7lmIPkw" supplier="_mp8XAA7QEeKcN-88BXIIKg"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_mp8XAA7QEeKcN-88BXIIKg" name="Class1"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_9GkfABlDEeOWi_t2E10dLQ" name="i" visibility="public"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-8RcYBlDEeOWi_t2E10dLQ" value="1"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-8fe0BlDEeOWi_t2E10dLQ" value="1"/> |
| </ownedAttribute> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_777Q0BlDEeOWi_t2E10dLQ" name="Operation1"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_419y0A7hEeKpbseGaEy1LA" name="Class2"> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_pd7rgBlDEeOWi_t2E10dLQ" name="j" visibility="public"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_sa39wBlDEeOWi_t2E10dLQ" value="1"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_sbDj8BlDEeOWi_t2E10dLQ" value="1"/> |
| </ownedAttribute> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_tcJNgBlDEeOWi_t2E10dLQ" name="superClassOp"/> |
| </packagedElement> |
| <packagedElement xmi:type="uml:Class" xmi:id="_K8FLcB0LEeKlYLZOWTi6uw" name="Class3"> |
| <generalization xmi:type="uml:Generalization" xmi:id="_4rHc0BlCEeOWi_t2E10dLQ" general="_419y0A7hEeKpbseGaEy1LA"/> |
| <generalization xmi:type="uml:Generalization" xmi:id="_7AHv4BlDEeOWi_t2E10dLQ" general="_mp8XAA7QEeKcN-88BXIIKg"/> |
| <ownedAttribute xmi:type="uml:Property" xmi:id="_9vmDUBlCEeOWi_t2E10dLQ" name="ch" visibility="public"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_5lVhgBydEduyofBvg4RL2w"/> |
| <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Dd8GMBlDEeOWi_t2E10dLQ" value="1"/> |
| <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_DeDa8BlDEeOWi_t2E10dLQ" value="1"/> |
| <defaultValue xmi:type="uml:LiteralString" xmi:id="_DeUgsBlDEeOWi_t2E10dLQ" name="dgdf" value="25
"/> |
| </ownedAttribute> |
| <ownedBehavior xmi:type="uml:OpaqueBehavior" xmi:id="_kTVuwP6QEeKlg5tzGV3QVQ" name="Operation1" specification="_TY18YB0LEeKlYLZOWTi6uw" isReentrant="false"> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_Gz6-YC-bEeO2L7HZ7MAV3w" name="arg"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| <language>C/C++</language> |
| <body>// Now let's add some code |
| arg[0] = 1;</body> |
| </ownedBehavior> |
| <ownedOperation xmi:type="uml:Operation" xmi:id="_TY18YB0LEeKlYLZOWTi6uw" name="Operation1" method="_kTVuwP6QEeKlg5tzGV3QVQ"> |
| <ownedComment xmi:type="uml:Comment" xmi:id="_II4ccP6WEeKlg5tzGV3QVQ" annotatedElement="_II4ccP6WEeKlg5tzGV3QVQ"> |
| <body>Here you can document operation1</body> |
| </ownedComment> |
| <ownedParameter xmi:type="uml:Parameter" xmi:id="_Gz6XUC-bEeO2L7HZ7MAV3w" name="arg"> |
| <type xmi:type="uml:PrimitiveType" href="pathmap://PapyrusC_Cpp_LIBRARIES/AnsiCLibrary.uml#_7wRIABydEduyofBvg4RL2w"/> |
| </ownedParameter> |
| </ownedOperation> |
| </packagedElement> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_G5ec8CcLEeGC--E0ZVgUkg"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_G6JLUCcLEeGC--E0ZVgUkg" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/FCM/1#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://FCM_PROFILES/FCM.profile.uml#_5mvT0MtjEd2H_o0jIC6qDQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_VN5k0CcLEeGC--E0ZVgUkg"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VRMJYCcLEeGC--E0ZVgUkg" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//Alloc"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_ar8OsAPMEdyuUt-4qHuVvQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_WAm0ICcLEeGC--E0ZVgUkg"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_WDDEICcLEeGC--E0ZVgUkg" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HLAM"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_yNSZIAPMEdyuUt-4qHuVvQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_YgXbICcLEeGC--E0ZVgUkg"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Yi1gUCcLEeGC--E0ZVgUkg" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//GCM"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_YgAioAPMEdyuUt-4qHuVvQ"/> |
| </profileApplication> |
| <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_1PzP4P6QEeKlg5tzGV3QVQ"> |
| <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_1QM4gP6QEeKlg5tzGV3QVQ" source="http://www.eclipse.org/uml2/2.0.0/UML"> |
| <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/C_Cpp/1#/"/> |
| </eAnnotations> |
| <appliedProfile xmi:type="uml:Profile" href="pathmap://PapyrusC_Cpp_PROFILES/C_Cpp.profile.uml#_j9REUByGEduN1bTiWJ0lyw"/> |
| </profileApplication> |
| </uml:Model> |
| <Cpp:CppConst xmi:id="_1NjzwA1XEeK5O8LY525qvg"/> |
| <Cpp:CppPtr xmi:id="_1NpTUA1XEeK5O8LY525qvg"/> |
| <Cpp:CppConst xmi:id="_1O0_EA1XEeK5O8LY525qvg"/> |
| <Cpp:CppPtr xmi:id="_1O6eoA1XEeK5O8LY525qvg"/> |
| <Cpp:CppConst xmi:id="_LqnwQA4UEeK3V5UIs8bMtQ"/> |
| <Cpp:CppPtr xmi:id="_LqqMgA4UEeK3V5UIs8bMtQ"/> |
| <Cpp:CppConst xmi:id="_LqtP0A4UEeK3V5UIs8bMtQ"/> |
| <Cpp:CppPtr xmi:id="_LqvsEA4UEeK3V5UIs8bMtQ"/> |
| <Cpp:CppConst xmi:id="_cCEqYA4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppPtr xmi:id="_cCKxAA4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppConst xmi:id="_cClAsA4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppPtr xmi:id="_cCwm4A4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppConst xmi:id="_gKRO0A4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppPtr xmi:id="_gKUSIA4VEeKZ9ci_RaQQlQ"/> |
| <Cpp:CppInclude xmi:id="_GV9Q8BoCEeKjbYasGOLMuA" base_class="_KOvvIPccEd-KM6l7lmIPkw" preBody="#define xytz"/> |
| <Cpp:CppConst xmi:id="_sKD1sBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_sKHgEBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_sKO00BoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_sKSfMBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_3cU0IBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_3cYegBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_3cgaUBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_3ckEsBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_4alzMBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_4arSwBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_4a1q0BoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_4a6jUBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_42hhQBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_42lLoBoKEeKjbYasGOLMuA"/> |
| <Cpp:CppConst xmi:id="_42tHcBoKEeKjbYasGOLMuA" base_parameter="_42oO8BoKEeKjbYasGOLMuA"/> |
| <Cpp:CppPtr xmi:id="_42x_8BoKEeKjbYasGOLMuA" base_parameter="_42oO8BoKEeKjbYasGOLMuA"/> |
| <Alloc:Allocate xmi:id="_EpVesBvREeKM2oNGoGF4uQ" base_Abstraction="_Edy9EBvREeKM2oNGoGF4uQ"/> |
| <C_Cpp:Typedef xmi:id="_GSsl0C-JEeObJ6ARx67E0g" definition="int"> |
| <base_primitivetype xmi:type="uml:PrimitiveType" href="TestCDTintegration.uml#_DHJ24C-JEeObJ6ARx67E0g"/> |
| </C_Cpp:Typedef> |
| <C_Cpp:Array xmi:id="_Gz9aoC-bEeO2L7HZ7MAV3w" base_parameter="_Gz6XUC-bEeO2L7HZ7MAV3w" definition="[25]"/> |
| </xmi:XMI> |