Dynalib Utils
Public Types | Public Member Functions | Friends | List of all members
String::const_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::const_reference reference
 
typedef string_type::const_pointer pointer
 
typedef string_type::difference_type difference_type
 

Public Member Functions

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

Friends

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

Member Typedef Documentation

◆ difference_type

typedef string_type::difference_type String::const_iterator::difference_type

◆ iterator_category

typedef std::random_access_iterator_tag String::const_iterator::iterator_category

◆ pointer

typedef string_type::const_pointer String::const_iterator::pointer

◆ reference

typedef string_type::const_reference String::const_iterator::reference

◆ value_type

typedef string_type::value_type String::const_iterator::value_type

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

String::const_iterator::const_iterator ( )
inline

◆ const_iterator() [2/3]

String::const_iterator::const_iterator ( const const_iterator other)
inline

◆ const_iterator() [3/3]

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

Member Function Documentation

◆ operator*()

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

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ operator->()

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

◆ operator[]()

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

Friends And Related Function Documentation

◆ operator!=

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

◆ operator<

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

◆ operator<=

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

◆ operator==

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

◆ operator>

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

◆ operator>=

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

◆ String

friend class String
friend

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