Simple Application Framework
1
|
Random-access non-mutable Deque iterator. More...
#include <Deque.h>
Public Types | |
typedef Type::IteratorCategory::RandomAccessCategory | CategoryType |
typedef T | ValType |
Public Member Functions | |
ConstIterator () | |
Default constructor. | |
ConstIterator (Size ofs, MyType &deque) | |
Constructor. | |
ConstIterator (const ConstIterator &it) | |
Copy constructor. | |
bool | operator!= (const ConstIterator &it) const |
Comparison operator. | |
const T & | operator* () const |
Value reference. | |
ConstIterator | operator+ (Diff offset) const |
Offset operator. | |
ConstIterator & | operator++ () |
Preincrement operator. | |
ConstIterator | operator++ (int) |
Postincrement operator. | |
ConstIterator & | operator+= (Diff offset) |
Offset operator. | |
ConstIterator | operator- (Diff offset) const |
Offset operator. | |
Diff | operator- (const ConstIterator &it) const |
Difference operator. | |
ConstIterator & | operator-- () |
Predecrement operator. | |
ConstIterator | operator-- (int) |
Postdecrement operator. | |
ConstIterator & | operator-= (Diff offset) |
Offset operator. | |
const T * | operator-> () const |
Value pointer. | |
bool | operator< (const ConstIterator &it) const |
Comparison operator. | |
bool | operator<= (const ConstIterator &it) const |
Comparison operator. | |
ConstIterator & | operator= (const ConstIterator &it) |
Assignment operator. | |
bool | operator== (const ConstIterator &it) const |
Comparison operator. | |
bool | operator> (const ConstIterator &it) const |
Comparison operator. | |
bool | operator>= (const ConstIterator &it) const |
Comparison operator. | |
const T & | operator[] (Diff ofs) const |
Subscript operator. | |
Protected Attributes | |
MyType * | m_deque |
Pointer to the parent container. | |
Size | m_ofs |
Offset of the current element from the beginning of the block map. | |
T * | m_ptr |
Element pointer. | |
Friends | |
class | Deque< T > |
Random-access non-mutable Deque iterator.
typedef Type::IteratorCategory::RandomAccessCategory Saf::Collection::Deque< T >::ConstIterator::CategoryType |
typedef T Saf::Collection::Deque< T >::ConstIterator::ValType |
Saf::Collection::Deque< T >::ConstIterator::ConstIterator | ( | ) | [inline] |
Default constructor.
Saf::Collection::Deque< T >::ConstIterator::ConstIterator | ( | Size | ofs, |
MyType & | deque | ||
) | [inline, explicit] |
Constructor.
Saf::Collection::Deque< T >::ConstIterator::ConstIterator | ( | const ConstIterator & | it | ) | [inline] |
Copy constructor.
bool Saf::Collection::Deque< T >::ConstIterator::operator!= | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
const T& Saf::Collection::Deque< T >::ConstIterator::operator* | ( | ) | const [inline] |
Value reference.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator Saf::Collection::Deque< T >::ConstIterator::operator+ | ( | Diff | offset | ) | const [inline] |
Offset operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator& Saf::Collection::Deque< T >::ConstIterator::operator++ | ( | ) | [inline] |
Preincrement operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator Saf::Collection::Deque< T >::ConstIterator::operator++ | ( | int | ) | [inline] |
Postincrement operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator& Saf::Collection::Deque< T >::ConstIterator::operator+= | ( | Diff | offset | ) | [inline] |
Offset operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator Saf::Collection::Deque< T >::ConstIterator::operator- | ( | Diff | offset | ) | const [inline] |
Offset operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
Diff Saf::Collection::Deque< T >::ConstIterator::operator- | ( | const ConstIterator & | it | ) | const [inline] |
Difference operator.
ConstIterator& Saf::Collection::Deque< T >::ConstIterator::operator-- | ( | ) | [inline] |
Predecrement operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator Saf::Collection::Deque< T >::ConstIterator::operator-- | ( | int | ) | [inline] |
Postdecrement operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
ConstIterator& Saf::Collection::Deque< T >::ConstIterator::operator-= | ( | Diff | offset | ) | [inline] |
Offset operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
const T* Saf::Collection::Deque< T >::ConstIterator::operator-> | ( | ) | const [inline] |
Value pointer.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
bool Saf::Collection::Deque< T >::ConstIterator::operator< | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
bool Saf::Collection::Deque< T >::ConstIterator::operator<= | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
ConstIterator& Saf::Collection::Deque< T >::ConstIterator::operator= | ( | const ConstIterator & | it | ) | [inline] |
Assignment operator.
bool Saf::Collection::Deque< T >::ConstIterator::operator== | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
bool Saf::Collection::Deque< T >::ConstIterator::operator> | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
bool Saf::Collection::Deque< T >::ConstIterator::operator>= | ( | const ConstIterator & | it | ) | const [inline] |
Comparison operator.
const T& Saf::Collection::Deque< T >::ConstIterator::operator[] | ( | Diff | ofs | ) | const [inline] |
Subscript operator.
Reimplemented in Saf::Collection::Deque< T >::Iterator.
friend class Deque< T > [friend] |
MyType* Saf::Collection::Deque< T >::ConstIterator::m_deque [protected] |
Pointer to the parent container.
Size Saf::Collection::Deque< T >::ConstIterator::m_ofs [protected] |
Offset of the current element from the beginning of the block map.
T* Saf::Collection::Deque< T >::ConstIterator::m_ptr [protected] |
Element pointer.