MySQL 5.6.14 Source Code Document
|
#include <DLList.hpp>
Classes | |
struct | Head |
struct | HeadPOD |
Public Member Functions | |
DLListImpl (P &thePool) | |
bool | seize (Ptr< T > &) |
bool | seizeId (Ptr< T > &, Uint32 i) |
bool | findId (Uint32 i) const |
void | release (Uint32 i) |
void | release (Ptr< T > &) |
void | release () |
void | remove () |
void | add (Ptr< T > &) |
void | add (Uint32 first, Ptr< T > &last) |
void | remove (Ptr< T > &) |
void | remove (T *) |
void | getPtr (Ptr< T > &, Uint32 i) const |
void | getPtr (Ptr< T > &) const |
T * | getPtr (Uint32 i) const |
bool | first (Ptr< T > &) const |
bool | next (Ptr< T > &) const |
bool | hasNext (const Ptr< T > &) const |
bool | isEmpty () const |
Protected Attributes | |
Head | head |
P & | thePool |
Template class used for implementing an list of object retreived from a pool
Definition at line 28 of file DLList.hpp.
|
inline |
Add object to list
MUST be seized from correct pool
Definition at line 260 of file DLList.hpp.
|
inline |
Add a list to list all elements must be correctly initilized correctly wrt next/prev
Definition at line 279 of file DLList.hpp.
|
inline |
Check if i is allocated.
Definition at line 252 of file DLList.hpp.
|
inline |
Update ptr to first element in list
Update ptr to first element in list
Return i
Definition at line 406 of file DLList.hpp.
|
inline |
Update i & p value according to i
Definition at line 376 of file DLList.hpp.
|
inline |
Update p value for ptr according to i value
Definition at line 385 of file DLList.hpp.
|
inline |
Get pointer for i value
Definition at line 393 of file DLList.hpp.
|
inline |
Check if next exists
Definition at line 437 of file DLList.hpp.
|
inline |
Get next element
Definition at line 422 of file DLList.hpp.
|
inline |
Return an object to pool
Definition at line 329 of file DLList.hpp.
|
inline |
Return an object to pool
Definition at line 343 of file DLList.hpp.
|
inline |
Return all objects to the pool
Definition at line 352 of file DLList.hpp.
|
inline |
Remove all objects from list
Definition at line 368 of file DLList.hpp.
|
inline |
|
inline |
|
inline |
Allocate an object from pool - update Ptr
Return i
Definition at line 221 of file DLList.hpp.
|
inline |
Allocate object i from pool - update Ptr
Return i
Allocate an object from pool - update Ptr
Return i
Definition at line 239 of file DLList.hpp.