|
|
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 General_On_Ladder_Rule, package body General_Start_Rule, package body Mb_Test_General_Rules, seg_03c2e3, seg_03c4e9, seg_03c690, seg_03c9c5, seg_04a999, seg_04b407
└─⟦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 Mb_Kbs;
with Mb_Frames;
with Output_Stream;
with Slot;
use Mb_Kbs;
use Mb_Frames;
use Output_Stream;
package body Mb_Test_General_Rules is
use Kbs;
use Kbs.Fact_Base.Predicate;
use Kbs.Fact_Base.Predicate.System_Defined_Predicate;
type Rule_Names is (General_Start, General_On_Ladder, No_More);
---------------------------------------------------------------------------
package General_Start_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end General_Start_Rule;
package body General_Start_Rule is separate;
---------------------------------------------------------------------------
package General_On_Ladder_Rule is
function Premiss return Fact_Queries;
procedure Action (Objects : Fact_Collection);
end General_On_Ladder_Rule;
package body General_On_Ladder_Rule is separate;
---------------------------------------------------------------------------
package Rule_Bundle is
new Rule_Base.Generic_Rule_Bundle
(The_Bundle => Mb_Kbs.Test_General_Rules_Bundle,
Rule_Names => Rule_Names,
Nothing => Rule_Names'(No_More),
Rule_1 => General_Start,
Premiss_1 => General_Start_Rule.Premiss,
Action_1 => General_Start_Rule.Action,
Rule_2 => General_On_Ladder,
Premiss_2 => General_On_Ladder_Rule.Premiss,
Action_2 => General_On_Ladder_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 Mb_Test_General_Rules;
nblk1=4
nid=4
hdr6=4
[0x00] rec0=26 rec1=00 rec2=01 rec3=00e
[0x01] rec0=1a rec1=00 rec2=03 rec3=000
[0x02] rec0=03 rec1=00 rec2=04 rec3=000
[0x03] rec0=0b rec1=00 rec2=02 rec3=000
tail 0x2173a4a98858169bd9f92 0x42a00088462063c03
Free Block Chain:
0x4: 0000 00 02 00 38 00 12 20 20 20 20 65 6e 64 20 44 6f ┆ 8 end Do┆
0x2: 0000 00 00 01 3e 80 47 20 20 20 20 20 20 20 20 20 20 ┆ > G ┆