ObjectTable.h File Reference

#include "Object.h"

Include dependency graph for ObjectTable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Classes

struct  cmlabs::HashEntry
struct  cmlabs::HashTable
class  cmlabs::CollectionEntry
class  cmlabs::SortedEntry
class  cmlabs::ObjectTable

Defines

#define _OBJECTTABLE_H_
#define SORTNONE   0
#define SORTBYKEY   1
#define SORTBYVALUE   2
#define SORTREVERSE   4
#define FINDREVERSE   8

Functions

static unsigned int cmlabs::hash2index (unsigned int length, unsigned long hash)
struct HashTable * cmlabs::create_hashtable (unsigned int minsize)
unsigned long cmlabs::hash (unsigned long hashkey)
static int cmlabs::hashtable_expand (struct HashTable *h)
unsigned int cmlabs::hashtable_count (const struct HashTable *h)
bool cmlabs::hashtable_insert_key (struct HashTable *h, CollectionEntry *entry)
bool cmlabs::hashtable_insert_value (struct HashTable *h, CollectionEntry *entry)
CollectionEntry * cmlabs::hashtable_search_key (const struct HashTable *h, const Object *key)
CollectionEntry * cmlabs::hashtable_search_value (const struct HashTable *h, const Object *value)
ObjectCollection * cmlabs::hashtable_search_values (const struct HashTable *h, const Object *value)
bool cmlabs::hashtable_remove_key (struct HashTable *h, const CollectionEntry *entry)
bool cmlabs::hashtable_remove_value (struct HashTable *h, const CollectionEntry *entry)
void cmlabs::hashtable_destroy (struct HashTable *h)


Define Documentation

#define _OBJECTTABLE_H_

Definition at line 28 of file ObjectTable.h.

#define FINDREVERSE   8

Definition at line 128 of file ObjectTable.h.

#define SORTBYKEY   1

Definition at line 125 of file ObjectTable.h.

#define SORTBYVALUE   2

Definition at line 126 of file ObjectTable.h.

#define SORTNONE   0

Definition at line 124 of file ObjectTable.h.

#define SORTREVERSE   4

Definition at line 127 of file ObjectTable.h.


Generated on Tue Jul 7 16:20:59 2009 for CoreLibrary by  doxygen 1.5.6