|
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: 6144 (0x1800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Detail, seg_04633a, seg_047084, seg_047172, seg_047de5
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧ └─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io, The_Order, Complement_Identifier_Array, Field_Identifier_Array; package body Detail is procedure Create_Real_Field (Item : in out Object; An_Index : in Positive) is begin Item := (Kind => Real_Field, Field_Index => An_Index); end Create_Real_Field; procedure Create_Real_Complement (Item : in out Object; An_Index : in Positive) is begin Item := (Kind => Real_Complement, Complement_Index => An_Index); end Create_Real_Complement; procedure Create_Field_Group (Item : in out Object; Position : in Positive) is begin Item := (Kind => Field_Group, Field_Position => Position); end Create_Field_Group; procedure Create_Complement_Group (Item : in out Object; Position : in Positive) is begin Item := (Kind => Complement_Group, Complement_Position => Position); end Create_Complement_Group; procedure Show (Item : in Object) is begin Text_Io.Put_Line ("Detail : Kind : " & Detail_Kind'Image (Item.Kind) & " Image : " & Image (Item)); end Show; function Is_A_Real_Field (Item : in Object) return Boolean is begin return Item.Kind = Real_Field; end Is_A_Real_Field; function Is_A_Real_Complement (Item : in Object) return Boolean is begin return Item.Kind = Real_Complement; end Is_A_Real_Complement; function Is_A_Field_Group (Item : in Object) return Boolean is begin return Item.Kind = Field_Group; end Is_A_Field_Group; function Is_A_Complement_Group (Item : in Object) return Boolean is begin return Item.Kind = Complement_Group; end Is_A_Complement_Group; function Exist (Item : in Object) return Boolean is begin return Index (Item) /= 0; end Exist; function Index (Item : in Object) return Natural is begin case Item.Kind is when Real_Field => return Item.Field_Index; when Real_Complement => return Item.Complement_Index; when Field_Group => return Field_Identifier_Array.Index (Complement_Identifier_Array.Image (The_Order.Complement (Item.Field_Position))); when Complement_Group => return The_Order.Complement (Item.Complement_Position); when Unknown => return 0; end case; end Index; function Image (Item : Object) return String is begin case Item.Kind is when Real_Field | Field_Group => return Field_Identifier_Array.Image (Index (Item)); when Real_Complement | Complement_Group => return Complement_Identifier_Array.Image (Index (Item)); when Unknown => return ""; end case; end Image; end Detail;
nblk1=5 nid=5 hdr6=8 [0x00] rec0=1f rec1=00 rec2=01 rec3=040 [0x01] rec0=28 rec1=00 rec2=03 rec3=01e [0x02] rec0=1b rec1=00 rec2=04 rec3=064 [0x03] rec0=07 rec1=00 rec2=02 rec3=000 [0x04] rec0=c0 rec1=00 rec2=00 rec3=100 tail 0x21748aeda865043381653 0x42a00088462060003 Free Block Chain: 0x5: 0000 00 00 00 1e 80 07 20 49 6d 61 67 65 3b 07 00 00 ┆ Image; ┆