String::Iterator< Const, Forward > Class Template Reference

}@ More...

#include "String.hpp"

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
typedef char value_type
typedef String::difference_type difference_type
typedef Char & reference
typedef Char * pointer
typedef Iterator< true, Forward > ConstIterator

Public Member Functions

 Iterator (const Iterator &other)
 operator ConstIterator () const
Iteratoroperator= (const Iterator &other)
reference operator* () const
pointer operator-> () const
Iteratoroperator++ ()
Iterator operator++ (int)
Iteratoroperator-- ()
Iterator operator-- (int)
Iteratoroperator+= (difference_type offset)
Iterator operator+ (difference_type offset) const
Iteratoroperator-= (difference_type offset)
Iterator operator- (difference_type offset) const
difference_type operator- (const Iterator< true, Forward > &other) const
difference_type operator- (const Iterator< false, Forward > &other) const
reference operator[] (difference_type offset) const
bool operator== (const Iterator< true, Forward > &other) const
bool operator== (const Iterator< false, Forward > &other) const
bool operator!= (const Iterator< true, Forward > &other) const
bool operator!= (const Iterator< false, Forward > &other) const
bool operator< (const Iterator< true, Forward > &other) const
bool operator< (const Iterator< false, Forward > &other) const
bool operator> (const Iterator< true, Forward > &other) const
bool operator> (const Iterator< false, Forward > &other) const
bool operator<= (const Iterator< true, Forward > &other) const
bool operator<= (const Iterator< false, Forward > &other) const
bool operator>= (const Iterator< true, Forward > &other) const
bool operator>= (const Iterator< false, Forward > &other) const

Detailed Description

template<bool Const, bool Forward>
class opals::String::Iterator< Const, Forward >

}@

Template Parameters
Constconstant-ness
Forwardforward/reverse traversal

A random access iterator class for String

Author
wk
Date
02.02.2011