Struct CircularBuffer::BufferIterator¶
template <bool isConst>
Public Types¶
Type | Name |
---|---|
typedef std::conditional< isConst, const CircularBuffer< value_type > *, CircularBuffer< value_type > * >::type | cbuf_pointer |
typedef ptrdiff_t | difference_type |
typedef std::random_access_iterator_tag | iterator_category |
typedef std::conditional< isConst, const value_type *, value_type * >::type | pointer |
typedef std::conditional< isConst, const value_type &, value_type & >::type | reference |
typedef T | value_type |
Public Functions¶
Type | Name |
---|---|
BufferIterator () | |
BufferIterator (const BufferIterator< false > & it) | |
bool | operator!= (const BufferIterator & other) const |
reference | operator* () |
BufferIterator & | operator++ () |
BufferIterator | operator++ (int) |
BufferIterator & | operator+= (difference_type n) |
BufferIterator & | operator-- () |
BufferIterator | operator-- (int) |
BufferIterator & | operator-= (difference_type n) |
pointer | operator-> () |
bool | operator< (const BufferIterator & other) const |
bool | operator<= (const BufferIterator & other) const |
bool | operator== (const BufferIterator & other) const |
bool | operator> (const BufferIterator & other) const |
bool | operator>= (const BufferIterator & other) const |
reference | operator[] (size_type index) |
Public Types Documentation¶
typedef cbuf_pointer¶
typedef std::conditional<isConst, const CircularBuffer<value_type>*, CircularBuffer<value_type>*>::type CircularBuffer< T >::BufferIterator< isConst >::cbuf_pointer;
typedef difference_type¶
typedef iterator_category¶
typedef std::random_access_iterator_tag CircularBuffer< T >::BufferIterator< isConst >::iterator_category;
typedef pointer¶
typedef std::conditional<isConst, const value_type*, value_type*>::type CircularBuffer< T >::BufferIterator< isConst >::pointer;
typedef reference¶
typedef std::conditional<isConst, const value_type&, value_type&>::type CircularBuffer< T >::BufferIterator< isConst >::reference;
typedef value_type¶
Public Functions Documentation¶
function BufferIterator [½]¶
function BufferIterator [2/2]¶
function operator!=¶
function operator*¶
function operator++¶
function operator++¶
function operator+=¶
function operator--¶
function operator--¶
function operator-=¶
function operator->¶
function operator<¶
function operator<=¶
function operator==¶
function operator>¶
function operator>=¶
function operator[]¶
Friends Documentation¶
friend CircularBuffer< T >¶
friend operator+¶
friend operator+¶
friend operator-¶
friend operator-¶
inline difference_type BufferIterator::operator- (
const BufferIterator & lhsiter,
const BufferIterator & rhsiter
)
The documentation for this class was generated from the following file src/utils/CircularBuffer.h