87    SbDictEntry(
size_t k, 
void *v)       { key = k; value = v; };
 
 
  116    void        applyToAll(
void (*rtn)(
size_t key, 
void *value, 
void *data), 
 
  124    bool        enter(
size_t key, 
void *value);
 
  126    bool        enter(
const void* key, 
void* value) { 
return enter((
size_t)key, value); }
 
  130    bool        find(
size_t key, 
void *&value) 
const;
 
  132    bool        find(
const void* key, 
void* &value)
 const { 
return find((
size_t)key, value); }
 
  149    static void         addEntryToPLists(
size_t key, 
void *value, 
void *data);
 
 
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
 
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
 
A dictionary is stored as a collection of entries, each of which is an SbDictEntry.
 
This is a dictionary mapping (size_t) integer keys to (void *) data pointers.
 
bool remove(const void *key)
Convenience variant with pointer type as key:
 
bool find(const void *key, void *&value) const
Convenience variant with pointer type as key:
 
void clear()
Removes all entries from dictionary.
 
bool enter(const void *key, void *value)
Convenience variant with pointer type as key:
 
void applyToAll(void(*rtn)(size_t key, void *value))
Calls given routine (passing value) for each entry in dictionary.
 
void makePList(SbPList &keys, SbPList &values)
Makes two SbPLists, one for keys and the other for values.
 
bool find(size_t key, void *&value) const
Finds entry with given key, setting value to point to value.
 
SbDict(int entries=251)
Constructor.
 
bool enter(size_t key, void *value)
Enters a key,value pair into the dictionary.
 
bool remove(size_t key)
Removes the entry with the given key. Returns FALSE if no such entry.
 
void applyToAll(void(*rtn)(size_t key, void *value, void *data), void *data)
Calls given routine (passing value,data) for each entry in dictionary.
 
List of generic (void *) pointers.