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

⟦f7f8f635d⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Behaviour, seg_01e6e1

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



package Behaviour is
    type Class is (None, Cached, File, Picture, Sound, Movie);

    type Object (Kind : Class := None) is private;
private

    type Cached_Part is
        record
            Cache : Integer := 1;
        end record;

    type File_Part is
        record
            Parent : Cached_Part;
            File : Integer := 2;
        end record;

    type Picture_Part is
        record  
            Parent : File_Part;
            Picture : Integer := 3;
        end record;

    type Sound_Part is
        record
            Parent : File_Part;
            Sound : Integer := 4;
        end record;

    type Movie_Part is
        record
            Parent : File_Part;
            Movie : Integer := 5;
        end record;

    type Object (Kind : Class := None) is
        record
            case Kind is
                when None =>
                    null;
                when Cached =>
                    C : Cached_Part;
                when File =>
                    F : File_Part;
                when Picture =>
                    P : Picture_Part;
                when Sound =>
                    S : Sound_Part;
                when Movie =>
                    M : Movie_Part;
            end case;
        end record;
end Behaviour;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2b rec1=00 rec2=01 rec3=026
        [0x01] rec0=0c rec1=00 rec2=02 rec3=001
    tail 0x2171c076a8375769fd183 0x42a00088462060003