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

⟦bebb12d04⟧ TextFile

    Length: 1409 (0x581)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

with Animal;
with Foot;
with Nest;

package Bird is

    type Object is new Animal.Object;
    type State is private;
    type State_Ptr is private;

    type Sub_Class is (Void, It_Self, Bird_Of_Prey_Class);

    function Create (Offspring_No : Sub_Class := It_Self) return Object;

    procedure Delete (This_Bird : in out Object);

    procedure Set_Feather (This_Bird : Object; Number : Positive);

    function Get_Feather (This_Bird : Object) return Positive;

    function Get_Nest (This_Bird : Object) return Nest.Object;

    procedure Set_Nest (This_Bird : Object; This_Nest : Nest.Object);

    function Get_Feet (This_Bird : Object) return Foot.Object;



    procedure Sleep (This_Bird : Object);

    procedure Fly (This_Bird : Object);

    procedure Imag (This_Bird : Object);


-- PROTECTED

    function Part_Of (This_Bird : Object) return State_Ptr;

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

    function Get_Heir (This_State_Ptr : State_Ptr)
                      return Animal.Application.Object;


private

    type State is
        record
            Offspring_No : Sub_Class := Void;
            Heir : Animal.Application.Object;
            Feather_Number : Positive;
            My_Feet : Foot.Object;
            My_Nest : Nest.Object;
        end record;

    type State_Ptr is access State;

end Bird;