MySQL 8.4.3
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 &&)=default | |
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 &)=default |
SQL_I_List & | operator= (SQL_I_List &&)=default |
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 |
|
default |
|
inline |
|
inline |
|
default |
|
default |
|
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.