String::StringIterator Class Reference

#include <string.h>

Inheritance diagram for String::StringIterator:

Public Member Functions

 StringIterator ()
 
 StringIterator (const StridedBlock< const Generic > &buffer, Int start=0)
 
Utf32Char operator* () const
 
- Public Member Functions inherited from BaseIterator< const StridedBlock< const Generic >, true >
 BaseIterator (CollectionType &a, Int start=0)
 
 BaseIterator (ValueType *pos=nullptr, Int index=0, Int stride=0)
 
 BaseIterator (const BaseIterator &src)=default
 
BaseIteratoroperator= (const BaseIterator &src)=default
 
 operator BaseIterator< typename std::add_const< const StridedBlock< const Generic > >::type, STRIDED > & ()
 
 operator Bool () const
 
ValueTypeGetPtr () const
 
ValueTypeoperator* () const
 
ValueTypeoperator-> () const
 
Bool operator== (const BaseIterator &b) const
 
Bool operator< (const BaseIterator &b) const
 
 MAXON_OPERATOR_COMPARISON (BaseIterator)
 
BaseIteratoroperator++ ()
 
BaseIterator operator++ (int)
 
BaseIteratoroperator+= (Int i)
 
BaseIteratoroperator-- ()
 
BaseIterator operator-- (int)
 
BaseIteratoroperator-= (Int i)
 
BaseIterator operator+ (Int i) const
 
BaseIterator operator- (Int i) const
 
Int operator- (const BaseIterator &b) const
 

Private Member Functions

Generic * operator-> () const
 

Additional Inherited Members

- Public Types inherited from BaseIterator< const StridedBlock< const Generic >, true >
using CollectionType = const StridedBlock< const Generic >
 
using ValueType = typename InheritConst< typename const StridedBlock< const Generic > ::ValueType, const StridedBlock< const Generic > >::type
 
using iterator_category = std::random_access_iterator_tag
 
using difference_type = Int
 
using value_type = ValueType
 
using pointer = ValueType *
 
using reference = ValueType &
 
- Static Public Attributes inherited from BaseIterator< const StridedBlock< const Generic >, true >
static const Bool isLinearIterator
 
- Protected Attributes inherited from BaseIterator< const StridedBlock< const Generic >, true >
ValueType_data
 

Constructor & Destructor Documentation

◆ StringIterator() [1/2]

StringIterator ( )
explicit

◆ StringIterator() [2/2]

StringIterator ( const StridedBlock< const Generic > &  buffer,
Int  start = 0 
)
explicit

Member Function Documentation

◆ operator*()

Utf32Char operator* ( ) const

◆ operator->()

Generic* operator-> ( ) const
private