#include <sql_list.h>
|
void * | at (uint index) |
| For debugging purposes (e.g. More...
|
|
◆ base_list() [1/3]
◆ base_list() [2/3]
base_list::base_list |
( |
const base_list & |
tmp | ) |
|
|
inline |
This is a shallow copy constructor that implicitly passes the ownership from the source list to the new instance.
The old instance is not updated, so both objects end up sharing the same nodes. If one of the instances then adds or removes a node, the other becomes out of sync ('last' pointer), while still operational. Some old code uses and relies on this behaviour. This logic is quite tricky: please do not use it in any new code.
◆ base_list() [3/3]
Construct a deep copy of the argument in memory root mem_root.
The elements themselves are copied by pointer.
◆ after() [1/2]
void base_list::after |
( |
void * |
info, |
|
|
list_node * |
node |
|
) |
| |
|
inlineprotected |
◆ after() [2/2]
◆ at()
void * base_list::at |
( |
uint |
index | ) |
|
|
private |
For debugging purposes (e.g.
forced call from gdb). Return a pointer to element number 'index', or nullptr if 'index' >= 'elements'.
◆ clear()
void base_list::clear |
( |
| ) |
|
|
inline |
◆ concat()
◆ disjoin()
◆ first_node()
◆ head() [1/2]
void * base_list::head |
( |
| ) |
|
|
inline |
◆ head() [2/2]
const void * base_list::head |
( |
| ) |
const |
|
inline |
◆ head_ref()
void ** base_list::head_ref |
( |
| ) |
|
|
inline |
◆ is_empty()
bool base_list::is_empty |
( |
void |
| ) |
const |
|
inline |
◆ last_node()
◆ last_ref()
◆ operator=()
◆ operator==()
bool base_list::operator== |
( |
const base_list & |
rhs | ) |
const |
|
inline |
◆ pop()
void * base_list::pop |
( |
void |
| ) |
|
|
inline |
◆ prepend()
◆ push_back() [1/2]
bool base_list::push_back |
( |
void * |
info | ) |
|
|
inline |
◆ push_back() [2/2]
bool base_list::push_back |
( |
void * |
info, |
|
|
MEM_ROOT * |
mem_root |
|
) |
| |
|
inline |
◆ push_front() [1/2]
bool base_list::push_front |
( |
void * |
info | ) |
|
|
inline |
◆ push_front() [2/2]
bool base_list::push_front |
( |
void * |
info, |
|
|
MEM_ROOT * |
mem_root |
|
) |
| |
|
inline |
◆ remove()
◆ size()
uint base_list::size |
( |
| ) |
const |
|
inline |
◆ swap()
◆ base_list_iterator
◆ error_list
◆ error_list_iterator
friend class error_list_iterator |
|
friend |
◆ elements
◆ first
◆ last
The documentation for this class was generated from the following files: