MySQL  8.0.24
Source Code Documentation
varlen_iterator Class Reference

#include <varlen_sort.h>

Public Member Functions

 varlen_iterator (unsigned char *ptr_arg, size_t elem_size_arg)
 
varlen_element operator* () const
 
varlen_iteratoroperator++ ()
 
bool operator== (const varlen_iterator &other) const
 
bool operator!= (const varlen_iterator &other) const
 
varlen_element operator-> () const
 
 varlen_iterator ()
 
varlen_iterator operator++ (int)
 
varlen_iteratoroperator-- ()
 
varlen_iterator operator-- (int)
 
varlen_iteratoroperator+= (size_t n)
 
varlen_iteratoroperator-= (size_t n)
 
varlen_iterator operator+ (size_t n) const
 
varlen_iterator operator- (size_t n) const
 
ptrdiff_t operator- (const varlen_iterator &other) const
 
varlen_element operator[] (size_t i) const
 
bool operator< (varlen_iterator &other) const
 
bool operator> (varlen_iterator &other) const
 
bool operator>= (varlen_iterator &other) const
 
bool operator<= (varlen_iterator &other) const
 

Private Attributes

unsigned char * ptr = nullptr
 
size_t elem_size = 0
 

Constructor & Destructor Documentation

◆ varlen_iterator() [1/2]

varlen_iterator::varlen_iterator ( unsigned char *  ptr_arg,
size_t  elem_size_arg 
)
inline

◆ varlen_iterator() [2/2]

varlen_iterator::varlen_iterator ( )
inline

Member Function Documentation

◆ operator!=()

bool varlen_iterator::operator!= ( const varlen_iterator other) const
inline

◆ operator*()

varlen_element varlen_iterator::operator* ( ) const
inline

◆ operator+()

varlen_iterator varlen_iterator::operator+ ( size_t  n) const
inline

◆ operator++() [1/2]

varlen_iterator& varlen_iterator::operator++ ( )
inline

◆ operator++() [2/2]

varlen_iterator varlen_iterator::operator++ ( int  )
inline

◆ operator+=()

varlen_iterator& varlen_iterator::operator+= ( size_t  n)
inline

◆ operator-() [1/2]

ptrdiff_t varlen_iterator::operator- ( const varlen_iterator other) const
inline

◆ operator-() [2/2]

varlen_iterator varlen_iterator::operator- ( size_t  n) const
inline

◆ operator--() [1/2]

varlen_iterator& varlen_iterator::operator-- ( )
inline

◆ operator--() [2/2]

varlen_iterator varlen_iterator::operator-- ( int  )
inline

◆ operator-=()

varlen_iterator& varlen_iterator::operator-= ( size_t  n)
inline

◆ operator->()

varlen_element varlen_iterator::operator-> ( ) const
inline

◆ operator<()

bool varlen_iterator::operator< ( varlen_iterator other) const
inline

◆ operator<=()

bool varlen_iterator::operator<= ( varlen_iterator other) const
inline

◆ operator==()

bool varlen_iterator::operator== ( const varlen_iterator other) const
inline

◆ operator>()

bool varlen_iterator::operator> ( varlen_iterator other) const
inline

◆ operator>=()

bool varlen_iterator::operator>= ( varlen_iterator other) const
inline

◆ operator[]()

varlen_element varlen_iterator::operator[] ( size_t  i) const
inline

Member Data Documentation

◆ elem_size

size_t varlen_iterator::elem_size = 0
private

◆ ptr

unsigned char* varlen_iterator::ptr = nullptr
private

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