|
|
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 Object, seg_0365da
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
package body Object is
function Create (What : Class; Value : Integer) return Reference is
Obj : Reference;
begin
Obj.Class_Id := What;
Obj.Object_Id := Value;
return Obj;
end Create;
function Clone (Object : Reference) return Reference is
Obj : Reference;
begin
Obj.Class_Id := Object.Class_Id;
Obj.Object_Id := Object.Object_Id;
return Obj;
end Clone;
function Get_Id (Object : Reference) return Integer is
begin
return Object.Object_Id;
end Get_Id;
function Get_Class (Object : Reference) return Class is
begin
return Object.Class_Id;
end Get_Class;
procedure Set_Id (Object : in out Reference; Value : Integer) is
begin
Object.Object_Id := Value;
end Set_Id;
procedure Set_Class (Object : in out Reference; What : Class) is
begin
Object.Class_Id := What;
end Set_Class;
function Equal (Right, Left : Reference) return Boolean is
begin
return (Class'Pos (Right.Class_Id) = Class'Pos (Left.Class_Id)) and
(Right.Object_Id = Left.Object_Id);
end Equal;
end Object;
nblk1=4
nid=2
hdr6=4
[0x00] rec0=26 rec1=00 rec2=01 rec3=01a
[0x01] rec0=09 rec1=00 rec2=03 rec3=000
[0x02] rec0=07 rec1=00 rec2=02 rec3=000
[0x03] rec0=02 rec1=c0 rec2=fb rec3=442
tail 0x2152fcf9884de85e01f80 0x42a00088462060003
Free Block Chain:
0x2: 0000 00 04 00 90 00 1c 20 20 20 20 20 20 20 20 2d 2d ┆ --┆
0x4: 0000 00 00 00 04 80 01 74 01 02 03 04 05 06 20 20 20 ┆ t ┆