Inviwo  0.9.10.1
Inviwo documentation
inviwo::discretedata::ConstChannelIterator< Parent, VecNT > Struct Template Reference

#include <channeliterator.h>

Public Types

using T = typename Parent::value_type
 

Public Member Functions

 ConstChannelIterator (const Parent *parent, ind index)
 
VecNT operator * ()
 
ConstChannelIteratoroperator++ ()
 
ConstChannelIterator operator++ (int)
 
ConstChannelIteratoroperator-- ()
 
ConstChannelIteratoroperator-- (int)
 
ConstChannelIterator operator+ (ind offset)
 
ConstChannelIterator operator+= (ind offset)
 
ConstChannelIterator operator- (ind offset)
 
ConstChannelIterator operator-= (ind offset)
 
bool operator== (ConstChannelIterator &other)
 
bool operator!= (ConstChannelIterator &other)
 

Static Public Attributes

static constexpr ind num_comp = Parent::num_comp
 

Protected Attributes

const Parent * parent
 Constant DataChannel.
 
ind index
 index to the current element
 

Detailed Description

template<typename Parent, typename VecNT>
struct inviwo::discretedata::ConstChannelIterator< Parent, VecNT >

Generalized iterator over any const DataChannel. Returns by value using the DataChannel's fill.


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