CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
edm::RangeMap< ID, C, P >::id_iterator Struct Reference

identifier iterator More...

#include <RangeMap.h>

Public Types

typedef mapType::const_iterator const_iterator
 
typedef ptrdiff_t difference_type
 
typedef mapType::const_iterator::iterator_category iterator_category
 
typedef ID * pointer
 
typedef ID & reference
 
typedef ID value_type
 

Public Member Functions

 id_iterator ()
 
 id_iterator (const_iterator o)
 
bool operator!= (const id_iterator &ci) const
 
const ID operator* () const
 
id_iteratoroperator++ ()
 
id_iterator operator++ (int)
 
id_iteratoroperator-- ()
 
id_iterator operator-- (int)
 
bool operator== (const id_iterator &ci) const
 

Private Attributes

const_iterator i
 

Detailed Description

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
struct edm::RangeMap< ID, C, P >::id_iterator

identifier iterator

Definition at line 135 of file RangeMap.h.

Member Typedef Documentation

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef mapType::const_iterator edm::RangeMap< ID, C, P >::id_iterator::const_iterator

Definition at line 141 of file RangeMap.h.

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef ptrdiff_t edm::RangeMap< ID, C, P >::id_iterator::difference_type

Definition at line 139 of file RangeMap.h.

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef mapType::const_iterator::iterator_category edm::RangeMap< ID, C, P >::id_iterator::iterator_category

Definition at line 140 of file RangeMap.h.

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef ID* edm::RangeMap< ID, C, P >::id_iterator::pointer

Definition at line 137 of file RangeMap.h.

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef ID& edm::RangeMap< ID, C, P >::id_iterator::reference

Definition at line 138 of file RangeMap.h.

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
typedef ID edm::RangeMap< ID, C, P >::id_iterator::value_type

Definition at line 136 of file RangeMap.h.

Constructor & Destructor Documentation

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
edm::RangeMap< ID, C, P >::id_iterator::id_iterator ( )
inline

Definition at line 142 of file RangeMap.h.

142 { }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
edm::RangeMap< ID, C, P >::id_iterator::id_iterator ( const_iterator  o)
inline

Definition at line 143 of file RangeMap.h.

143 : i(o) { }

Member Function Documentation

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
bool edm::RangeMap< ID, C, P >::id_iterator::operator!= ( const id_iterator ci) const
inline

Definition at line 149 of file RangeMap.h.

References edm::RangeMap< ID, C, P >::id_iterator::i, and mps_fire::i.

149 { return i != ci.i; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
const ID edm::RangeMap< ID, C, P >::id_iterator::operator* ( ) const
inline

Definition at line 150 of file RangeMap.h.

References mps_fire::i.

150 { return i->first; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
id_iterator& edm::RangeMap< ID, C, P >::id_iterator::operator++ ( )
inline

Definition at line 144 of file RangeMap.h.

References mps_fire::i.

144 { ++i; return *this; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
id_iterator edm::RangeMap< ID, C, P >::id_iterator::operator++ ( int  )
inline

Definition at line 145 of file RangeMap.h.

References mps_fire::i.

145 { id_iterator ci = *this; ++i; return ci; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
id_iterator& edm::RangeMap< ID, C, P >::id_iterator::operator-- ( )
inline

Definition at line 146 of file RangeMap.h.

References mps_fire::i.

146 { --i; return *this; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
id_iterator edm::RangeMap< ID, C, P >::id_iterator::operator-- ( int  )
inline

Definition at line 147 of file RangeMap.h.

References mps_fire::i.

147 { id_iterator ci = *this; --i; return ci; }
template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
bool edm::RangeMap< ID, C, P >::id_iterator::operator== ( const id_iterator ci) const
inline

Definition at line 148 of file RangeMap.h.

References edm::RangeMap< ID, C, P >::id_iterator::i, and mps_fire::i.

148 { return i == ci.i; }

Member Data Documentation

template<typename ID, typename C, typename P = typename clonehelper::CloneTrait<C>::type>
const_iterator edm::RangeMap< ID, C, P >::id_iterator::i
private