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

⟦859df28ee⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Plant, seg_03a5da

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



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;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=28 rec1=00 rec2=01 rec3=000
    tail 0x21737b872850461690aa2 0x42a00088462060003