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

⟦18dcc5fa4⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package View, seg_045ea6, seg_046c70, seg_047194, seg_049a66

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Identifier, Objet, Detail, Attribute;
package View is

    type View_Kind is (Sentence, Number, Single_Attribute, Name,
                       Single_Exit, Exits, Contents, Unknown);

    type Object (Kind : View_Kind := Unknown) is private;

    procedure Create_Sentence (Item : out Object;
                               A_Sentence : in Identifier.Object);
    procedure Create_Number (Item : out Object; A_Number : in Integer);
    procedure Create_Attribute (Item : out Object;
                                An_Attribute : in Attribute.Object);  
    procedure Create_Name (Item : out Object; A_Name : in Objet.Object);
    procedure Create_Exit (Item : out Object; An_Exit : in Detail.Object);
    procedure Create_Exits (Item : out Object);
    procedure Create_Contents (Item : out Object; Place : in Objet.Object);
    procedure Display (Item : in Object);
    procedure Show (Item : in Object);

    Null_Object : constant Object;

private

    type Object (Kind : View_Kind := Unknown) is
        record
            case Kind is
                when Number =>
                    Number_Value : Integer := 0;
                when Sentence =>
                    Sentence_Value : Identifier.Object :=
                       Identifier.Null_Object;
                when Single_Attribute =>
                    The_Attribute : Attribute.Object := Attribute.Null_Object;
                when Name =>
                    The_Name : Objet.Object := Objet.Null_Object;
                when Single_Exit =>
                    Direction : Detail.Object := Detail.Null_Object;
                when Exits =>
                    null;
                when Contents =>
                    The_Place : Objet.Object := Objet.Null_Object;
                when Unknown =>
                    null;
            end case;
        end record;

    Null_Object : constant Object := (Kind => Unknown);

end View;

E3 Meta Data

    nblk1=3
    nid=3
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=010
        [0x01] rec0=1a rec1=00 rec2=02 rec3=001
        [0x02] rec0=0b rec1=00 rec2=00 rec3=004
    tail 0x2174809e6864d3f072372 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 00 00 16 80 01 3b 01 00 00 00 00 09 65 6e 64  ┆      ;      end┆