Bullet Collision Detection & Physics Library
|
The btHashMap template class implements a generic and lightweight hashmap. More...
#include <btHashMap.h>
Public Member Functions | |
void | insert (const Key &key, const Value &value) |
void | remove (const Key &key) |
int | size () const |
const Value * | getAtIndex (int index) const |
Value * | getAtIndex (int index) |
Key | getKeyAtIndex (int index) |
const Key | getKeyAtIndex (int index) const |
Value * | operator[] (const Key &key) |
const Value * | operator[] (const Key &key) const |
const Value * | find (const Key &key) const |
Value * | find (const Key &key) |
int | findIndex (const Key &key) const |
void | clear () |
Protected Member Functions | |
void | growTables (const Key &) |
Protected Attributes | |
btAlignedObjectArray< int > | m_hashTable |
btAlignedObjectArray< int > | m_next |
btAlignedObjectArray< Value > | m_valueArray |
btAlignedObjectArray< Key > | m_keyArray |
The btHashMap template class implements a generic and lightweight hashmap.
A basic sample of how to use btHashMap is located in Demos\BasicDemo\main.cpp
Definition at line 225 of file btHashMap.h.
|
inline |
Definition at line 472 of file btHashMap.h.
|
inline |
Definition at line 434 of file btHashMap.h.
|
inline |
Definition at line 444 of file btHashMap.h.
|
inline |
Definition at line 455 of file btHashMap.h.
|
inline |
Definition at line 389 of file btHashMap.h.
|
inline |
Definition at line 400 of file btHashMap.h.
|
inline |
Definition at line 411 of file btHashMap.h.
|
inline |
Definition at line 418 of file btHashMap.h.
|
inlineprotected |
Definition at line 235 of file btHashMap.h.
|
inline |
Definition at line 274 of file btHashMap.h.
|
inline |
Definition at line 426 of file btHashMap.h.
|
inline |
Definition at line 430 of file btHashMap.h.
|
inline |
Definition at line 301 of file btHashMap.h.
|
inline |
Definition at line 384 of file btHashMap.h.
|
protected |
Definition at line 229 of file btHashMap.h.
|
protected |
Definition at line 233 of file btHashMap.h.
|
protected |
Definition at line 230 of file btHashMap.h.
|
protected |
Definition at line 232 of file btHashMap.h.