PandaTree
Classes | Public Types | Public Member Functions | List of all members
panda::utils::Iterator< C, is_const > Class Template Reference

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_typeoperator= (const_type const &rhs)
 
self_typeoperator= (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_typeoperator++ ()
 
self_type operator++ (int)
 
self_typeoperator-- ()
 
self_type operator-- (int)
 
self_typeoperator+= (int n)
 
self_typeoperator-= (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
 

Detailed Description

template<class C, bool is_const>
class panda::utils::Iterator< C, is_const >

Iterator class for containers.


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