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

⟦2847a0cf0⟧ TextFile

    Length: 1003 (0x3eb)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Tomato;

separate (Fruit)

procedure Delete (This_Object : in out Object; Marker : Boolean := False) is
    Parent_1 : Root.Object := Get_Origin (This_Object);
    Child_1 : Tomato.Object;

begin
    case This_Object.Offspring is
        when 0 =>
            Free (This_Object);
            Log_Report.Trace
               ("fruit delete :  no sub-class, free state and root delete");
            Root.Delete (Parent_1, True);
        when 1 =>  
            if not Marker then
                Log_Report.Trace ("fruit delete : call tomato delete");
                Child_1 := Tomato.Protected_Conv (Get_Heir (This_Object));
                Tomato.Delete (Child_1);  
            else  
                Free (This_Object);
                Log_Report.Trace
                   ("fruit delete :  free state and call root delete");
                Root.Delete (Parent_1, True);
            end if;
        when others =>
            raise Oo_Ada_Exception.Offspring_Error;
    end case;

end Delete;