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: ┃ B T

⟦0c608d4a1⟧ TextFile

    Length: 925 (0x39d)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;