NTrace
GPU ray tracing framework
|
#include <Hash.hpp>
Public Types | |
typedef HashEntry< K, V > | Entry |
Public Member Functions | |
Hash (void) | |
Hash (const Hash< K, V > &other) | |
~Hash (void) | |
const Set< Entry > & | getEntries (void) const |
Set< Entry > & | getEntries (void) |
int | getSize (void) const |
bool | contains (const K &key) const |
const Entry * | searchEntry (const K &key) const |
Entry * | searchEntry (const K &key) |
const K * | searchKey (const K &key) const |
K * | searchKey (const K &key) |
const V * | search (const K &key) const |
V * | search (const K &key) |
const Entry & | getEntry (const K &key) const |
Entry & | getEntry (const K &key) |
const K & | getKey (const K &key) const |
K & | getKey (const K &key) |
const V & | get (const K &key) const |
V & | get (const K &key) |
void | clear (void) |
void | reset (void) |
void | setCapacity (int numItems) |
void | compact (void) |
void | set (const Hash< K, V > &other) |
V & | add (const K &key, const V &value) |
V & | add (const K &key) |
V & | remove (const K &key) |
V | replace (const K &key, const V &value) |
int | findSlot (const K &key) const |
int | firstSlot (void) const |
int | nextSlot (int slot) const |
const Entry & | getSlot (int slot) const |
Entry & | getSlot (int slot) |
Hash< K, V > & | operator= (const Hash< K, V > &other) |
const V & | operator[] (const K &key) const |
V & | operator[] (const K &key) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |