CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

Selection< C, Selector, StoreContainer >::const_iterator Class Reference

#include <Selection.h>

List of all members.

Public Types

typedef std::ptrdiff_t difference_type
typedef
StoreContainer::const_iterator::iterator_category 
iterator_category
typedef value_typepointer
typedef value_typereference
typedef Selection< C, Selector,
StoreContainer >::value_type 
value_type

Public Member Functions

 const_iterator (const typename StoreContainer::const_iterator &it)
 const_iterator (const const_iterator &it)
 const_iterator ()
bool operator!= (const const_iterator &ci) const
const value_typeoperator* () const
const_iterator operator+ (difference_type n) const
const_iteratoroperator++ ()
const_iterator operator++ (int)
const_iteratoroperator+= (difference_type d)
difference_type operator- (const const_iterator &o) const
const_iterator operator- (difference_type n) const
const_iterator operator-- (int)
const_iteratoroperator-- ()
const_iteratoroperator-= (difference_type d)
const value_typeoperator-> () const
bool operator< (const const_iterator &o) const
const_iteratoroperator= (const const_iterator &it)
bool operator== (const const_iterator &ci) const

Private Attributes

StoreContainer::const_iterator i

Detailed Description

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
class Selection< C, Selector, StoreContainer >::const_iterator

Definition at line 20 of file Selection.h.


Member Typedef Documentation

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
typedef std::ptrdiff_t Selection< C, Selector, StoreContainer >::const_iterator::difference_type

Definition at line 25 of file Selection.h.

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
typedef StoreContainer::const_iterator::iterator_category Selection< C, Selector, StoreContainer >::const_iterator::iterator_category

Definition at line 26 of file Selection.h.

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
typedef value_type* Selection< C, Selector, StoreContainer >::const_iterator::pointer

Definition at line 23 of file Selection.h.

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
typedef value_type& Selection< C, Selector, StoreContainer >::const_iterator::reference

Definition at line 24 of file Selection.h.

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
typedef Selection<C,Selector,StoreContainer>::value_type Selection< C, Selector, StoreContainer >::const_iterator::value_type

Definition at line 22 of file Selection.h.


Constructor & Destructor Documentation

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
Selection< C, Selector, StoreContainer >::const_iterator::const_iterator ( const typename StoreContainer::const_iterator &  it) [inline]

Definition at line 27 of file Selection.h.

: i(it) { }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
Selection< C, Selector, StoreContainer >::const_iterator::const_iterator ( const const_iterator it) [inline]

Definition at line 28 of file Selection.h.

: i(it.i) { }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
Selection< C, Selector, StoreContainer >::const_iterator::const_iterator ( ) [inline]

Member Function Documentation

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
bool Selection< C, Selector, StoreContainer >::const_iterator::operator!= ( const const_iterator ci) const [inline]

Definition at line 40 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ return i != ci.i; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const value_type& Selection< C, Selector, StoreContainer >::const_iterator::operator* ( ) const [inline]
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator Selection< C, Selector, StoreContainer >::const_iterator::operator+ ( difference_type  n) const [inline]
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator& Selection< C, Selector, StoreContainer >::const_iterator::operator++ ( ) [inline]

Definition at line 31 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ ++i; return *this; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator Selection< C, Selector, StoreContainer >::const_iterator::operator++ ( int  ) [inline]

Definition at line 32 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ const_iterator ci = *this; ++i; return ci; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator& Selection< C, Selector, StoreContainer >::const_iterator::operator+= ( difference_type  d) [inline]

Definition at line 43 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ i += d; return *this; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator Selection< C, Selector, StoreContainer >::const_iterator::operator- ( difference_type  n) const [inline]
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
difference_type Selection< C, Selector, StoreContainer >::const_iterator::operator- ( const const_iterator o) const [inline]

Definition at line 35 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ return i - o.i; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator& Selection< C, Selector, StoreContainer >::const_iterator::operator-- ( ) [inline]

Definition at line 33 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ --i; return *this; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator Selection< C, Selector, StoreContainer >::const_iterator::operator-- ( int  ) [inline]

Definition at line 34 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ const_iterator ci = *this; --i; return ci; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator& Selection< C, Selector, StoreContainer >::const_iterator::operator-= ( difference_type  d) [inline]

Definition at line 44 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ i -= d; return *this; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const value_type* Selection< C, Selector, StoreContainer >::const_iterator::operator-> ( ) const [inline]

Definition at line 42 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::operator*().

{ return & (operator*()); }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
bool Selection< C, Selector, StoreContainer >::const_iterator::operator< ( const const_iterator o) const [inline]

Definition at line 38 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ return i < o.i; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
const_iterator& Selection< C, Selector, StoreContainer >::const_iterator::operator= ( const const_iterator it) [inline]

Definition at line 30 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ i = it.i; return *this; }
template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
bool Selection< C, Selector, StoreContainer >::const_iterator::operator== ( const const_iterator ci) const [inline]

Definition at line 39 of file Selection.h.

References Selection< C, Selector, StoreContainer >::const_iterator::i.

{ return i == ci.i; }

Member Data Documentation

template<typename C, typename Selector, typename StoreContainer = std::vector<const typename C::value_type *>>
StoreContainer::const_iterator Selection< C, Selector, StoreContainer >::const_iterator::i [private]