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

⟦7a1ff2a99⟧ Ada Source

    Length: 8192 (0x2000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Profile_Parser, seg_0263c2, seg_026d15

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



--| Profile_parser
--| Description :
--|   Parse a string contained into a Profile_File
--|   with the following syntaxe : parameter <affectation_operator> value
--|

with Umps_Utilities;
with Profile_Parser_Defs;

package Profile_Parser is

    Default_Profile_File : Profile_Parser_Defs.Profile_File :=
       Umps_Utilities.Normalize (Profile_Parser_Defs.Umps_Profile_File,
                                 Profile_Parser_Defs.Profile_File_Length);

    -- function Get_Default_Profile_File return String;
    -- procedure Set_Default_Profile_File (File : in String);

    Undefined_Boolean : Boolean := False;
    function Boolean_Image (Value : in Boolean) return String;
    function Boolean_Value (Image : in String) return Boolean;

    Undefined_Literal : constant String := "";
    function Literal_Image (Value : in String) return String;
    function Literal_Value (Image : in String) return String;

    Undefined_Integer : Integer := Integer'Last;
    function Integer_Image (Value : in Integer) return String;
    function Integer_Value (Image : in String) return Integer;

    procedure Set_Boolean is
       new Profile_Parser_Defs.Set
              (Object => Boolean, Object_Image => Boolean_Image);
    procedure Get_Boolean is
       new Profile_Parser_Defs.Get (Object => Boolean,
                                    Object_Value => Boolean_Value,
                                    Undefined_Object => Undefined_Boolean);
    procedure Set_Literal is
       new Profile_Parser_Defs.Set
              (Object => String, Object_Image => Literal_Image);
    procedure Get_Literal is
       new Profile_Parser_Defs.Get (Object => String,
                                    Object_Value => Literal_Value,
                                    Undefined_Object => Undefined_Literal);
    procedure Set_Integer is
       new Profile_Parser_Defs.Set
              (Object => Integer, Object_Image => Integer_Image);
    procedure Get_Integer is
       new Profile_Parser_Defs.Get (Object => Integer,
                                    Object_Value => Integer_Value,
                                    Undefined_Object => Undefined_Integer);

    -- procedure Set_Literal (The_Parameter : in String;
    --                        At_The_Value : in String;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Get_Literal (Of_The_Parameter : in String;
    --                        The_Value : out String;
    --                        Success : out Boolean;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Set_Integer (The_Parameter : in String;
    --                        At_The_Value : in Integer;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Get_Integer (Of_The_Parameter : in String;
    --                        The_Value : out Integer;
    --                        Success : out Boolean;
    --                        In_The_File : in String := Default_Profile_File);
    --
    -- procedure Set_Boolean (The_Parameter : in String;
    --                        At_The_Value : in Boolean;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Get_Boolean (Of_The_Parameter : in String;
    --                        The_Value : out Boolean;
    --                        Success : out Boolean;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Set_Literal (The_Parameter : in String;
    --                        At_The_Value : in String;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Get_Literal (Of_The_Parameter : in String;
    --                        The_Value : out String;
    --                        Success : out Boolean;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Set_Integer (The_Parameter : in String;
    --                        At_The_Value : in Integer;
    --                        In_The_File : in String := Default_Profile_File);
    -- procedure Get_Integer (Of_The_Parameter : in String;
    --                        The_Value : out Integer;
    --                        Success : out Boolean;
    --                        In_The_File : in String := Default_Profile_File);

end Profile_Parser;

E3 Meta Data

    nblk1=7
    nid=7
    hdr6=c
        [0x00] rec0=1c rec1=00 rec2=01 rec3=060
        [0x01] rec0=01 rec1=00 rec2=06 rec3=008
        [0x02] rec0=14 rec1=00 rec2=04 rec3=018
        [0x03] rec0=11 rec1=00 rec2=05 rec3=024
        [0x04] rec0=10 rec1=00 rec2=03 rec3=07a
        [0x05] rec0=0a rec1=00 rec2=02 rec3=000
        [0x06] rec0=c4 rec1=80 rec2=00 rec3=011
    tail 0x215202cf483aa47e7f5cf 0x42a00088462060003
Free Block Chain:
  0x7: 0000  00 00 00 a1 80 01 3b 01 00 3e 20 20 20 20 66 75  ┆      ;  >    fu┆