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

⟦14e7f1126⟧ TextFile

    Length: 1037 (0x40d)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;