1------------------------------------------------------------------------------ 2-- -- 3-- Matreshka Project -- 4-- -- 5-- Ada Modeling Framework -- 6-- -- 7-- Runtime Library Component -- 8-- -- 9------------------------------------------------------------------------------ 10-- -- 11-- Copyright © 2011-2012, Vadim Godunko <vgodunko@gmail.com> -- 12-- All rights reserved. -- 13-- -- 14-- Redistribution and use in source and binary forms, with or without -- 15-- modification, are permitted provided that the following conditions -- 16-- are met: -- 17-- -- 18-- * Redistributions of source code must retain the above copyright -- 19-- notice, this list of conditions and the following disclaimer. -- 20-- -- 21-- * Redistributions in binary form must reproduce the above copyright -- 22-- notice, this list of conditions and the following disclaimer in the -- 23-- documentation and/or other materials provided with the distribution. -- 24-- -- 25-- * Neither the name of the Vadim Godunko, IE nor the names of its -- 26-- contributors may be used to endorse or promote products derived from -- 27-- this software without specific prior written permission. -- 28-- -- 29-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -- 30-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -- 31-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -- 32-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -- 33-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -- 34-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -- 35-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -- 36-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -- 37-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -- 38-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -- 39-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- 40-- -- 41------------------------------------------------------------------------------ 42-- $Revision: 2928 $ $Date: 2012-05-01 12:43:19 +0400 (Tue, 01 May 2012) $ 43------------------------------------------------------------------------------ 44-- This file is generated, don't edit it. 45------------------------------------------------------------------------------ 46 47package body AMF.Internals.Tables.Primitive_Types_Metamodel is 48 49 ---------------------------------------- 50 -- MM_Primitive_Types_Primitive_Types -- 51 ---------------------------------------- 52 53 function MM_Primitive_Types_Primitive_Types return AMF.Internals.CMOF_Element is 54 begin 55 return Base + 1; 56 end MM_Primitive_Types_Primitive_Types; 57 58 -------------------------------- 59 -- MC_Primitive_Types_Boolean -- 60 -------------------------------- 61 62 function MC_Primitive_Types_Boolean return AMF.Internals.CMOF_Element is 63 begin 64 return Base + 2; 65 end MC_Primitive_Types_Boolean; 66 67 -------------------------------- 68 -- MC_Primitive_Types_Integer -- 69 -------------------------------- 70 71 function MC_Primitive_Types_Integer return AMF.Internals.CMOF_Element is 72 begin 73 return Base + 4; 74 end MC_Primitive_Types_Integer; 75 76 ----------------------------- 77 -- MC_Primitive_Types_Real -- 78 ----------------------------- 79 80 function MC_Primitive_Types_Real return AMF.Internals.CMOF_Element is 81 begin 82 return Base + 6; 83 end MC_Primitive_Types_Real; 84 85 ------------------------------- 86 -- MC_Primitive_Types_String -- 87 ------------------------------- 88 89 function MC_Primitive_Types_String return AMF.Internals.CMOF_Element is 90 begin 91 return Base + 8; 92 end MC_Primitive_Types_String; 93 94 ------------------------------------------ 95 -- MC_Primitive_Types_Unlimited_Natural -- 96 ------------------------------------------ 97 98 function MC_Primitive_Types_Unlimited_Natural return AMF.Internals.CMOF_Element is 99 begin 100 return Base + 10; 101 end MC_Primitive_Types_Unlimited_Natural; 102 103 ------------------------ 104 -- MB_Primitive_Types -- 105 ------------------------ 106 107 function MB_Primitive_Types return AMF.Internals.AMF_Element is 108 begin 109 return Base; 110 end MB_Primitive_Types; 111 112 ------------------------ 113 -- MB_Primitive_Types -- 114 ------------------------ 115 116 function ML_Primitive_Types return AMF.Internals.AMF_Element is 117 begin 118 return Base + 15; 119 end ML_Primitive_Types; 120 121end AMF.Internals.Tables.Primitive_Types_Metamodel; 122