34#if defined(COIN_INTERNAL) && !defined(COIN_ALLOW_SBDICT)
35#error prefer SbHash over SbDict for internal code
41#include <Inventor/SbBasic.h>
48typedef uintptr_t SbDictKeyType;
49typedef void SbDictApplyFunc(SbDictKeyType key,
void * value);
50typedef void SbDictApplyDataFunc(SbDictKeyType key,
void * value,
void * data);
51typedef SbDictKeyType SbDictHashingFunc(
const SbDictKeyType key);
56 SbDict(
const int entries = 251);
62 typedef uintptr_t Key;
64 void applyToAll(SbDictApplyFunc * rtn)
const;
65 void applyToAll(SbDictApplyDataFunc * rtn,
void * data)
const;
68 SbBool enter(
const Key key,
void *
const value);
69 SbBool find(
const Key key,
void *& value)
const;
71 SbBool remove(
const Key key);
73 void setHashingFunction(SbDictHashingFunc * func);
76 struct cc_hash * hashtable;
The SbDict class organizes a dictionary of keys and values.
Definition SbDict.h:54
The SbPList class is a container class for void pointers.
Definition SbPList.h:31
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.