|
|
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, generic, package Generic_List, seg_04751a
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
generic
type Element is private;
with function Are_Equal (Elt1, Elt2 : Element) return Boolean;
with procedure Deep_Copy (Target : in out Element; Source : in Element);
package Generic_List is
Access_Outside_The_List : exception;
type Object is limited private;
type Iterator is private;
procedure Free (The_List : in out Object);
procedure Add (At_List : in out Object; The_Element : Element);
procedure Delete (At_List : in out Object; The_Element : Element);
function Is_In_List
(In_List : in Object; The_Element : Element) return Boolean;
function Is_Empty (The_List : in Object) return Boolean;
procedure Deep_Copy (In_List : in Object; Out_List : in out Object);
-- manipulation de l'iterateur
procedure Initialize (It : in out Iterator; On_List : in Object);
procedure Next (It : in out Iterator);
function Consult (It : in Iterator) return Element;
function At_End (It : in Iterator) return Boolean;
procedure Close (It : in out Iterator);
private
type Cell;
type Pcell is access Cell;
type Object is
record
First_Cell, Last_Cell : Pcell;
end record;
type Iterator is
record
Opened : Boolean;
Current : Pcell;
end record;
end Generic_List;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=18 rec1=00 rec2=01 rec3=03c
[0x01] rec0=11 rec1=00 rec2=02 rec3=001
tail 0x215444d008653935f4e7c 0x42a00088462060003