MySQL 9.1.0
Source Code Documentation
|
Simple intrusive linked list. More...
#include <sql_list.h>
Public Member Functions | |
SQL_I_List () | |
SQL_I_List (const SQL_I_List &tmp) | |
SQL_I_List (SQL_I_List &&that) | |
void | clear () |
void | link_in_list (T *element, T **next_ptr) |
void | save_and_clear (SQL_I_List< T > *save) |
void | push_front (SQL_I_List< T > *save) |
void | push_back (SQL_I_List< T > *save) |
void | split_after (uint sz, SQL_I_List< T > *tail) |
uint | size () const |
SQL_I_List & | operator= (SQL_I_List &that) |
SQL_I_List & | operator= (SQL_I_List &&that) |
Public Attributes | |
uint | elements |
T * | first |
The first element in the list. More... | |
T ** | next |
A reference to the next element in the list. More... | |
Simple intrusive linked list.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint SQL_I_List< T >::elements |
T* SQL_I_List< T >::first |
The first element in the list.
If empty, nullptr
T** SQL_I_List< T >::next |
A reference to the next element in the list.
If empty points to the head element's 'first' pointer, else to the last element's next pointer.