MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
DLCHashTable (ArrayPool< T > &thePool) | |
Uint32 | count () const |
void | add (Ptr< T > &ptr) |
void | remove (Ptr< T > &ptr, const T &key) |
void | remove (Uint32 i) |
void | remove (Ptr< T > &ptr) |
void | removeAll () |
void | release (Ptr< T > &ptr, const T &key) |
void | release (Uint32 i) |
void | release (Ptr< T > &ptr) |
Public Member Functions inherited from DLHashTable< T, U > | |
DLHashTable (ArrayPool< T > &p) | |
Public Member Functions inherited from DLHashTableImpl< ArrayPool< T >, T, U > | |
DLHashTableImpl (ArrayPool< T > &thePool) | |
bool | setSize (Uint32 noOfElements) |
bool | seize (Ptr< T > &) |
bool | find (Ptr< T > &, const T &key) const |
void | getPtr (Ptr< T > &, Uint32 i) const |
void | getPtr (Ptr< T > &) const |
T * | getPtr (Uint32 i) const |
void | getPtr (Iterator &iter) const |
bool | first (Iterator &iter) const |
bool | next (Iterator &iter) const |
bool | next (Uint32 bucket, Iterator &iter) const |
Definition at line 27 of file DLCHashTable.hpp.
|
inline |
Add an object to the hashtable
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 40 of file DLCHashTable.hpp.
|
inline |
Remove element and return to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 70 of file DLCHashTable.hpp.
|
inline |
Remove element and return to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 75 of file DLCHashTable.hpp.
|
inline |
Remove element (and set Ptr to removed element) Note does not return to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 45 of file DLCHashTable.hpp.
|
inline |
Remove element Note does not return to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 50 of file DLCHashTable.hpp.
|
inline |
Remove element Note does not return to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 55 of file DLCHashTable.hpp.
|
inline |
Remove all elements, but dont return them to pool
Reimplemented from DLHashTableImpl< ArrayPool< T >, T, U >.
Definition at line 60 of file DLCHashTable.hpp.