MySQL 5.6.14 Source Code Document
|
#include <SLFifoList.hpp>
Classes | |
struct | Head |
struct | HeadPOD |
Public Member Functions | |
SLFifoListImpl (P &thePool) | |
bool | seizeFirst (Ptr< T > &) |
bool | seizeLast (Ptr< T > &) |
bool | seize (Ptr< T > &ptr) |
void | releaseFirst (Ptr< T > &) |
void | addFirst (Ptr< T > &) |
void | addLast (Ptr< T > &) |
void | removeFirst (Ptr< T > &) |
void | remove () |
void | getPtr (Ptr< T > &, Uint32 i) const |
void | getPtr (Ptr< T > &) const |
T * | getPtr (Uint32 i) const |
bool | first (Ptr< T > &) const |
bool | last (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 30 of file SLFifoList.hpp.
|
inline |
|
inline |
Update i & p value according to i
Definition at line 262 of file SLFifoList.hpp.
|
inline |
Update p value for ptr according to i value
Definition at line 271 of file SLFifoList.hpp.
|
inline |
Get pointer for i value
Definition at line 279 of file SLFifoList.hpp.
|
inline |
Check if next exists i.e. this is not last
NOTE ptr must be both p & i
Definition at line 337 of file SLFifoList.hpp.
|
inline |
|
inline |