PandaTree
|
Iterator class for containers. More...
#include <Iterator.h>
Public Types | |
typedef int | difference_type |
typedef Iterator< C, is_const > | self_type |
typedef C::value_type | value_type |
typedef std::conditional< is_const, typename C::const_reference, typename C::reference >::type | reference |
typedef std::conditional< is_const, typename C::const_pointer, typename C::pointer >::type | pointer |
typedef std::random_access_iterator_tag | iterator_category |
Public Member Functions | |
Iterator (mutable_type const &it) | |
self_type & | operator= (const_type const &rhs) |
self_type & | operator= (mutable_type const &rhs) |
bool | operator== (mutable_type const &rhs) const |
bool | operator== (const_type const &rhs) const |
bool | operator!= (mutable_type const &rhs) const |
bool | operator!= (const_type const &rhs) const |
self_type & | operator++ () |
self_type | operator++ (int) |
self_type & | operator-- () |
self_type | operator-- (int) |
self_type & | operator+= (int n) |
self_type & | operator-= (int n) |
self_type | operator+ (int n) const |
self_type | operator- (int n) const |
reference | operator* () const |
pointer | operator-> () const |
int | operator- (self_type const &rhs) const |
reference | operator[] (int n) const |
bool | operator< (self_type const &rhs) const |
bool | operator> (self_type const &rhs) const |
bool | operator<= (self_type const &rhs) const |
bool | operator>= (self_type const &rhs) const |
Iterator class for containers.