libiio
Public Types | Public Member Functions | List of all members
iiopp::impl::IndexedSequence< container_T, element_T >::Iterator Class Reference

A random access iterator for an IndexedSequence. More...

#include <iiopp.h>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef element_T value_type
 
typedef std::ptrdiff_t difference_type
 
typedef element_T * pointer
 
typedef element_T & reference
 

Public Member Functions

 Iterator (container_T &cont, size_t idx)
 
element_T operator* () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 
bool operator< (const Iterator &rhs) const
 
bool operator> (const Iterator &rhs) const
 
bool operator<= (const Iterator &rhs) const
 
bool operator>= (const Iterator &rhs) const
 
Iterator operator+ (ssize_t x) const
 
ssize_t operator- (Iterator rhs) const
 

Detailed Description

template<class container_T, class element_T>
class iiopp::impl::IndexedSequence< container_T, element_T >::Iterator

A random access iterator for an IndexedSequence.


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