DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦5f81763f4⟧ TextFile

    Length: 1710 (0x6ae)
    Types: TextFile
    Names: »V«

Derivation

└─⟦d10a02448⟧ Bits:30000409 8mm tape, Rational 1000, ENVIRONMENT, D_12_7_3
    └─ ⟦fc9b38f02⟧ »DATA« 
        └─⟦9b46a407a⟧ 
            └─⟦12c68c704⟧ 
                └─⟦this⟧ 
└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦458657fb6⟧ 
            └─⟦220843204⟧ 
                └─⟦this⟧ 

TextFile

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;