bes Updated for version 3.20.13
ncml_module::Shape::IndexIterator Class Reference

#include <Shape.h>

Collaboration diagram for ncml_module::Shape::IndexIterator:
Collaboration graph

Public Member Functions

 IndexIterator ()
 
 IndexIterator (const IndexIterator &proto)
 
 IndexIterator (const Shape &shape, bool isEnd=false)
 
bool operator!= (const IndexIterator &rhs) const
 
const Shape::IndexTuple & operator* ()
 
IndexIteratoroperator++ ()
 
IndexIterator operator++ (int)
 
IndexIteratoroperator= (const IndexIterator &rhs)
 
bool operator== (const IndexIterator &rhs) const
 

Detailed Description

A custom iterator that enumerates all the points in the space defined by a Shape in row major order. It ALSO handles constraints on the Shape and will return the enumeration of only the points in the constraint hyperslab, starting with the start index on all dimensions and incrementing the rightmost dimensions fastest

Definition at line 71 of file Shape.h.

Constructor & Destructor Documentation

◆ IndexIterator() [1/3]

ncml_module::Shape::IndexIterator::IndexIterator ( )

isEnd is only set by Shape for creating an end() iterator...

Definition at line 213 of file Shape.cc.

◆ IndexIterator() [2/3]

ncml_module::Shape::IndexIterator::IndexIterator ( const Shape shape,
bool  isEnd = false 
)

Definition at line 218 of file Shape.cc.

◆ IndexIterator() [3/3]

ncml_module::Shape::IndexIterator::IndexIterator ( const IndexIterator proto)

Definition at line 225 of file Shape.cc.

◆ ~IndexIterator()

ncml_module::Shape::IndexIterator::~IndexIterator ( )

Definition at line 230 of file Shape.cc.

Member Function Documentation

◆ operator!=()

bool ncml_module::Shape::IndexIterator::operator!= ( const IndexIterator rhs) const
inline

Definition at line 81 of file Shape.h.

◆ operator*()

const Shape::IndexTuple & ncml_module::Shape::IndexIterator::operator* ( )
inline

Definition at line 101 of file Shape.h.

◆ operator++() [1/2]

IndexIterator & ncml_module::Shape::IndexIterator::operator++ ( )
inline

Definition at line 86 of file Shape.h.

◆ operator++() [2/2]

IndexIterator ncml_module::Shape::IndexIterator::operator++ ( int  )
inline

Definition at line 92 of file Shape.h.

◆ operator=()

Shape::IndexIterator & ncml_module::Shape::IndexIterator::operator= ( const IndexIterator rhs)

Definition at line 238 of file Shape.cc.

◆ operator==()

bool ncml_module::Shape::IndexIterator::operator== ( const IndexIterator rhs) const

Definition at line 250 of file Shape.cc.


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