MySQL 8.4.2
Source Code Documentation
List_iterator< T > Class Template Reference

#include <sql_list.h>

Inheritance diagram for List_iterator< T >:
[legend]

Public Member Functions

 List_iterator (List< T > &a)
 
 List_iterator ()
 
void init (List< T > &a)
 
T * operator++ (int)
 
T * replace (T *a)
 
T * replace (List< T > &a)
 
void rewind (void)
 
void remove ()
 
void after (T *a)
 
bool after (T *a, MEM_ROOT *mem_root)
 
T ** ref (void)
 
- Public Member Functions inherited from base_list_iterator
 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)
 

Additional Inherited Members

- Protected Member Functions inherited from base_list_iterator
void sublist (base_list &ls, uint elm)
 
- Protected Attributes inherited from base_list_iterator
base_listlist
 
list_node ** el
 
list_node ** prev
 
list_nodecurrent
 

Constructor & Destructor Documentation

◆ List_iterator() [1/2]

template<class T >
List_iterator< T >::List_iterator ( List< T > &  a)
inline

◆ List_iterator() [2/2]

template<class T >
List_iterator< T >::List_iterator ( )
inline

Member Function Documentation

◆ after() [1/2]

template<class T >
void List_iterator< T >::after ( T *  a)
inline

◆ after() [2/2]

template<class T >
bool List_iterator< T >::after ( T *  a,
MEM_ROOT mem_root 
)
inline

◆ init()

template<class T >
void List_iterator< T >::init ( List< T > &  a)
inline

◆ operator++()

template<class T >
T * List_iterator< T >::operator++ ( int  )
inline

◆ ref()

template<class T >
T ** List_iterator< T >::ref ( void  )
inline

◆ remove()

template<class T >
void List_iterator< T >::remove ( void  )
inline

◆ replace() [1/2]

template<class T >
T * List_iterator< T >::replace ( List< T > &  a)
inline

◆ replace() [2/2]

template<class T >
T * List_iterator< T >::replace ( T *  a)
inline

◆ rewind()

template<class T >
void List_iterator< T >::rewind ( void  )
inline

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