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

⟦ab0219b55⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bundle_Template, package body First_Rule, package body Second_Rule, seg_02ae25

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Application_Template;
with Condition;
with Fact;

use Condition;
use Fact;
package body Bundle_Template is

    type Rule_Names is (First, Second, No_More);

    -------------------------------------------------------------------------------
    package First_Rule is
        function  Premiss return Join_Descriptor;
        procedure Action (The_Facts : Fact.Collection);
    end First_Rule;

    package body First_Rule is separate;

    -------------------------------------------------------------------------------

    package Second_Rule is
        function  Premiss return Join_Descriptor;
        procedure Action (The_Facts : Fact.Collection);
    end Second_Rule;

    package body Second_Rule is separate;

    -------------------------------------------------------------------------------

    package Rule_Bundle is  
       new Application_Template.Rule_Base.Generic_Rule_Bundle
              (The_Bundle => Application_Template.Rule_Bundle_1,
               Rule_Names => Rule_Names,
               Nothing    => Rule_Names'(No_More),

               Rule_1     => First,
               Premiss_1  => First_Rule.Premiss,
               Action_1   => First_Rule.Action,

               Rule_2     => Second,
               Premiss_2  => Second_Rule.Premiss,
               Action_2   => Second_Rule.Action);

    procedure Do_Action (For_Rule : Rule_Id; On_Facts : Fact.Collection) is

    begin
        Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;

end Bundle_Template;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=066
        [0x01] rec0=13 rec1=00 rec2=02 rec3=001
    tail 0x215232f0083e583dc9350 0x42a00088462063c03