|
|
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 Fact_Reference, seg_04a304, seg_04a9d7, seg_04b444
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
package body Fact_Reference is
function Get_Class (From_Object : Object) return Natural is
begin
return From_Object.Class;
end Get_Class;
function Get_Instance (From_Object : Object) return Natural is
begin
return From_Object.Instance;
end Get_Instance;
function Value (C, I : Natural) return Object is
begin
return (Object'(C, I));
end Value;
procedure Get (From_Object : Object; C, I : out Natural) is
begin
C := From_Object.Class;
I := From_Object.Instance;
end Get;
procedure Set_Class (Of_Object : in out Object; To : Natural) is
begin
Of_Object.Class := To;
end Set_Class;
procedure Set_Instance (Of_Object : in out Object; To : Natural) is
begin
Of_Object.Instance := To;
end Set_Instance;
procedure Put (The_Object : Object; Where : Output_Stream.Object) is
begin
Output_Stream.Put ("Classe => ", Where);
Output_Stream.Put (Natural'Image (The_Object.Class), Where);
Output_Stream.Put (" , Instance => ", Where);
Output_Stream.Put_Line (Natural'Image (The_Object.Class), Where);
end Put;
end Fact_Reference;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=2b rec1=00 rec2=01 rec3=016
[0x01] rec0=06 rec1=00 rec2=02 rec3=001
tail 0x2174ea086866e7c15ffcc 0x42a00088462063c03