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

⟦5adb99e81⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Symbols, seg_032d25

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



with Bounded_String;

package body Symbols is

    procedure Put (This_Object : Object.Reference;
                   Named : Object.Tiny_String;
                   Into : in out Table) is
    begin
        Symbols_Table.Define
           (Into, Bounded_String.Image (Named), This_Object, False);
    end Put;

    procedure Get (Object_Named : Object.Tiny_String;
                   From : Table;
                   Into : in out Object.Reference;
                   Status : out Boolean) is
    begin
        Symbols_Table.Find
           (From, Bounded_String.Image (Object_Named), Into, Status);
    end Get;

    function Exist (This_Name : Object.Tiny_String; Into : Table)
                   return Boolean is
        Success : Boolean;
        An_Object : Object.Reference;
    begin  
        Symbols_Table.Find (Into, Bounded_String.Image (This_Name),
                            An_Object, Success);
        return Success;
    end Exist;

    procedure Remove (This_Name : Object.Tiny_String; From : in out Table) is
    begin
        Symbols_Table.Undefine (From, Bounded_String.Image (This_Name));
    end Remove;

    procedure Free (This_Table : in out Table) is
    begin
        Symbols_Table.Make_Empty (This_Table);
    end Free;

    function Create return Table is
        Map : Symbols_Table.Map;
    begin
        Symbols_Table.Initialize (Map);
        return Map;
    end Create;

    function Is_Empty (This_Table : Table) return Boolean is
    begin
        return Symbols_Table.Is_Empty (This_Table);
    end Is_Empty;

    function Cardinality (Of_This_Table : Table) return Natural is
    begin
        return Symbols_Table.Cardinality (Of_This_Table);
    end Cardinality;

end Symbols;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=004
        [0x01] rec0=1c rec1=00 rec2=02 rec3=001
    tail 0x2152b845c84cb8d1ed14f 0x42a00088462060003