34#if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBDICT)
35#error prefer SbHash over SbDict for internal code
41#include <Inventor/SbBasic.h>
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));
71 static void copyval(Key key,
void * value,
void * data);
The SbDict class organizes a dictionary of keys and values.
Definition SbDict.h:47
The SbList class is a template container class for lists.
Definition SbList.h:47
int find(const Type item) const
Definition SbList.h:103
SbList< Type > & operator=(const SbList< Type > &l)
Definition SbList.h:76
void remove(const int index)
Definition SbList.h:129
The SbPList class is a container class for void pointers.
Definition SbPList.h:31