MySQL 9.1.0
Source Code Documentation
http::cno::BufferSequence< SourceType, ResultType >::Iterator Class Reference

#include <buffer_sequence.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = ResultType
 
using difference_type = void
 
using pointer = ResultType *
 
using reference = ResultType &
 

Public Member Functions

 Iterator (const BufferSequence *parent, size_t index)
 
void operator++ ()
 
bool operator!= (const Iterator &it) const
 
bool operator== (const Iterator &it) const
 
reference operator* ()
 
Iterator operator+ (const int value) const
 
pointer operator-> ()
 
 operator value_type ()
 
size_t left ()
 
const SourceType * get_buffer ()
 

Private Member Functions

void make_result ()
 

Private Attributes

const BufferSequenceparent_
 
size_t index_
 
pointer result_ {nullptr}
 

Member Typedef Documentation

◆ difference_type

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
using http::cno::BufferSequence< SourceType, ResultType >::Iterator::difference_type = void

◆ iterator_category

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
using http::cno::BufferSequence< SourceType, ResultType >::Iterator::iterator_category = std::input_iterator_tag

◆ pointer

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
using http::cno::BufferSequence< SourceType, ResultType >::Iterator::pointer = ResultType *

◆ reference

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
using http::cno::BufferSequence< SourceType, ResultType >::Iterator::reference = ResultType &

◆ value_type

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
using http::cno::BufferSequence< SourceType, ResultType >::Iterator::value_type = ResultType

Constructor & Destructor Documentation

◆ Iterator()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
http::cno::BufferSequence< SourceType, ResultType >::Iterator::Iterator ( const BufferSequence parent,
size_t  index 
)
inline

Member Function Documentation

◆ get_buffer()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
const SourceType * http::cno::BufferSequence< SourceType, ResultType >::Iterator::get_buffer ( )
inline

◆ left()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
size_t http::cno::BufferSequence< SourceType, ResultType >::Iterator::left ( )
inline

◆ make_result()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
void http::cno::BufferSequence< SourceType, ResultType >::Iterator::make_result ( )
inlineprivate

◆ operator value_type()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator value_type ( )
inline

◆ operator!=()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
bool http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator!= ( const Iterator it) const
inline

◆ operator*()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
reference http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator* ( )
inline

◆ operator+()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
Iterator http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator+ ( const int  value) const
inline

◆ operator++()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
void http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator++ ( )
inline

◆ operator->()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
pointer http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator-> ( )
inline

◆ operator==()

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
bool http::cno::BufferSequence< SourceType, ResultType >::Iterator::operator== ( const Iterator it) const
inline

Member Data Documentation

◆ index_

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
size_t http::cno::BufferSequence< SourceType, ResultType >::Iterator::index_
private

◆ parent_

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
const BufferSequence* http::cno::BufferSequence< SourceType, ResultType >::Iterator::parent_
private

◆ result_

template<typename SourceType = cno_buffer_t, typename ResultType = net::const_buffer>
pointer http::cno::BufferSequence< SourceType, ResultType >::Iterator::result_ {nullptr}
private

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