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

⟦5f227ce96⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Comps_Dictionary, seg_048fcf, seg_04937a

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



with Binary_Trees_Pkg, Bounded_String;
use Bounded_String;

package Comps_Dictionary is

    Duplicate_Value : exception;

    type Object is private;

    -- Creation d'un objet dictionaire de complements -------------------------------------

    procedure Create (Dict : in out Object);


    -- Destruction d'un dictionaire -------------------------------------------------------

    procedure Destroy (Dict : in out Object);


    -- Ajout d'un nouveau complement ------------------------------------------------------
    --
    -- Duplicate_Value (Exception) est levee si le nouveau complement existe deja dans le
    --                             le dictionaire.

    procedure Add_New (New_Comp : String; Dict : Object);


    -- Test la presence d'un complement dans le dictionaire ------------------------------

    function Exist (Scan_Comp : String; Dict : Object) return Boolean;


    -- Affiche un dictionnaire de complements -------------------------------------------

    procedure Dump (Dict : Object);

private

    type Comp is
        record
            Name : Variable_String (32);
        end record;

    function Compare (A, B : Comp) return Integer;

    package Comps_Tree is new Binary_Trees_Pkg (Comp, Compare);

    type Object is
        record
            Root : Comps_Tree.Tree;
        end record;

end Comps_Dictionary;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=22 rec1=00 rec2=01 rec3=066
        [0x01] rec0=15 rec1=00 rec2=02 rec3=001
    tail 0x2174d4d48865b3d9fce35 0x42a00088462060003