DCL 4.0
|
#include <__ListedHashMapT-GCC.h>
Public Member Functions | |
virtual | ~ListedHashMap () |
void | initBuckets (size_t _bucketSize) |
ListedHashMap (size_t _bucketSize=21) | |
ListedHashMap (const ListedHashMap &_src) | |
const ListedHashMap & | operator= (const ListedHashMap &_src) |
ConstIterator | begin () const |
ConstIterator | end () const |
Iterator | begin () |
Iterator | end () |
ReverseConstIterator | rbegin () const |
ReverseConstIterator | rend () const |
ReverseIterator | rbegin () |
ReverseIterator | rend () |
size_t | bucketSize () const |
size_t | size () const |
size_t | sizeOfBucket (size_t index) const |
bool | isEmpty () const |
Iterator | find (const KEY &_key) |
ConstIterator | find (const KEY &_key) const |
bool | lookup (const KEY &_key, VALUE &_rValue) const |
VALUE & | operator[] (const KEY &_key) |
void | put (const KEY &_key, const VALUE &_value, UpdateCallback &_cb) |
size_t | erase (const KEY &_key) |
size_t | erase (const Iterator &_it) |
void | clear () |
virtual | ~ListedHashMap () |
void | initBuckets (size_t _bucketSize) |
ListedHashMap (size_t _bucketSize=21) | |
ListedHashMap (const ListedHashMap &_src) | |
const ListedHashMap & | operator= (const ListedHashMap &_src) |
ConstIterator | begin () const |
ConstIterator | end () const |
Iterator | begin () |
Iterator | end () |
ReverseConstIterator | rbegin () const |
ReverseConstIterator | rend () const |
ReverseIterator | rbegin () |
ReverseIterator | rend () |
size_t | bucketSize () const |
size_t | size () const |
size_t | sizeOfBucket (size_t index) const |
bool | isEmpty () const |
Iterator | find (const KEY &_key) |
ConstIterator | find (const KEY &_key) const |
bool | lookup (const KEY &_key, VALUE &_rValue) const |
VALUE & | operator[] (const KEY &_key) |
void | put (const KEY &_key, const VALUE &_value, UpdateCallback &_cb) |
size_t | erase (const KEY &_key) |
size_t | erase (const Iterator &_it) |
void | clear () |
Public Member Functions inherited from Object | |
virtual String | toString () const |
virtual void | destroy () |
String | className () const |
bool | isInstanceOf (const std::type_info &typeinfo) const |
virtual const std::type_info & | typeInfo () const |
Protected Member Functions | |
size_t | bucketIndex (const KEY &_key) const |
HashNode * | createNode (const KEY &_key) |
void | destroyNode (HashNode *_pNode) |
size_t | bucketIndex (const KEY &_key) const |
HashNode * | createNode (const KEY &_key) |
void | destroyNode (HashNode *_pNode) |
Protected Member Functions inherited from Object | |
virtual | ~Object () |
Object () |
Protected Attributes | |
NodeBase * | __pMasterNode |
HASH_FUN | __hashFun |
size_t | __size |
PointerArray | __buckets |
Friends | |
class | Iterator |
class | ConstIterator |
Definition at line 14 of file __ListedHashMapT-GCC.h.
|
virtual |
Definition at line 643 of file __ListedHashMapT-GCC.h.
ListedHashMap< KEY, VALUE, HASH_FUN >::ListedHashMap | ( | size_t | _bucketSize = 21 | ) |
Definition at line 650 of file __ListedHashMapT-GCC.h.
ListedHashMap< KEY, VALUE, HASH_FUN >::ListedHashMap | ( | const ListedHashMap< KEY, VALUE, HASH_FUN > & | _src | ) |
Definition at line 674 of file __ListedHashMapT-GCC.h.
|
virtual |
ListedHashMap< KEY, VALUE, HASH_FUN >::ListedHashMap | ( | size_t | _bucketSize = 21 | ) |
ListedHashMap< KEY, VALUE, HASH_FUN >::ListedHashMap | ( | const ListedHashMap< KEY, VALUE, HASH_FUN > & | _src | ) |
|
inline |
Definition at line 546 of file __ListedHashMapT-GCC.h.
Iterator ListedHashMap< KEY, VALUE, HASH_FUN >::begin | ( | ) |
|
inline |
Definition at line 530 of file __ListedHashMapT-GCC.h.
ConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::begin | ( | ) | const |
|
inlineprotected |
Definition at line 826 of file __ListedHashMapT-GCC.h.
|
protected |
|
inline |
Definition at line 596 of file __ListedHashMapT-GCC.h.
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::bucketSize | ( | ) | const |
void ListedHashMap< KEY, VALUE, HASH_FUN >::clear | ( | ) |
Definition at line 917 of file __ListedHashMapT-GCC.h.
void ListedHashMap< KEY, VALUE, HASH_FUN >::clear | ( | ) |
|
protected |
Definition at line 833 of file __ListedHashMapT-GCC.h.
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 554 of file __ListedHashMapT-GCC.h.
Iterator ListedHashMap< KEY, VALUE, HASH_FUN >::end | ( | ) |
|
inline |
Definition at line 538 of file __ListedHashMapT-GCC.h.
ConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::end | ( | ) | const |
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::erase | ( | const Iterator & | _it | ) |
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::erase | ( | const Iterator & | _it | ) |
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::erase | ( | const KEY & | _key | ) |
Definition at line 877 of file __ListedHashMapT-GCC.h.
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::erase | ( | const KEY & | _key | ) |
ListedHashMap< KEY, VALUE, HASH_FUN >::Iterator ListedHashMap< KEY, VALUE, HASH_FUN >::find | ( | const KEY & | _key | ) |
Definition at line 734 of file __ListedHashMapT-GCC.h.
Iterator ListedHashMap< KEY, VALUE, HASH_FUN >::find | ( | const KEY & | _key | ) |
ListedHashMap< KEY, VALUE, HASH_FUN >::ConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::find | ( | const KEY & | _key | ) | const |
Definition at line 749 of file __ListedHashMapT-GCC.h.
ConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::find | ( | const KEY & | _key | ) | const |
void ListedHashMap< KEY, VALUE, HASH_FUN >::initBuckets | ( | size_t | _bucketSize | ) |
Definition at line 667 of file __ListedHashMapT-GCC.h.
void ListedHashMap< KEY, VALUE, HASH_FUN >::initBuckets | ( | size_t | _bucketSize | ) |
|
inline |
Definition at line 612 of file __ListedHashMapT-GCC.h.
bool ListedHashMap< KEY, VALUE, HASH_FUN >::isEmpty | ( | ) | const |
bool ListedHashMap< KEY, VALUE, HASH_FUN >::lookup | ( | const KEY & | _key, |
VALUE & | _rValue ) const |
Definition at line 764 of file __ListedHashMapT-GCC.h.
bool ListedHashMap< KEY, VALUE, HASH_FUN >::lookup | ( | const KEY & | _key, |
VALUE & | _rValue ) const |
const ListedHashMap< KEY, VALUE, HASH_FUN > & ListedHashMap< KEY, VALUE, HASH_FUN >::operator= | ( | const ListedHashMap< KEY, VALUE, HASH_FUN > & | _src | ) |
Definition at line 691 of file __ListedHashMapT-GCC.h.
const ListedHashMap & ListedHashMap< KEY, VALUE, HASH_FUN >::operator= | ( | const ListedHashMap< KEY, VALUE, HASH_FUN > & | _src | ) |
VALUE & ListedHashMap< KEY, VALUE, HASH_FUN >::operator[] | ( | const KEY & | _key | ) |
Definition at line 780 of file __ListedHashMapT-GCC.h.
VALUE & ListedHashMap< KEY, VALUE, HASH_FUN >::operator[] | ( | const KEY & | _key | ) |
void ListedHashMap< KEY, VALUE, HASH_FUN >::put | ( | const KEY & | _key, |
const VALUE & | _value, | ||
UpdateCallback & | _cb ) |
_key와 동일한 노드가 있으면 _value를 변경하기 전에 _cb를 호출한다.
Definition at line 801 of file __ListedHashMapT-GCC.h.
void ListedHashMap< KEY, VALUE, HASH_FUN >::put | ( | const KEY & | _key, |
const VALUE & | _value, | ||
UpdateCallback & | _cb ) |
_key와 동일한 노드가 있으면 _value를 변경하기 전에 _cb를 호출한다.
|
inline |
Definition at line 578 of file __ListedHashMapT-GCC.h.
ReverseIterator ListedHashMap< KEY, VALUE, HASH_FUN >::rbegin | ( | ) |
|
inline |
Definition at line 562 of file __ListedHashMapT-GCC.h.
ReverseConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::rbegin | ( | ) | const |
|
inline |
Definition at line 586 of file __ListedHashMapT-GCC.h.
ReverseIterator ListedHashMap< KEY, VALUE, HASH_FUN >::rend | ( | ) |
|
inline |
Definition at line 570 of file __ListedHashMapT-GCC.h.
ReverseConstIterator ListedHashMap< KEY, VALUE, HASH_FUN >::rend | ( | ) | const |
|
inline |
Definition at line 604 of file __ListedHashMapT-GCC.h.
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::size | ( | ) | const |
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::sizeOfBucket | ( | size_t | index | ) | const |
size_t ListedHashMap< KEY, VALUE, HASH_FUN >::sizeOfBucket | ( | size_t | index | ) | const |
|
friend |
Definition at line 162 of file __ListedHashMapT-GCC.h.
|
friend |
Definition at line 161 of file __ListedHashMapT-GCC.h.
|
protected |
Definition at line 159 of file __ListedHashMapT-GCC.h.
|
protected |
Definition at line 157 of file __ListedHashMapT-GCC.h.
|
protected |
Definition at line 156 of file __ListedHashMapT-GCC.h.
|
protected |
Definition at line 158 of file __ListedHashMapT-GCC.h.