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

⟦71daa198c⟧ TextFile

    Length: 849 (0x351)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

with Root;
package Plant is

    type State is private;

    type State_Ptr is private;


    function Create (Offspring : Natural) return Root.Object;

    procedure Delete (This_Object : in out Root.Object);

    procedure Set_X (This_State_Ptr : State_Ptr; This_X : Natural);

    function Get_X (This_State_Ptr : State_Ptr) return Natural;

    procedure Grow (This_Object : Root.Object; Marker : Boolean := False);

    function Part_Of (This_Object : Root.Object) return State_Ptr;

    procedure Set_Heir (This_State_Ptr : in out State_Ptr; Heir : Root.Object);

    function Get_Heir (This_State_Ptr : State_Ptr) return Root.Object;


private

    type State is

        record
            X : Natural;
            Offspring : Natural := 0;
            Heir : Root.Object;
        end record;

    type State_Ptr is access State;

end Plant;