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

⟦9d35712ec⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Methode, seg_057ec8, seg_058276

Derivation

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

E3 Source Code



package body Methode is
    procedure Create_Method (Method : out T_Method) is
    begin
        Initialize (Method.Agent_Set);
    end Create_Method;


    function Init_Method (Method : in T_Method;
                          Method_Name : in T_Method_Name;
                          Parameter : in T_Parameter;
                          Agent_Nb : in T_Agent_Nb) return T_Method is
        The_Method : T_Method;
    begin
        The_Method.Name := Method_Name;
        The_Method.Parameter := Parameter;
        Add (The_Method.Agent_Set, Agent_Nb);
        return The_Method;
    end Init_Method;


    procedure Delete_Agent (Method : in out T_Method;
                            Agent_Nb : in T_Agent_Nb) is
    begin
        if Is_Member (Method.Agent_Set, Agent_Nb) then
            Delete (Method.Agent_Set, Agent_Nb);
        end if;
    end Delete_Agent;
    function Consult_Name (The_Method : in T_Method) return T_Method_Name is
    begin
        return The_Method.Name;
    end Consult_Name;
    function Consult_Parameter (The_Method : in T_Method) return T_Parameter is
    begin
        return The_Method.Parameter;
    end Consult_Parameter;
    function Consult_Agent_Set
                (The_Method : in T_Method) return Agent_Nb_Set.Set is
    begin
        return The_Method.Agent_Set;
    end Consult_Agent_Set;
    procedure Add_Agent (Method : in out T_Method; Agent_Nb : in T_Agent_Nb) is
    begin
        if not (Agent_Nb_Set.Is_Member (Method.Agent_Set, Agent_Nb)) then
            Add (Method.Agent_Set, Agent_Nb);
        end if;
    end Add_Agent;
end Methode;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=004
        [0x01] rec0=12 rec1=00 rec2=02 rec3=001
    tail 0x21764252c87c747ce5d0e 0x42a00088462060003