Dynalib Utils
Public Types | Public Member Functions | Friends | List of all members
String::iterator Struct Reference

#include <String.h>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef string_type::value_type value_type
 
typedef string_type::reference reference
 
typedef string_type::pointer pointer
 
typedef string_type::difference_type difference_type
 

Public Member Functions

 iterator ()
 
 iterator (const iterator &other)
 
reference operator* () const
 
pointer operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iterator operator+ (difference_type n) const
 
iteratoroperator+= (difference_type n)
 
iterator operator- (difference_type n) const
 
iteratoroperator-= (difference_type n)
 
difference_type operator- (const iterator &other) const
 
reference operator[] (difference_type n) const
 

Friends

class String
 
struct const_iterator
 
bool operator== (const iterator &lhs, const iterator &rhs)
 
bool operator!= (const iterator &lhs, const iterator &rhs)
 
bool operator< (const iterator &lhs, const iterator &rhs)
 
bool operator> (const iterator &lhs, const iterator &rhs)
 
bool operator<= (const iterator &lhs, const iterator &rhs)
 
bool operator>= (const iterator &lhs, const iterator &rhs)
 

Member Typedef Documentation

◆ difference_type

typedef string_type::difference_type String::iterator::difference_type

◆ iterator_category

typedef std::random_access_iterator_tag String::iterator::iterator_category

◆ pointer

typedef string_type::pointer String::iterator::pointer

◆ reference

typedef string_type::reference String::iterator::reference

◆ value_type

typedef string_type::value_type String::iterator::value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

String::iterator::iterator ( )
inline

◆ iterator() [2/2]

String::iterator::iterator ( const iterator other)
inline

Member Function Documentation

◆ operator*()

reference String::iterator::operator* ( ) const
inline

◆ operator+()

iterator String::iterator::operator+ ( difference_type  n) const
inline

◆ operator++() [1/2]

iterator& String::iterator::operator++ ( )
inline

◆ operator++() [2/2]

iterator String::iterator::operator++ ( int  )
inline

◆ operator+=()

iterator& String::iterator::operator+= ( difference_type  n)
inline

◆ operator-() [1/2]

iterator String::iterator::operator- ( difference_type  n) const
inline

◆ operator-() [2/2]

difference_type String::iterator::operator- ( const iterator other) const
inline

◆ operator--() [1/2]

iterator& String::iterator::operator-- ( )
inline

◆ operator--() [2/2]

iterator String::iterator::operator-- ( int  )
inline

◆ operator-=()

iterator& String::iterator::operator-= ( difference_type  n)
inline

◆ operator->()

pointer String::iterator::operator-> ( ) const
inline

◆ operator[]()

reference String::iterator::operator[] ( difference_type  n) const
inline

Friends And Related Function Documentation

◆ const_iterator

friend struct const_iterator
friend

◆ operator!=

bool operator!= ( const iterator lhs,
const iterator rhs 
)
friend

◆ operator<

bool operator< ( const iterator lhs,
const iterator rhs 
)
friend

◆ operator<=

bool operator<= ( const iterator lhs,
const iterator rhs 
)
friend

◆ operator==

bool operator== ( const iterator lhs,
const iterator rhs 
)
friend

◆ operator>

bool operator> ( const iterator lhs,
const iterator rhs 
)
friend

◆ operator>=

bool operator>= ( const iterator lhs,
const iterator rhs 
)
friend

◆ String

friend class String
friend

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