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 - metrics - download
Index: T V

⟦9e09c7035⟧ TextFile

    Length: 1948 (0x79c)
    Types: TextFile
    Names: »V«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

-- This package supplies a way to store and retrieve defaults.
--
-- This package knows nothing about the proper syntax for defaults;
-- such checking must be done elsewhere.
--
-- All strings are returned in uppercase.
--
with Lines;
with Subtypes;
use Subtypes;
package Defaults is

    subtype Default is Lines.Line;

    function Catalog (For_User : in User_Name) return Default;
    --
    -- Returns the default catalog for the specified user.
    --
    -- Raises "IO_Failure" if a problem is encountered obtaining the
    -- default.

    function Catalog (For_User : in User_Name) return Simple_Name;
    --
    -- Returns the default catalog for the specified user.
    --
    -- Raises "IO_Failure" if a problem is encountered obtaining the
    -- default.

    function Full_Catalog (For_User : in User_Name) return Full_Name;
    --
    -- Returns the fully-qualified pathname of the default catalog
    -- for the specified user.

    function Version (For_User : in User_Name) return Default;
    --
    -- Returns the default version for the specified user.
    --
    -- Raises "IO_Failure" if a problem is encountered obtaining the
    -- default.

    function Version (For_User : in User_Name) return Simple_Name;
    --
    -- Returns the default version for the specified user.
    --
    -- Raises "IO_Failure" if a problem is encountered obtaining the
    -- default.

    function Full_Version (For_User : in User_Name) return Full_Name;
    --
    -- Returns the fully-qualified pathname of the default version
    -- of the default catalog for the specified user.

    procedure Set (For_User : in User_Name;
                   Catalog : in Simple_Name;
                   Version : in Simple_Name);
    --
    -- Sets the defaults for the specified user.
    --
    -- Raises "IO_Failure" if a problem is encountered saving the
    -- permanent representation of the defaults.

    Io_Failure : exception;

end Defaults;