|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Fqa_Frames, seg_039de2, seg_03b905, seg_03c05f, seg_03c482, seg_03c629, seg_03c95e, seg_04a932, seg_04b3a2
└─⟦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 Slot;
package body Fqa_Frames is
use Fqa_Kbs.Kbs.Fact_Base.Class;
function Question_Slots_Image
(For_Slot : Query_Slots; Value : Slot.Object) return String is
begin
case For_Slot is
when Number =>
return Integer'Image (Slot.Get (Value));
when others =>
return "Illegal question slot";
end case;
end Question_Slots_Image;
function Answer_Slots_Image
(For_Slot : Answer_Slots; Value : Slot.Object) return String is
begin
case For_Slot is
when Number =>
return Integer'Image (Slot.Get (Value));
when Fqa_Frames.Value =>
return Integer'Image (Slot.Get (Value));
when Erasable =>
return Boolean'Image (Slot.Get (Value));
when others =>
return "Illegal answer slot";
end case;
end Answer_Slots_Image;
procedure Put_Question is new Questions.Generic_Put
(Image => Question_Slots_Image);
procedure Put_Answer is new Answers.Generic_Put
(Image => Answer_Slots_Image);
procedure Put (The_Fact : Fact_Name; Where : Output_Stream.Object) is
The_Class : Class_Names := Class_Name_Of (The_Fact);
begin
case The_Class is
when Question =>
Put_Question (The_Fact, Where);
when Answer =>
Put_Answer (The_Fact, Where);
when Nothing =>
null;
end case;
end Put;
end Fqa_Frames;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=020
[0x01] rec0=19 rec1=00 rec2=02 rec3=001
tail 0x21737626084fd4979b66a 0x42a00088462063c03