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

⟦39f1f94b7⟧ Ada Source

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

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



with Set_Generic;

package body Observator_Storage is

    package Set_Observator is new Set_Generic (Natural);

    Observator_Set : Set_Observator.Set;
    Iter : Set_Observator.Iterator;

    procedure Add (Id : Natural) is
    begin
        if not (Set_Observator.Is_Member (Observator_Set, Id)) then
            Set_Observator.Add (Observator_Set, Id);
        end if;
    end Add;


    procedure Delete (Id : Natural) is
    begin
        if Set_Observator.Is_Member (Observator_Set, Id) then
            Set_Observator.Delete (Observator_Set, Id);
        end if;
    end Delete;


    procedure Init_Iterator is
    begin
        Set_Observator.Init (Iter, Observator_Set);
    end Init_Iterator;


    function Get_Id return Natural is
        Id : Natural;
    begin
        Id := Set_Observator.Value (Iter);
        Set_Observator.Next (Iter);
        return Id;
    end Get_Id;


    function Is_Finish return Boolean is
    begin
        return Set_Observator.Done (Iter);
    end Is_Finish;
end Observator_Storage;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2a rec1=00 rec2=01 rec3=050
        [0x01] rec0=05 rec1=00 rec2=02 rec3=000
    tail 0x2175d9b0487b886b3a1eb 0x42a00088462060003