CMS 3D CMS Logo

Public Member Functions | Private Attributes

ora::CRIterator< Tp > Class Template Reference

#include <QueryableVectorData.h>

List of all members.

Public Member Functions

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

Private Attributes

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

Detailed Description

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

Definition at line 177 of file QueryableVectorData.h.


Constructor & Destructor Documentation

template<typename Tp >
ora::CRIterator< Tp >::CRIterator ( typename ora::PVector< std::pair< size_t, Tp > >::const_reverse_iterator  vectorIterator) [inline]

Definition at line 180 of file QueryableVectorData.h.

                                                                                              :m_vecIterator(vectorIterator){
    }
template<typename Tp >
ora::CRIterator< Tp >::CRIterator ( const CRIterator< Tp > &  rhs) [inline]

Definition at line 183 of file QueryableVectorData.h.

                                       :m_vecIterator(rhs.m_vecIterator){
    }
template<typename Tp >
virtual ora::CRIterator< Tp >::~CRIterator ( ) [inline, virtual]

Definition at line 190 of file QueryableVectorData.h.

                         {
    }

Member Function Documentation

template<typename Tp >
size_t ora::CRIterator< Tp >::index ( ) [inline]

Definition at line 211 of file QueryableVectorData.h.

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

                  {
      return m_vecIterator->first;
    }
template<typename Tp >
bool ora::CRIterator< Tp >::operator!= ( const CRIterator< Tp > &  rhs) const [inline]

Definition at line 197 of file QueryableVectorData.h.

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

                                                   {
      return m_vecIterator != rhs.m_vecIterator;
    }
template<typename Tp >
const Tp& ora::CRIterator< Tp >::operator* ( ) const [inline]

Definition at line 216 of file QueryableVectorData.h.

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

{ return m_vecIterator->second; }
template<typename Tp >
CRIterator& ora::CRIterator< Tp >::operator++ ( ) [inline]

Definition at line 201 of file QueryableVectorData.h.

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

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

                            {
      ++m_vecIterator;
      return *this;
    }
template<typename Tp >
CRIterator ora::CRIterator< Tp >::operator++ ( int  ) [inline]

Definition at line 206 of file QueryableVectorData.h.

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

                              {
      this->operator++();
      return *this;
    }
template<typename Tp >
const Tp* ora::CRIterator< Tp >::operator-> ( ) const [inline]

Definition at line 215 of file QueryableVectorData.h.

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

{ return &m_vecIterator->second; }
template<typename Tp >
CRIterator& ora::CRIterator< Tp >::operator= ( const CRIterator< Tp > &  rhs) [inline]

Definition at line 186 of file QueryableVectorData.h.

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

                                                  {
      m_vecIterator = rhs.m_vecIterator;
    }
template<typename Tp >
bool ora::CRIterator< Tp >::operator== ( const CRIterator< Tp > &  rhs) const [inline]

Definition at line 193 of file QueryableVectorData.h.

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

                                                  {
      return m_vecIterator == rhs.m_vecIterator;
    }

Member Data Documentation

template<typename Tp >
ora::PVector<std::pair<size_t, Tp> >::const_reverse_iterator ora::CRIterator< Tp >::m_vecIterator [private]