HOPS
HOPS class reference
Public Types | Public Member Functions | Protected Attributes | List of all members
hops::MHO_BidirectionalConstIterator< XValueType > Class Template Reference

Class MHO_BidirectionalConstIterator. More...

#include <MHO_BidirectionalIterator.hh>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::bidirectional_iterator_tag
 
using pointer = const XValueType *
 
using reference = const XValueType &
 
using self_type = MHO_BidirectionalConstIterator
 
using value_type = XValueType
 

Public Member Functions

 MHO_BidirectionalConstIterator (const self_type &copy)
 
 MHO_BidirectionalConstIterator (pointer begin_ptr, pointer ptr, std::size_t length)
 
virtual ~MHO_BidirectionalConstIterator ()
 
std::size_t GetOffset () const
 
pointer GetPtr () const
 
bool IsValid () const
 
bool operator!= (const self_type &rhs) const
 
reference operator* () const
 
self_type operator+ (const std::ptrdiff_t &diff)
 
self_type operator++ ()
 
self_type operator++ (int)
 
self_type operator+= (const std::ptrdiff_t &diff)
 
difference_type operator- (const self_type &iter)
 
self_type operator- (const std::ptrdiff_t &diff)
 
self_type operator-- ()
 
self_type operator-- (int)
 
self_type operator-= (const std::ptrdiff_t &diff)
 
pointer operator-> () const
 
self_type operator= (const self_type &rhs)
 
bool operator== (const self_type &rhs) const
 

Protected Attributes

const pointer fBegin
 
std::size_t fLength
 
pointer fPtr
 

Detailed Description

template<typename XValueType>
class hops::MHO_BidirectionalConstIterator< XValueType >

Class MHO_BidirectionalConstIterator.

Member Typedef Documentation

◆ difference_type

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::iterator_category = std::bidirectional_iterator_tag

◆ pointer

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::pointer = const XValueType*

◆ reference

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::reference = const XValueType&

◆ self_type

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::self_type = MHO_BidirectionalConstIterator

◆ value_type

template<typename XValueType >
using hops::MHO_BidirectionalConstIterator< XValueType >::value_type = XValueType

Constructor & Destructor Documentation

◆ MHO_BidirectionalConstIterator() [1/2]

template<typename XValueType >
hops::MHO_BidirectionalConstIterator< XValueType >::MHO_BidirectionalConstIterator ( pointer  begin_ptr,
pointer  ptr,
std::size_t  length 
)
inline

◆ MHO_BidirectionalConstIterator() [2/2]

template<typename XValueType >
hops::MHO_BidirectionalConstIterator< XValueType >::MHO_BidirectionalConstIterator ( const self_type copy)
inline

◆ ~MHO_BidirectionalConstIterator()

template<typename XValueType >
virtual hops::MHO_BidirectionalConstIterator< XValueType >::~MHO_BidirectionalConstIterator ( )
inlinevirtual

Member Function Documentation

◆ GetOffset()

template<typename XValueType >
std::size_t hops::MHO_BidirectionalConstIterator< XValueType >::GetOffset ( ) const
inline

◆ GetPtr()

template<typename XValueType >
pointer hops::MHO_BidirectionalConstIterator< XValueType >::GetPtr ( ) const
inline

◆ IsValid()

template<typename XValueType >
bool hops::MHO_BidirectionalConstIterator< XValueType >::IsValid ( ) const
inline

◆ operator!=()

template<typename XValueType >
bool hops::MHO_BidirectionalConstIterator< XValueType >::operator!= ( const self_type rhs) const
inline

◆ operator*()

template<typename XValueType >
reference hops::MHO_BidirectionalConstIterator< XValueType >::operator* ( ) const
inline

◆ operator+()

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator+ ( const std::ptrdiff_t &  diff)
inline

◆ operator++() [1/2]

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator++ ( int  )
inline

◆ operator+=()

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator+= ( const std::ptrdiff_t &  diff)
inline

◆ operator-() [1/2]

template<typename XValueType >
difference_type hops::MHO_BidirectionalConstIterator< XValueType >::operator- ( const self_type iter)
inline

◆ operator-() [2/2]

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator- ( const std::ptrdiff_t &  diff)
inline

◆ operator--() [1/2]

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator-- ( int  )
inline

◆ operator-=()

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator-= ( const std::ptrdiff_t &  diff)
inline

◆ operator->()

template<typename XValueType >
pointer hops::MHO_BidirectionalConstIterator< XValueType >::operator-> ( ) const
inline

◆ operator=()

template<typename XValueType >
self_type hops::MHO_BidirectionalConstIterator< XValueType >::operator= ( const self_type rhs)
inline

◆ operator==()

template<typename XValueType >
bool hops::MHO_BidirectionalConstIterator< XValueType >::operator== ( const self_type rhs) const
inline

Member Data Documentation

◆ fBegin

template<typename XValueType >
const pointer hops::MHO_BidirectionalConstIterator< XValueType >::fBegin
protected

◆ fLength

template<typename XValueType >
std::size_t hops::MHO_BidirectionalConstIterator< XValueType >::fLength
protected

◆ fPtr

template<typename XValueType >
pointer hops::MHO_BidirectionalConstIterator< XValueType >::fPtr
protected

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