libiio  1.0
Library for interfacing with IIO devices
iiopp::impl::IndexedSequence< container_T, element_T >::Iterator Class Reference

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

#include <bindings/cpp/iiopp.h>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef element_T value_type
 
typedef std::make_signed< size_type > difference_type
 
typedef element_T * pointer
 
typedef element_T & reference
 

Public Member Functions

 Iterator (container_T &cont, size_type 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+ (difference_type x) const
 
int operator- (Iterator rhs) const
 

Data Fields

decltype(std::declval< container_T >().size()) typedef size_type
 

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: