text
stringlengths
0
234
Temp_Entry.Free_List := null;
Temp_Entry.Free_List_Count := 0;
-- DEFECT 262 set Stepping_Pointer to null.
Temp_Entry.Stepping_Pointer := null;
return Temp_Entry;
end Initialise;
---------------------------------------------------------------------
function Count_Of (Target_List : List_Header_Access_Type) return Application_Types.Base_Integer_Type is
begin
return Target_List.Count;
end Count_Of;
---------------------------------------------------------------------
function Count_Of_Free_List (Target_List : List_Header_Access_Type) return Application_Types.Base_Integer_Type is
begin
return Target_List.Free_List_Count;
end Count_Of_Free_List;
---------------------------------------------------------------------
function Max_Count_Of (Target_List : List_Header_Access_Type) return Application_Types.Base_Integer_Type is
begin
return Target_List.Max_Count;
end Max_Count_Of;
---------------------------------------------------------------------
function First_Entry_Of (Target_List : List_Header_Access_Type) return Node_Access_Type is
begin
Target_List.Stepping_Pointer := Target_List.First_Entry;
return Target_List.Stepping_Pointer;
end First_Entry_Of;
---------------------------------------------------------------------
function Next_Entry_Of (Target_List : List_Header_Access_Type) return Node_Access_Type is
begin
Target_List.Stepping_Pointer := Target_List.Stepping_Pointer.Next;
return Target_List.Stepping_Pointer;
end Next_Entry_Of;
---------------------------------------------------------------------
procedure Insert (New_Item : in Element_Type;
On_To : in List_Header_Access_Type) is
New_Cell: Node_Access_Type;
begin
if On_To.Free_List = null then
--
-- there are no 'old' entries available for reuse
--
begin
New_Cell:= new Node_Type;
exception
when Storage_Error => raise List_Storage_Error ;
Function Definition: procedure Register_M1_End_Class (M1_Instance: in Ada.Tags.Tag) is
Function Body: begin
M1_Side := M1_Instance;
M1_Single_M2_Multiple.Register_Single_End_Class (M1_Instance);
M2_Single_M1_Multiple.Register_Multiple_End_Class (M1_Instance);
end Register_M1_End_Class;
---------------------------------------------------------------------
function Report_M1_End_Class return Ada.Tags.Tag is
begin
return M1_Side;
end Report_M1_End_Class;
-----------------------------------------------------------------------
procedure Register_M2_End_Class (M2_Instance: in Ada.Tags.Tag) is
begin
M2_Side := M2_Instance;
M1_Single_M2_Multiple.Register_Multiple_End_Class (M2_Instance);
M2_Single_M1_Multiple.Register_Single_End_Class (M2_Instance);
end Register_M2_End_Class;
---------------------------------------------------------------------
function Report_M2_End_Class return Ada.Tags.Tag is
begin
return M2_Side;
end Report_M2_End_Class;
-----------------------------------------------------------------------
procedure Register_Associative_End_Class (Associative_Instance: in Ada.Tags.Tag) is
begin