DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦db0e54bf5⟧ TextFile

    Length: 1397 (0x575)
    Types: TextFile
    Names: »V«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Bounded_String_Generic;
package Parameter is

    type Object is private;

    Null_Parameter : constant Parameter.Object;

    Void : constant String := ">>VOID<<";

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

    function Image (Of_Parameter : Parameter.Object) return String;

    function Value (Of_String : String) return Parameter.Object;


    function Is_Valued (Parameter : Standard.Parameter.Object) return Boolean;

    function Is_Null (Parameter : Standard.Parameter.Object) return Boolean;

    function Is_Equal (Left, Right : Parameter.Object) return Boolean;

    function Is_Compatible (Left, Right : Parameter.Object) return Boolean;


    function Get_Name (Parameter : Standard.Parameter.Object) return String;

    function Get_Class (Parameter : Standard.Parameter.Object) return String;

    function Get_Value (Parameter : Standard.Parameter.Object) return String;

private  
    package Bs is new Bounded_String_Generic (Size => 80);

    type Object is
        record
            Name : Bs.Variable_String;
            Class : Bs.Variable_String;
            Value : Bs.Variable_String;
        end record;

    Null_Parameter : constant Parameter.Object :=
       Object'(Name => Bs.Value (Void),
               Class => Bs.Value (Void),
               Value => Bs.Value (Void));
end Parameter;