[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

CliqueNameTable

inherits from Object

Object <- CliqueNameTable



Operations

Get list of all operations

AddName
Compact
CompactNames
Init
RemoveName
Stabilize


Attributes

Get list of all attributes

Class CliqueNameTable defines no new attributes.


Fields

Field Type
CliqueNameTable: deletedSize: Unsigned
cliqueTable: CliqueTable


Instance template

instance CliqueNameTable tag;
    deletedSize: 0;
    cliqueTable: nilObject;
end instance;

Class definition

 
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;