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

⟦b146c9ee9⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Generic_Fact, seg_02ace0

Derivation

└─⟦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 Condition;
with Fact;
with Output_Stream;
generic
    Class_Name : String;
    type Slot_Names is (<>);
    with function Attribute_Image (I : Integer) return String is Integer'Image;
package Generic_Fact is

    type Slots    is array (Slot_Names) of Integer;
    type Patterns is array (Slot_Names) of Condition.Object;

    function Exist   (What : Patterns) return Fact.Query;
    function Not_Any (What : Patterns) return Fact.Query;
    function Absent  (What : Patterns) return Fact.Query renames Not_Any;

    function Get (The_Fact : Fact.Name)                    return Slots;
    function Get (The_Fact : Fact.Name; Slot : Slot_Names) return Integer;

    procedure Add    (The_Fact : Slots);
    procedure Delete (The_Fact : Fact.Name);
    procedure Change (The_Fact : Fact.Name; Value : Slots);
    procedure Change (The_Fact : Fact.Name;
                      The_Slot : Slot_Names;
                      To_Value : Integer);

    procedure Put (The_Fact : Fact.Name; Where : Output_Stream.Object);

end Generic_Fact;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=01e
        [0x01] rec0=03 rec1=00 rec2=02 rec3=001
    tail 0x21723e82483e5678c8bf5 0x42a00088462063c03