Workspace 6.21.5
Public Slots | Public Member Functions | List of all members
ArrayNdRangeIterable Class Reference

A range of an ArrayNd that can be iterated over, exposed as a QObject so that it can be easily incorporated inside a Qt Script.

#include <DataAnalysis/DataStructures/arrayndscriptwrapper.h>

Inherits QObject.

Public Slots

double currentValue () const
 
bool hasNext () const
 
bool hasPrevious () const
 
void next ()
 
void previous ()
 
long size () const
 
void toBegin ()
 
void toEnd ()
 
double value (int index) const
 

Public Member Functions

 ArrayNdRangeIterable (QObject *parent, const ArrayNd::const_iterator &begin, const ArrayNd::const_iterator &end)
 

Constructor & Destructor Documentation

◆ ArrayNdRangeIterable()

ArrayNdRangeIterable ( QObject *  parent,
const ArrayNd::const_iterator begin,
const ArrayNd::const_iterator end 
)
inline

Member Function Documentation

◆ currentValue

double currentValue ( ) const
inlineslot

◆ hasNext

bool hasNext ( ) const
inlineslot

◆ hasPrevious

bool hasPrevious ( ) const
inlineslot

◆ next

void next ( )
inlineslot

◆ previous

void previous ( )
inlineslot

◆ size

long size ( ) const
inlineslot

◆ toBegin

void toBegin ( )
inlineslot

◆ toEnd

void toEnd ( )
inlineslot

◆ value

double value ( int  index) const
inlineslot