MySQL 9.1.0
Source Code Documentation
base_list_iterator Class Reference

#include <sql_list.h>

Inheritance diagram for base_list_iterator:
[legend]

Public Member Functions

 base_list_iterator ()
 
 base_list_iterator (base_list &list_par)
 
void init (base_list &list_par)
 
void * next (void)
 
void * next_fast (void)
 
void rewind (void)
 
void * replace (void *element)
 
void * replace (base_list &new_list)
 
void remove (void)
 
void after (void *element)
 
bool after (void *a, MEM_ROOT *mem_root)
 
void ** ref (void)
 
bool is_last (void)
 
bool is_before_first () const
 
bool prepend (void *a, MEM_ROOT *mem_root)
 

Protected Member Functions

void sublist (base_list &ls, uint elm)
 

Protected Attributes

base_listlist
 
list_node ** el
 
list_node ** prev
 
list_nodecurrent
 

Friends

class error_list_iterator
 

Constructor & Destructor Documentation

◆ base_list_iterator() [1/2]

base_list_iterator::base_list_iterator ( )
inline

◆ base_list_iterator() [2/2]

base_list_iterator::base_list_iterator ( base_list list_par)
inline

Member Function Documentation

◆ after() [1/2]

bool base_list_iterator::after ( void *  a,
MEM_ROOT mem_root 
)
inline

◆ after() [2/2]

void base_list_iterator::after ( void *  element)
inline

◆ init()

void base_list_iterator::init ( base_list list_par)
inline

◆ is_before_first()

bool base_list_iterator::is_before_first ( ) const
inline

◆ is_last()

bool base_list_iterator::is_last ( void  )
inline

◆ next()

void * base_list_iterator::next ( void  )
inline

◆ next_fast()

void * base_list_iterator::next_fast ( void  )
inline

◆ prepend()

bool base_list_iterator::prepend ( void *  a,
MEM_ROOT mem_root 
)
inline

◆ ref()

void ** base_list_iterator::ref ( void  )
inline

◆ remove()

void base_list_iterator::remove ( void  )
inline

◆ replace() [1/2]

void * base_list_iterator::replace ( base_list new_list)
inline

◆ replace() [2/2]

void * base_list_iterator::replace ( void *  element)
inline

◆ rewind()

void base_list_iterator::rewind ( void  )
inline

◆ sublist()

void base_list_iterator::sublist ( base_list ls,
uint  elm 
)
inlineprotected

Friends And Related Function Documentation

◆ error_list_iterator

friend class error_list_iterator
friend

Member Data Documentation

◆ current

list_node * base_list_iterator::current
protected

◆ el

list_node** base_list_iterator::el
protected

◆ list

base_list* base_list_iterator::list
protected

◆ prev

list_node ** base_list_iterator::prev
protected

The documentation for this class was generated from the following file: