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

⟦d68f4db2a⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Root, seg_03a3a4, seg_03b354

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 Unchecked_Deallocation;

package body Root is


    procedure Free is new Unchecked_Deallocation (State, Object);

    function Create (Offspring_No : Natural) return Object is

        An_Object : Object;
    begin
        An_Object := new State;
        An_Object.Offspring_No := Offspring_No;
        An_Object.Self := An_Object;
        An_Object.Heir := An_Object;
        return An_Object;
    end Create;


    procedure Delete (This_Appli : in out Object) is  
    begin

        -- Attention verifier si toutes les variables du state doivent
        -- etre detruites au prealable (relation HAS)

        Free (This_Appli);  
    end Delete;


    procedure Set_Heir (This_Appli : in out Object; Heir : Object) is
    begin
        This_Appli.Heir := Heir;
    end Set_Heir;


    function Get_Heir (This_Appli : Object) return Object is
    begin
        return This_Appli.Heir;
    end Get_Heir;

end Root;



E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=2e rec1=00 rec2=01 rec3=000
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x2153320ba850250402a10 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 06 00 00 00 00 00 00 69 63 3b 07 00 00  ┆          ic;   ┆