CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
ora::RIterator< Tp > Class Template Reference

#include <QueryableVectorData.h>

Public Member Functions

size_t index ()
 
bool operator!= (const RIterator &rhs) const
 
Tp & operator* ()
 
RIteratoroperator++ ()
 
RIterator operator++ (int)
 
Tp * operator-> ()
 
RIteratoroperator= (const RIterator &rhs)
 
bool operator== (const RIterator &rhs) const
 
 RIterator (typename ora::PVector< std::pair< size_t, Tp > >::reverse_iterator vectorIterator)
 
 RIterator (const RIterator &rhs)
 
virtual ~RIterator ()
 

Private Attributes

ora::PVector< std::pair
< size_t, Tp >
>::reverse_iterator 
m_vecIterator
 

Detailed Description

template<typename Tp>
class ora::RIterator< Tp >

Definition at line 132 of file QueryableVectorData.h.

Constructor & Destructor Documentation

template<typename Tp >
ora::RIterator< Tp >::RIterator ( typename ora::PVector< std::pair< size_t, Tp > >::reverse_iterator  vectorIterator)
inline

Definition at line 135 of file QueryableVectorData.h.

135  :m_vecIterator(vectorIterator){
136  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
ora::RIterator< Tp >::RIterator ( const RIterator< Tp > &  rhs)
inline

Definition at line 138 of file QueryableVectorData.h.

138  :m_vecIterator(rhs.m_vecIterator){
139  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
virtual ora::RIterator< Tp >::~RIterator ( )
inlinevirtual

Definition at line 145 of file QueryableVectorData.h.

145  {
146  }

Member Function Documentation

template<typename Tp >
size_t ora::RIterator< Tp >::index ( )
inline

Definition at line 166 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

166  {
167  return m_vecIterator->first;
168  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
bool ora::RIterator< Tp >::operator!= ( const RIterator< Tp > &  rhs) const
inline

Definition at line 152 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

152  {
153  return m_vecIterator != rhs.m_vecIterator;
154  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
Tp& ora::RIterator< Tp >::operator* ( )
inline

Definition at line 171 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

171 { return m_vecIterator->second; }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
RIterator& ora::RIterator< Tp >::operator++ ( )
inline

Definition at line 156 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

Referenced by ora::RIterator< Tp >::operator++().

156  {
157  ++m_vecIterator;
158  return *this;
159  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
RIterator ora::RIterator< Tp >::operator++ ( int  )
inline

Definition at line 161 of file QueryableVectorData.h.

References ora::RIterator< Tp >::operator++().

161  {
162  this->operator++();
163  return *this;
164  }
RIterator & operator++()
template<typename Tp >
Tp* ora::RIterator< Tp >::operator-> ( )
inline

Definition at line 170 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

170 { return &m_vecIterator->second; }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
RIterator& ora::RIterator< Tp >::operator= ( const RIterator< Tp > &  rhs)
inline

Definition at line 141 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

141  {
142  m_vecIterator = rhs.m_vecIterator;
143  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator
template<typename Tp >
bool ora::RIterator< Tp >::operator== ( const RIterator< Tp > &  rhs) const
inline

Definition at line 148 of file QueryableVectorData.h.

References ora::RIterator< Tp >::m_vecIterator.

148  {
149  return m_vecIterator == rhs.m_vecIterator;
150  }
ora::PVector< std::pair< size_t, Tp > >::reverse_iterator m_vecIterator

Member Data Documentation

template<typename Tp >
ora::PVector<std::pair<size_t, Tp> >::reverse_iterator ora::RIterator< Tp >::m_vecIterator
private