#include <QueryableVector.h>
Public Types | |
typedef std::vector< std::pair < size_t, Tp > >::const_iterator | embedded_iterator |
Public Member Functions | |
size_t | index () const |
bool | operator!= (const RangeIterator &rhs) const |
const Tp & | operator* () const |
RangeIterator | operator+ (int i) |
RangeIterator | operator++ (int) |
RangeIterator & | operator++ () |
RangeIterator | operator- (int i) |
const Tp * | operator-> () const |
RangeIterator & | operator= (const RangeIterator &rhs) |
bool | operator== (const RangeIterator &rhs) const |
RangeIterator (const RangeIterator &rhs) | |
RangeIterator (embedded_iterator vectorIterator) | |
virtual | ~RangeIterator () |
Private Attributes | |
embedded_iterator | m_vecIterator |
Definition at line 37 of file QueryableVector.h.
typedef std::vector<std::pair<size_t,Tp> >::const_iterator ora::RangeIterator< Tp >::embedded_iterator |
Definition at line 39 of file QueryableVector.h.
ora::RangeIterator< Tp >::RangeIterator | ( | embedded_iterator | vectorIterator | ) |
ora::RangeIterator< Tp >::RangeIterator | ( | const RangeIterator< Tp > & | rhs | ) |
Definition at line 9 of file QueryableVectorImpl.h.
:m_vecIterator(rhs.m_vecIterator){ }
ora::RangeIterator< Tp >::~RangeIterator | ( | ) | [virtual] |
Definition at line 16 of file QueryableVectorImpl.h.
{ }
size_t ora::RangeIterator< Tp >::index | ( | ) | const |
Definition at line 45 of file QueryableVectorImpl.h.
{ return m_vecIterator->first; }
bool ora::RangeIterator< Tp >::operator!= | ( | const RangeIterator< Tp > & | rhs | ) | const |
Definition at line 23 of file QueryableVectorImpl.h.
References ora::RangeIterator< Tp >::m_vecIterator.
{ return m_vecIterator != rhs.m_vecIterator; }
const Tp & ora::RangeIterator< Tp >::operator* | ( | ) | const |
Definition at line 53 of file QueryableVectorImpl.h.
{ return m_vecIterator->second; }
ora::RangeIterator< Tp > ora::RangeIterator< Tp >::operator+ | ( | int | i | ) |
Definition at line 37 of file QueryableVectorImpl.h.
{ return RangeIterator(this->operator+(i)); }
ora::RangeIterator< Tp > & ora::RangeIterator< Tp >::operator++ | ( | ) |
Definition at line 27 of file QueryableVectorImpl.h.
{ ++m_vecIterator; return *this; }
ora::RangeIterator< Tp > ora::RangeIterator< Tp >::operator++ | ( | int | ) |
Definition at line 32 of file QueryableVectorImpl.h.
{ this->operator++(); return *this; }
ora::RangeIterator< Tp > ora::RangeIterator< Tp >::operator- | ( | int | i | ) |
Definition at line 41 of file QueryableVectorImpl.h.
{ return RangeIterator(this->operator-(i)); }
const Tp * ora::RangeIterator< Tp >::operator-> | ( | ) | const |
Definition at line 49 of file QueryableVectorImpl.h.
{ return &m_vecIterator->second; }
ora::RangeIterator< Tp > & ora::RangeIterator< Tp >::operator= | ( | const RangeIterator< Tp > & | rhs | ) |
Definition at line 12 of file QueryableVectorImpl.h.
References ora::RangeIterator< Tp >::m_vecIterator.
{ m_vecIterator = rhs.m_vecIterator; }
bool ora::RangeIterator< Tp >::operator== | ( | const RangeIterator< Tp > & | rhs | ) | const |
Definition at line 19 of file QueryableVectorImpl.h.
References ora::RangeIterator< Tp >::m_vecIterator.
{ return m_vecIterator == rhs.m_vecIterator; }
embedded_iterator ora::RangeIterator< Tp >::m_vecIterator [private] |
Definition at line 68 of file QueryableVector.h.
Referenced by ora::RangeIterator< Tp >::operator!=(), ora::RangeIterator< Tp >::operator=(), and ora::RangeIterator< Tp >::operator==().