Starshatter_Open
Open source Starshatter engine
|
#include <Dictionary.h>
Public Member Functions | |
Dictionary () | |
~Dictionary () | |
T & | operator[] (const Text &key) |
void | insert (const Text &key, const T &val) |
void | remove (const Text &key) |
void | clear () |
int | size () const |
int | isEmpty () const |
int | contains (const Text &key) const |
T | find (const Text &key, T defval) const |
Friends | |
class | DictionaryIter< T > |
Definition at line 28 of file Dictionary.h.
Dictionary< T >::Dictionary | ( | ) |
Definition at line 25 of file Dictionary.inl.
Dictionary< T >::~Dictionary | ( | ) |
Definition at line 29 of file Dictionary.inl.
void Dictionary< T >::clear | ( | ) |
Definition at line 42 of file Dictionary.inl.
int Dictionary< T >::contains | ( | const Text & | key | ) | const |
Definition at line 145 of file Dictionary.inl.
T Dictionary< T >::find | ( | const Text & | key, |
T | defval | ||
) | const |
Definition at line 164 of file Dictionary.inl.
void Dictionary< T >::insert | ( | const Text & | key, |
const T & | val | ||
) |
Definition at line 102 of file Dictionary.inl.
|
inline |
Definition at line 42 of file Dictionary.h.
T & Dictionary< T >::operator[] | ( | const Text & | key | ) |
Definition at line 60 of file Dictionary.inl.
void Dictionary< T >::remove | ( | const Text & | key | ) |
Definition at line 111 of file Dictionary.inl.
|
inline |
Definition at line 41 of file Dictionary.h.
|
friend |
Definition at line 55 of file Dictionary.h.