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

⟦0ee5e2712⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Object_Set, pragma Module_Name 4 1721, pragma Subsystem Directory, seg_028474

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 Action;
with Directory;
with Polymorphic_Io;

package Object_Set is

    pragma Subsystem (Directory, Closed);
    pragma Module_Name (4, 1721);

    function Is_Set (Object : Directory.Object) return Boolean;

    type Set is private;

    procedure Create (Set_Name  :     String;
                      Set_Id    : out Directory.Object;
                      Status    : out Directory.Error_Status;
                      Action_Id :     Action.Id := Action.Null_Id);

    procedure Open (Set_Id         :     Directory.Object;
                    The_Set        : out Set;
                    Status         : out Directory.Error_Status;
                    Action_Id      :     Action.Id := Action.Null_Id;
                    For_Update     :     Boolean   := False;
                    Prevent_Create :     Boolean   := False);

    procedure Close (The_Set : Set; Status : out Directory.Error_Status);



    function  Is_Empty   (The_Set : Set) return Boolean;
    procedure Make_Empty (The_Set : in out Set);

    -- The Set must be open for update.  (all sets are initially empty).

    function Is_Member (The_Set : Set; Id : Directory.Object) return Boolean;

    procedure Add (The_Set : in out Set; Id : Directory.Object);

    procedure Remove (The_Set : in out Set; Id : Directory.Object);

    type Iterator is limited private;

    procedure Init  (Iter : out Iterator; The_Set : Set);
    procedure Next  (Iter : in out Iterator);
    function  Value (Iter : Iterator) return Directory.Object;
    function  Done  (Iter : Iterator) return Boolean;

    function Handle_Of (H : Set) return Polymorphic_Io.Handle;

    -- returns the Polymorphic Io handle on the open set.

end Object_Set;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=050
        [0x01] rec0=17 rec1=00 rec2=02 rec3=000
    tail 0x21520f94683c173815f83 0x42a00088462065003