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

⟦d2d886da7⟧ Ada Source

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

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 Bounded_String;
package Parameter is

    type Object is private;

    type Mode is (Mode_In, Mode_Out, Mode_In_Out);

    Max_Length_Name : constant Natural := 20;
    Max_Length_Object_Type : constant Natural := 20;
    Max_Length_Value : constant Natural := 50;

    function Create (Name : String;  
                     Mode : Standard.Parameter.Mode;  
                     Class : String;
                     Value : String) return Parameter.Object;

    function Get_Name (Parameter : Object) return String;
    function Get_Mode (Parameter : Object) return Standard.Parameter.Mode;
    function Get_Class (Parameter : Object) return String;
    function Get_Value (Parameter : Object) return String;

    function Image (Parameter : Object) return String;
    function Value (Parameter_String : String) return Object;
    procedure Value (Parameter : in out Object;
                     Parameter_String : String;
                     End_Parameter : out Natural);

    Syntax_Error : exception;
    -- exception raise when function/procedure value can't recognize a parameter Object

private

    type Object is
        record
            Name : Bounded_String.Variable_String (Max_Length_Name);
            Mode : Standard.Parameter.Mode;
            Class : Bounded_String.Variable_String (Max_Length_Object_Type);
            Value : Bounded_String.Variable_String (Max_Length_Value);
        end record;

end Parameter;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1b rec1=00 rec2=01 rec3=046
        [0x01] rec0=10 rec1=00 rec2=02 rec3=001
    tail 0x2154e176e87cc73f2db2f 0x42a00088462060003