MySQL 5.6.14 Source Code Document
|
Classes | |
struct | Head |
Public Member Functions | |
DLCFifoList (ArrayPool< T > &thePool) | |
Uint32 | count () const |
bool | seize (Ptr< T > &ptr) |
bool | seizeFirst (Ptr< T > &ptr) |
bool | seizeLast (Ptr< T > &ptr) |
bool | seizeId (Ptr< T > &ptr, Uint32 i) |
void | add (Ptr< T > &ptr) |
void | addFirst (Ptr< T > &ptr) |
void | addLast (Ptr< T > &ptr) |
void | insert (Ptr< T > &ptr, Ptr< T > &loc) |
void | remove (T *t) |
void | remove (Ptr< T > &ptr) |
void | release (Uint32 i) |
void | release (Ptr< T > &ptr) |
void | release () |
void | getPtr (Ptr< T > &ptr, Uint32 i) const |
void | getPtr (Ptr< T > &ptr) const |
T * | getPtr (Uint32 i) const |
bool | first (Ptr< T > &ptr) const |
bool | last (Ptr< T > &ptr) const |
bool | next (Ptr< T > &ptr) const |
bool | prev (Ptr< T > &ptr) const |
bool | hasNext (const Ptr< T > &ptr) const |
bool | hasPrev (const Ptr< T > &ptr) const |
bool | isEmpty () const |
DLCFifoList< T > & | operator= (const DLCFifoList< T > &src) |
Protected Attributes | |
Head | head |
Additional Inherited Members | |
Protected Member Functions inherited from DLFifoList< T, U > | |
DLFifoList (ArrayPool< T > &p) |
Definition at line 27 of file DLCFifoList.hpp.
|
inline |
Update ptr to first element in list
Return true if ok, false if empty
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 133 of file DLCFifoList.hpp.
|
inline |
Update i & p value according to i
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 121 of file DLCFifoList.hpp.
|
inline |
Update p value for ptr according to i value
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 125 of file DLCFifoList.hpp.
|
inline |
Get pointer for i value
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 129 of file DLCFifoList.hpp.
|
inline |
Check if next exists i.e. this is not last
NOTE ptr must be both p & i
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 149 of file DLCFifoList.hpp.
|
inline |
Check if next exists i.e. this is not last
NOTE ptr must be both p & i
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 153 of file DLCFifoList.hpp.
|
inline |
Insert object ptr</ptr> before loc
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 91 of file DLCFifoList.hpp.
|
inline |
Update ptr to last element in list
Return true if ok, false if empty
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 137 of file DLCFifoList.hpp.
|
inline |
Get next element
NOTE ptr must be both p & i
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 141 of file DLCFifoList.hpp.
|
inline |
Get next element
NOTE ptr must be both p & i
Reimplemented from DLFifoListImpl< ArrayPool< T >, T, U >.
Definition at line 145 of file DLCFifoList.hpp.