RADLib
RADical C++ application framework
RADData::RADList< T, Alloc >::const_iterator Class Reference

Const forward iterator. More...

#include <RADDataStructures.h>

Public Member Functions

 const_iterator (const Node *node)
 Creates a const iterator from an internal node. More...
 
const T & operator* () const
 Returns current element. More...
 
const T * operator-> () const
 Returns current element pointer. More...
 
const_iteratoroperator++ ()
 Advances to next node. More...
 
bool operator!= (const const_iterator &other) const
 Compares iterator inequality. More...
 

Detailed Description

template<typename T, typename Alloc = std::allocator<T>>
class RADData::RADList< T, Alloc >::const_iterator

Const forward iterator.

Constructor & Destructor Documentation

◆ const_iterator()

template<typename T , typename Alloc = std::allocator<T>>
RADData::RADList< T, Alloc >::const_iterator::const_iterator ( const Node *  node)
inline

Creates a const iterator from an internal node.

Member Function Documentation

◆ operator!=()

template<typename T , typename Alloc = std::allocator<T>>
bool RADData::RADList< T, Alloc >::const_iterator::operator!= ( const const_iterator other) const
inline

Compares iterator inequality.

◆ operator*()

template<typename T , typename Alloc = std::allocator<T>>
const T& RADData::RADList< T, Alloc >::const_iterator::operator* ( ) const
inline

Returns current element.

◆ operator++()

template<typename T , typename Alloc = std::allocator<T>>
const_iterator& RADData::RADList< T, Alloc >::const_iterator::operator++ ( )
inline

Advances to next node.

◆ operator->()

template<typename T , typename Alloc = std::allocator<T>>
const T* RADData::RADList< T, Alloc >::const_iterator::operator-> ( ) const
inline

Returns current element pointer.


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