#include <QueryableVector.h>
Public Types | |
typedef CIterator< Tp > | const_iterator |
typedef const Tp & | const_reference |
typedef CRIterator< Tp > | const_reverse_iterator |
Public Member Functions | |
size_t | backIndex () const |
const_iterator | begin () const |
const_iterator | end () const |
size_t | frontIndex () const |
Range & | operator= (const Range &rhs) |
Range () | |
Range (boost::shared_ptr< QueryableVectorData< Tp > > &data) | |
Range (const Range &rhs) | |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
size_t | size () const |
virtual | ~Range () |
Private Attributes | |
boost::shared_ptr < QueryableVectorData< Tp > > | m_data |
Definition at line 11 of file QueryableVector.h.
typedef CIterator<Tp> ora::Range< Tp >::const_iterator |
Definition at line 15 of file QueryableVector.h.
typedef const Tp& ora::Range< Tp >::const_reference |
Definition at line 14 of file QueryableVector.h.
typedef CRIterator<Tp> ora::Range< Tp >::const_reverse_iterator |
Definition at line 16 of file QueryableVector.h.
ora::Range< Tp >::Range | ( | ) |
Definition at line 4 of file QueryableVectorImpl.h.
:m_data(new QueryableVectorData<Tp>){ }
ora::Range< Tp >::Range | ( | boost::shared_ptr< QueryableVectorData< Tp > > & | data | ) | [explicit] |
ora::Range< Tp >::Range | ( | const Range< Tp > & | rhs | ) |
Definition at line 10 of file QueryableVectorImpl.h.
:m_data(rhs.m_data){ }
ora::Range< Tp >::~Range | ( | ) | [virtual] |
Definition at line 13 of file QueryableVectorImpl.h.
{ }
size_t ora::Range< Tp >::backIndex | ( | ) | const |
Definition at line 47 of file QueryableVectorImpl.h.
{ return m_data->back().first; }
ora::Range< Tp >::const_iterator ora::Range< Tp >::begin | ( | void | ) | const |
Definition at line 23 of file QueryableVectorImpl.h.
{ return m_data->cbegin(); }
ora::Range< Tp >::const_iterator ora::Range< Tp >::end | ( | void | ) | const |
Definition at line 27 of file QueryableVectorImpl.h.
{ return m_data->cend(); }
size_t ora::Range< Tp >::frontIndex | ( | ) | const |
Definition at line 43 of file QueryableVectorImpl.h.
{ return m_data->front().first; }
ora::Range< Tp > & ora::Range< Tp >::operator= | ( | const Range< Tp > & | rhs | ) |
Definition at line 16 of file QueryableVectorImpl.h.
References ora::Range< Tp >::m_data.
{ if(&rhs != this){ m_data = rhs.m_data; } return *this; }
ora::Range< Tp >::const_reverse_iterator ora::Range< Tp >::rbegin | ( | ) | const |
Definition at line 31 of file QueryableVectorImpl.h.
{ return m_data->crbegin(); }
ora::Range< Tp >::const_reverse_iterator ora::Range< Tp >::rend | ( | ) | const |
Definition at line 35 of file QueryableVectorImpl.h.
{ return m_data->crend(); }
size_t ora::Range< Tp >::size | ( | void | ) | const |
Definition at line 39 of file QueryableVectorImpl.h.
{ return m_data->size(); }
boost::shared_ptr<QueryableVectorData<Tp> > ora::Range< Tp >::m_data [private] |
Definition at line 45 of file QueryableVector.h.
Referenced by ora::Range< Tp >::operator=().