|
MySQL 5.6.14 Source Code Document
|
#include <DLFifoList.hpp>


Classes | |
| struct | Head |
Public Member Functions | |
| DLFifoListImpl (P &thePool) | |
| bool | seizeFirst (Ptr< T > &) |
| bool | seizeLast (Ptr< T > &) |
| bool | seize (Ptr< T > &ptr) |
| void | release (Ptr< T > &) |
| void | release () |
| void | addFirst (Ptr< T > &) |
| void | addLast (Ptr< T > &) |
| void | add (Ptr< T > &ptr) |
| void | insert (Ptr< T > &ptr, Ptr< T > &loc) |
| void | remove () |
| 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 | last (Ptr< T > &) const |
| bool | next (Ptr< T > &) const |
| bool | prev (Ptr< T > &) const |
| bool | hasNext (const Ptr< T > &) const |
| bool | hasPrev (const Ptr< T > &) const |
| bool | isEmpty () const |
| DLFifoListImpl< P, T, U > & | operator= (const DLFifoListImpl< P, T, U > &src) |
Protected Attributes | |
| Head | head |
| P & | thePool |
Template class used for implementing an list of object retreived from a pool
Definition at line 31 of file DLFifoList.hpp.
|
inline |
Update ptr to first element in list
Return true if ok, false if empty
Update ptr to first element in list
Return i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 393 of file DLFifoList.hpp.

|
inline |
Update i & p value according to i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 363 of file DLFifoList.hpp.
|
inline |
Update p value for ptr according to i value
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 372 of file DLFifoList.hpp.
|
inline |
Get pointer for i value
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 380 of file DLFifoList.hpp.
|
inline |
Check if next exists i.e. this is not last
NOTE ptr must be both p & i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 453 of file DLFifoList.hpp.
|
inline |
Check if next exists i.e. this is not last
NOTE ptr must be both p & i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 461 of file DLFifoList.hpp.
|
inline |
Insert object ptr</ptr> before loc
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 267 of file DLFifoList.hpp.


|
inline |
Update ptr to last element in list
Return true if ok, false if empty
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 408 of file DLFifoList.hpp.

|
inline |
Get next element
NOTE ptr must be both p & i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 423 of file DLFifoList.hpp.

|
inline |
Copy list (head) Will construct to identical lists
Definition at line 134 of file DLFifoList.hpp.
|
inline |
Get next element
NOTE ptr must be both p & i
Reimplemented in DLCFifoList< T, U >, DLCFifoList< Page_entry, Page_entry_queue_ptr >, DLCFifoList< Gcp_record >, DLCFifoList< RedoCacheLogPageRecord >, DLCFifoList< Page_entry, Page_entry_stack_ptr >, DLCFifoList< Table >, and DLCFifoList< LogFileRecord >.
Definition at line 438 of file DLFifoList.hpp.
