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

⟦49c448702⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Delete, seg_03afc3, separate Vegetable

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

separate (Vegetable)

procedure Delete (This_Object : in out Object; Marker : Boolean := False) is

    Parent_1 : Plant.Object := Plant.Part_Of (Get_Origin (This_Object));
    Child_1 : Tomato.Object;

begin
    case This_Object.Offspring is

        when 0 =>
            Free (This_Object);  
            Log_Report.Trace
               ("vegetable delete :  no sub-class, free state and call plant delete");
            Plant.Delete (Parent_1, True);

        when 1 =>  
            if not Marker then
                Log_Report.Trace ("vegetable delete : call tomato delete");
                Child_1 := Tomato.Protected_Conv (Get_Heir (This_Object));
                Tomato.Delete (Child_1);
            else  
                Free (This_Object);  
                Log_Report.Trace
                   ("vegetable delete :  free state and call plant delete");
                Plant.Delete (Parent_1, True);
            end if;

        when others =>
            raise Oo_Ada_Exception.Offspring_Error;
    end case;
end Delete;



E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=06 rec1=00 rec2=02 rec3=001
    tail 0x21533a0d8851263084b63 0x42a00088462060003