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

⟦21379f470⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Class_Behavior, seg_011807

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 Class;
with Collection;
with Date;
with Instance;

generic

    type Element is private;

    With_Name : in String := "NO_NAME";

    With_Dates : in Boolean := False;

    With_Date_Mode : in Date.Overflow_Mode := Date.Error_Mode;

    with function Reference_Name
                     (Of_Reference : Instance.Reference) return String is
       Instance.Image;


package Class_Behavior is

    function  Allocate (The_Element : Element) return Instance.Reference;
    procedure Allocate (The_Element : Element);
    procedure Dispose  (The_Reference : Instance.Reference);
    procedure Clear;
    procedure Mask     (The_Reference : Instance.Reference);
    procedure Mask_All;
    procedure Unmask   (The_Reference : Instance.Reference);
    procedure Unmask_All;

    function Instances return Collection.Object;
    function All_Instances return Collection.Object;
    function Cardinality return Natural;
    function Name return String;
    function Name (The_Reference : Instance.Reference) return String;

    function  Get (The_Reference : Instance.Reference) return Element;
    procedure Set (The_Reference : Instance.Reference; With_Value : Element);

    Bad_Class, Bad_Reference, Class_Full : exception;


end Class_Behavior;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=038
        [0x01] rec0=0a rec1=00 rec2=02 rec3=000
    tail 0x2150d02a8823d498a2e86 0x42a00088462063c03