DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦bf77fb3c0⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Trame_Ihm_68, seg_05072c

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



package Trame_Ihm_68 is

    Debut_Trame : constant String := "Trame Ihm-68";
    Fin_Trame : constant String := "Fin Trame Ihm-68";
    Sep_Trame : constant Character := '#';

    type T_Action is (Pas_D_Action, Config, Fin_Config, Rapport, Fin_Rapport,
                      Ack, Nack, Creation, Modification, Suppression);

    type T_Type_Objet is (Pas_D_Objet, Lecteur, Plage, Acces, Carte,
                          Lecteur_Zone, Carte_Groupe, Horaire, Evenement);

    type Object (Action : T_Action := Pas_D_Action) is private;

    Max_Taille_String : constant Natural := 1024;

    procedure Create (O : in out Object; Action : T_Action);
    procedure Create (O : in out Object;
                      Action : T_Action;
                      Type_Objet : T_Type_Objet;
                      S : String);

    function Get_Action (O : Object) return T_Action;
    function Get_Type_Objet (O : Object) return T_Type_Objet;
    function Get_Chaine (O : Object) return String;

    function Image (O : Object) return String;
    function Value (S : String) return Object;

    Trame_Ihm_68_Error : exception;

private

    subtype T_Action_Sur_Objet is T_Action range Creation .. Suppression;

    type Object (Action : T_Action := Pas_D_Action) is
        record
            case Action is
                when Creation | Modification | Suppression =>
                    Type_Objet : T_Type_Objet;
                    Chaine : String (1 .. Max_Taille_String);
                when others =>
                    null;
            end case;

        end record;
end Trame_Ihm_68;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=044
        [0x01] rec0=17 rec1=00 rec2=02 rec3=001
    tail 0x2154ae542878d559ecf18 0x42a00088462060003