class MwNameEntry

MwNameEntry: Used to make lists of MwName instances

Public Methods

MbBool isEmpty()
Returns TRUE if entry's string is empty ("")
MbBool isEqual(const char *s)
Returns TRUE if entry's string is same as passed string

Private Fields

static struct MwNameChunk *chunk
Chunk of memory for string storage
u_long hashValue
Its hash value
friend class MwName
static MwNameEntry** nameTable
Array of name entries
static int nameTableSize
Number of buckets in name table
MwNameEntry* next
Pointer to next entry
PFSTRUCT_DECLARE
const char* string
String for this entry

Private Methods

static void initClass()
Initializes MwNameEntry class - done only once
static const MwNameEntry* insert(const char *s)
MwNameEntry(const char *s, u_long h, MwNameEntry *n)

Documentation

MwNameEntry: Used to make lists of MwName instances
MbBool isEmpty()
Returns TRUE if entry's string is empty ("")

MbBool isEqual(const char *s)
Returns TRUE if entry's string is same as passed string

static int nameTableSize
Number of buckets in name table

static MwNameEntry** nameTable
Array of name entries

static struct MwNameChunk *chunk
Chunk of memory for string storage

const char* string
String for this entry

u_long hashValue
Its hash value

MwNameEntry* next
Pointer to next entry

static void initClass()
Initializes MwNameEntry class - done only once

MwNameEntry(const char *s, u_long h, MwNameEntry *n)

static const MwNameEntry* insert(const char *s)

PFSTRUCT_DECLARE

friend class MwName


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de