|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Fields, seg_041960
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Bounded_String, Lists;
package Fields is
type Object is private;
type Field_Index is limited private;
Error_Field_Store : exception;
Error_Field_Empty : exception;
Error_Field_Index : exception;
--Creation
procedure Create (D : in out Object);
--Access
function Has_Field (D : in Object; Name : in String) return Boolean;
function Get_Field_Type_By_Name (D : Object; Name : String) return String;
procedure Dump_Number_Of_Field (D : in Object);
procedure Dump_Fields (D : in Object);
procedure Surface_Copy (To_Fields : in out Object; The_Fields : Object);
procedure Deep_Copy (To_Fields : in out Object; The_Fields : Object);
-- function Object_Image (D : in Object) return String;
--Modification
procedure Store_Field (D : in out Object; Aname : String; Atype : String);
--Liberation
procedure Dispose_Object (D : in out Object);
--Iteration
procedure Open_Field_Indexation (D : Object; I : in out Field_Index);
procedure Next_Field_Index (I : in out Field_Index);
function Get_Indexed_Field_Name (I : Field_Index) return String;
function Get_Indexed_Field_Type (I : Field_Index) return String;
function No_More_Fields (I : Field_Index) return Boolean;
private
Max_String_Field : constant Natural := 32;
type Field is
record
Field_Name : Bounded_String.Variable_String (Max_String_Field);
Field_Type : Bounded_String.Variable_String (Max_String_Field);
end record;
function Isequal (X, Y : in Field) return Boolean;
package Fields_List is new Lists (Itemtype => Field, Equal => Isequal);
type Object is
record
Node : Fields_List.List;
end record;
type Field_Index is
record
Node : Fields_List.Listiter;
end record;
end Fields;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=21 rec1=00 rec2=01 rec3=046
[0x01] rec0=1f rec1=00 rec2=02 rec3=001
tail 0x2174237208626569f72db 0x42a00088462060003