34 #if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBDICT) 35 #error prefer SbHash over SbDict for internal code 36 #endif // COIN_INTERNAL 41 #include <Inventor/SbBasic.h> 49 SbDict(
const int entries = 251);
55 typedef unsigned long Key;
57 void applyToAll(
void (* rtn)(Key key,
void * value))
const;
58 void applyToAll(
void (* rtn)(Key key,
void * value,
void * data),
62 SbBool enter(
const Key key,
void *
const value);
63 SbBool find(
const Key key,
void *& value)
const;
65 SbBool
remove(
const Key key);
67 void setHashingFunction(Key (*func)(
const Key key));
70 struct cc_hash * hashtable;
71 static void copyval(Key key,
void * value,
void * data);
76 #endif // !COIN_SBDICT_H The SbPList class is a container class for void pointers.
Definition: SbPList.h:31
The SbDict class organizes a dictionary of keys and values.It uses hashing to quickly insert and find...
Definition: SbDict.h:47