Object <- CliqueNameTable |
|
|
AddName Compact CompactNames Init RemoveName Stabilize |
Class CliqueNameTable defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| CliqueNameTable: | deletedSize: | Unsigned |
| cliqueTable: | CliqueTable |
instance CliqueNameTable tag; deletedSize: 0; cliqueTable: nilObject; end instance;
Define Class CliqueNameTable; inherits from Object; uses extra; field deletedSize: Unsigned; // Total size of deleted names in this object's extra data field cliqueTable: CliqueTable, weak; // The CliqueTable which owns this name table. operation AddName(name: ReadOnlyPascalString): TrackedIndexHack; // Add the name to the name table. Return its offset. // CAUTION: The CliqueNameTable must be fastened when making this call. operation RemoveName(offset: TrackedIndex); // Remove the name at the given offset. operation CompactNames(); // Compact the names so that deletedSize becomes zero. overrides Init; overrides Stabilize; overrides Compact; end class;