43#if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBDICT)
44#error prefer SbHash over SbDict for internal code
50#include <Inventor/SbBasic.h>
57typedef uintptr_t SbDictKeyType;
58typedef void SbDictApplyFunc(SbDictKeyType key,
void * value);
59typedef void SbDictApplyDataFunc(SbDictKeyType key,
void * value,
void * data);
60typedef SbDictKeyType SbDictHashingFunc(
const SbDictKeyType key);
65 SbDict(
const int entries = 251);
71 typedef uintptr_t Key;
73 void applyToAll(SbDictApplyFunc * rtn)
const;
74 void applyToAll(SbDictApplyDataFunc * rtn,
void * data)
const;
77 SbBool enter(
const Key key,
void *
const value);
78 SbBool find(
const Key key,
void *& value)
const;
80 SbBool remove(
const Key key);
82 void setHashingFunction(SbDictHashingFunc * func);
85 struct cc_hash * hashtable;
The SbDict class organizes a dictionary of keys and values.
Definition: SbDict.h:63
The SbPList class is a container class for void pointers.
Definition: lists/SbPList.h:40