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

⟦2d82bbffc⟧ Ada Source

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

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



E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=04a
        [0x01] rec0=06 rec1=00 rec2=02 rec3=001
    tail 0x21533b16c85127382dd09 0x42a00088462060003