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

⟦d987ef1e6⟧ Ada Source

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

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



with Bounded_String, Lists;
with Symbols, Models, Comps_Dictionary;

package Displays is

    type Object is private;

    Error_Display_Store : exception;
    Error_Display_Empty : exception;
    Error_Display_Index : exception;

--Creation
    procedure Create (D : in out Object);

--Access
    procedure Write (D : in Object;
                     S : Symbols.Object;
                     M : Models.Object;
                     C : Comps_Dictionary.Object);

--Modification
    procedure Store (D : in out Object; A_String : String);

    procedure Store (D : in out Object;
                     Symbol_Name : String;
                     Attribute_Name : String);

--Liberation
    procedure Dispose (D : in out Object);


private

    Max_String_Display : constant Natural := 80;

    type Kind_Of_Display is (Str, Var);

    type Display is
        record
            Display_Value : Bounded_String.Variable_String (Max_String_Display);
            Display_Attribute : Bounded_String.Variable_String
                                   (Max_String_Display);
            Display_Type : Kind_Of_Display;
        end record;
    function Isequal (X, Y : in Display) return Boolean;
    package Displays_List is new Lists (Itemtype => Display, Equal => Isequal);

    type Object is
        record
            Node : Displays_List.List;
        end record;

end Displays;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=29 rec1=00 rec2=01 rec3=092
        [0x01] rec0=0e rec1=00 rec2=02 rec3=000
    tail 0x2174b6b8486574759f614 0x42a00088462060003