34#if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBDICT)
35#error prefer SbHash over SbDict for internal code
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);
The SbDict class organizes a dictionary of keys and values.
Definition SbDict.h:47
The SbPList class is a container class for void pointers.
Definition SbPList.h:31
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen. 1.12.0