OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
con_set< k, v > Class Template Reference

Public Types

using Entry = con_set_Entry<k, v>
 

Public Member Functions

void clear ()
 
void resize (int count=0)
 
v * findKeyValue (const k &key) const
 
k * firstKeyValue ()
 
v & addKeyValue (const k &key)
 
v & addNewKeyValue (const k &key)
 
bool keyExists (const k &key)
 
bool isEmpty ()
 
bool remove (const k &key)
 
unsigned int size ()
 

Static Public Member Functions

static void * NewEntry (size_t size)
 
static void DeleteEntry (void *entry)
 
static void * NewTable (size_t count)
 
static void DeleteTable (void *table)
 

Static Public Attributes

static MEM_BlockAlloc< EntryEntry_allocator
 

Protected Member Functions

EntryfindKeyEntry (const k &key) const
 
EntryaddKeyEntry (const k &key)
 
EntryaddNewKeyEntry (const k &key)
 

Protected Attributes

Entry ** table
 
unsigned int tableLength
 
unsigned int threshold
 
unsigned int count
 
short unsigned int tableLengthIndex
 
EntrydefaultEntry
 

Friends

class con_set_enum< k, v >
 

The documentation for this class was generated from the following file: