Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
icl_core::RingBuffer< T >::const_iterator Class Reference

Const iterator for RingBuffers. More...

#include <RingBuffer.h>

Inheritance diagram for icl_core::RingBuffer< T >::const_iterator:
Inheritance graph
[legend]

Public Member Functions

 const_iterator (const const_iterator &other)
 
bool operator!= (const const_iterator &other) const
 
const T & operator* () const
 
const_iterator operator+ (difference_type offset) const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator+= (difference_type offset)
 
const_iterator operator- (difference_type offset) const
 
difference_type operator- (const const_iterator &other) const
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
const_iteratoroperator-= (difference_type offset)
 
const T * operator-> () const
 
const_iteratoroperator= (const const_iterator &other)
 
bool operator== (const const_iterator &other) const
 

Protected Member Functions

 const_iterator (const T *current, const T *cbegin, const T *cend, const T *begin)
 

Protected Attributes

const T * m_begin
 Actual first value in the container. More...
 
const T * m_cbegin
 Beginning of the container. More...
 
const T * m_cend
 End of the container. More...
 
const T * m_current
 

Friends

class RingBuffer
 

Detailed Description

template<typename T>
class icl_core::RingBuffer< T >::const_iterator

Const iterator for RingBuffers.

Definition at line 58 of file RingBuffer.h.

Constructor & Destructor Documentation

template<typename T>
icl_core::RingBuffer< T >::const_iterator::const_iterator ( const const_iterator other)
inline

Definition at line 63 of file RingBuffer.h.

template<typename T>
icl_core::RingBuffer< T >::const_iterator::const_iterator ( const T *  current,
const T *  cbegin,
const T *  cend,
const T *  begin 
)
inlineprotected

Definition at line 156 of file RingBuffer.h.

Member Function Documentation

template<typename T>
bool icl_core::RingBuffer< T >::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 150 of file RingBuffer.h.

template<typename T>
const T& icl_core::RingBuffer< T >::const_iterator::operator* ( ) const
inline

Definition at line 152 of file RingBuffer.h.

template<typename T>
const_iterator icl_core::RingBuffer< T >::const_iterator::operator+ ( difference_type  offset) const
inline

Definition at line 119 of file RingBuffer.h.

template<typename T>
const_iterator& icl_core::RingBuffer< T >::const_iterator::operator++ ( )
inline

Definition at line 73 of file RingBuffer.h.

template<typename T>
const_iterator icl_core::RingBuffer< T >::const_iterator::operator++ ( int  )
inline

Definition at line 79 of file RingBuffer.h.

template<typename T>
const_iterator& icl_core::RingBuffer< T >::const_iterator::operator+= ( difference_type  offset)
inline

Definition at line 102 of file RingBuffer.h.

template<typename T>
const_iterator icl_core::RingBuffer< T >::const_iterator::operator- ( difference_type  offset) const
inline

Definition at line 125 of file RingBuffer.h.

template<typename T>
difference_type icl_core::RingBuffer< T >::const_iterator::operator- ( const const_iterator other) const
inline

Definition at line 132 of file RingBuffer.h.

template<typename T>
const_iterator& icl_core::RingBuffer< T >::const_iterator::operator-- ( )
inline

Definition at line 86 of file RingBuffer.h.

template<typename T>
const_iterator icl_core::RingBuffer< T >::const_iterator::operator-- ( int  )
inline

Definition at line 95 of file RingBuffer.h.

template<typename T>
const_iterator& icl_core::RingBuffer< T >::const_iterator::operator-= ( difference_type  offset)
inline

Definition at line 115 of file RingBuffer.h.

template<typename T>
const T* icl_core::RingBuffer< T >::const_iterator::operator-> ( ) const
inline

Definition at line 153 of file RingBuffer.h.

template<typename T>
const_iterator& icl_core::RingBuffer< T >::const_iterator::operator= ( const const_iterator other)
inline

Definition at line 67 of file RingBuffer.h.

template<typename T>
bool icl_core::RingBuffer< T >::const_iterator::operator== ( const const_iterator other) const
inline

Definition at line 149 of file RingBuffer.h.

Friends And Related Function Documentation

template<typename T>
friend class RingBuffer
friend

Definition at line 60 of file RingBuffer.h.

Member Data Documentation

template<typename T>
const T* icl_core::RingBuffer< T >::const_iterator::m_begin
protected

Actual first value in the container.

Definition at line 166 of file RingBuffer.h.

template<typename T>
const T* icl_core::RingBuffer< T >::const_iterator::m_cbegin
protected

Beginning of the container.

Definition at line 162 of file RingBuffer.h.

template<typename T>
const T* icl_core::RingBuffer< T >::const_iterator::m_cend
protected

End of the container.

Definition at line 164 of file RingBuffer.h.

template<typename T>
const T* icl_core::RingBuffer< T >::const_iterator::m_current
protected

Definition at line 160 of file RingBuffer.h.


The documentation for this class was generated from the following file:


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:59