|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Create_Object_Rule, package body End_Of_Creation_Rule, package body Iterate_Rule, package body Many_Objects_Rules, package body Search_Object_Rule, seg_03bb78, seg_03c094, seg_03c4b7, seg_03c65e, seg_03c993, seg_04a96a, seg_04b3d8
└─⟦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⟧
with Alias;
with Many_Objects_Frames;
with Many_Objects_Kbs;
with Many_Objects_Rules;
with Slot;
use Many_Objects_Frames;
use Many_Objects_Kbs;
package body Many_Objects_Rules is
use Kbs;
use Kbs.Fact_Base.Predicate;
use Kbs.Fact_Base.Predicate.System_Defined_Predicate;
type Rule_Names is (Create_Object, End_Of_Creation,
Search_Object, Iterate, No_More);
-------------------------------------------------------------------------------
package Create_Object_Rule is
function Premiss return Fact_Queries;
procedure Action (The_Facts : Fact_Collection);
end Create_Object_Rule;
package body Create_Object_Rule is separate;
-------------------------------------------------------------------------------
package End_Of_Creation_Rule is
function Premiss return Fact_Queries;
procedure Action (The_Facts : Fact_Collection);
end End_Of_Creation_Rule;
package body End_Of_Creation_Rule is separate;
-------------------------------------------------------------------------------
package Search_Object_Rule is
function Premiss return Fact_Queries;
procedure Action (The_Facts : Fact_Collection);
end Search_Object_Rule;
package body Search_Object_Rule is separate;
-------------------------------------------------------------------------------
package Iterate_Rule is
function Premiss return Fact_Queries;
procedure Action (The_Facts : Fact_Collection);
end Iterate_Rule;
package body Iterate_Rule is separate;
-------------------------------------------------------------------------------
package Rule_Bundle is
new Kbs.Rule_Base.Generic_Rule_Bundle
(The_Bundle => Many_Objects_Kbs.Many_Objects_Rules,
Rule_Names => Rule_Names,
Nothing => Rule_Names'(No_More),
Rule_1 => Create_Object,
Premiss_1 => Create_Object_Rule.Premiss,
Action_1 => Create_Object_Rule.Action,
Rule_2 => End_Of_Creation,
Premiss_2 => End_Of_Creation_Rule.Premiss,
Action_2 => End_Of_Creation_Rule.Action,
Rule_3 => Search_Object,
Premiss_3 => Search_Object_Rule.Premiss,
Action_3 => Search_Object_Rule.Action,
Rule_4 => Iterate,
Premiss_4 => Iterate_Rule.Premiss,
Action_4 => Iterate_Rule.Action);
procedure Do_Action (For_Rule : Kbs.Rule_Id;
On_Facts : Kbs.Fact_Collection) is
begin
Rule_Bundle.Do_Action (For_Rule, On_Facts);
end Do_Action;
end Many_Objects_Rules;
nblk1=4
nid=0
hdr6=8
[0x00] rec0=21 rec1=00 rec2=01 rec3=034
[0x01] rec0=02 rec1=00 rec2=04 rec3=01a
[0x02] rec0=1c rec1=00 rec2=02 rec3=028
[0x03] rec0=18 rec1=00 rec2=03 rec3=000
tail 0x217399282854141c932e4 0x42a00088462063c03