|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Carte_Groupe_68, seg_051237
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Util_String; package body Carte_Groupe_68 is package Us renames Util_String; procedure Create (O : in out Object; Carte : Carte_68.T_Carte; Groupe : Groupe_68.T_Groupe) is begin Set_Carte (O, Carte); Set_Groupe (O, Groupe); end Create; procedure Set_Carte (O : in out Object; Carte : Carte_68.T_Carte) is begin O.Carte := Carte; end Set_Carte; procedure Set_Groupe (O : in out Object; Groupe : Groupe_68.T_Groupe) is begin O.Groupe := Groupe; end Set_Groupe; function Get_Carte (O : Object) return Carte_68.T_Carte is begin return O.Carte; end Get_Carte; function Get_Groupe (O : Object) return Groupe_68.T_Groupe is begin return O.Groupe; end Get_Groupe; function Image (O : Object) return String is begin return (Debut_Carte_Groupe & Us.Suppression_Espace_Left (Natural'Image (Get_Carte (O))) & Sep_Carte_Groupe & Us.Suppression_Espace_Left (Natural'Image (Get_Groupe (O))) & Sep_Carte_Groupe & Fin_Carte_Groupe); end Image; function Value (S : String) return Object is O : Object; Der_Car : Natural; begin Value (S, O, Der_Car); return O; end Value; procedure Value (S : String; O : in out Object; Der_Car : in out Natural) is P1, P2, P3, P4 : Natural; begin Us.String_Contient (S, Debut_Carte_Groupe, P1); Us.Position (S (P1 + 1 .. S'Last), Sep_Carte_Groupe, P2); Us.Position (S (P2 + 1 .. S'Last), Sep_Carte_Groupe, P3); Us.String_Contient (S (P3 + 1 .. S'Last), Fin_Carte_Groupe, P4); Create (O => O, Carte => Natural'Value (S (P1 + 1 .. P2 - 1)), Groupe => Natural'Value (S (P2 + 1 .. P3 - 1))); Der_Car := P4; end Value; end Carte_Groupe_68;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=2c rec1=00 rec2=01 rec3=008 [0x01] rec0=00 rec1=00 rec2=04 rec3=028 [0x02] rec0=1b rec1=00 rec2=02 rec3=080 [0x03] rec0=06 rec1=00 rec2=03 rec3=000 tail 0x2154b28a487995afb17a0 0x42a00088462060003