OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ncml_module::Shape::IndexIterator Class Reference

A custom iterator that enumerates all the points in the space defined by a Shape in row major order. More...

#include <Shape.h>

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

Public Member Functions

 IndexIterator ()
 isEnd is only set by Shape for creating an end() iterator... More...
 
 IndexIterator (const Shape &shape, bool isEnd=false)
 
 IndexIterator (const IndexIterator &proto)
 
bool operator!= (const IndexIterator &rhs) const
 
const Shape::IndexTupleoperator* ()
 
IndexIteratoroperator++ ()
 
IndexIterator operator++ (int)
 
IndexIteratoroperator= (const IndexIterator &rhs)
 
bool operator== (const IndexIterator &rhs) const
 
 ~IndexIterator ()
 

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 72 of file Shape.h.

Constructor & Destructor Documentation

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

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

Definition at line 239 of file Shape.cc.

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

Definition at line 246 of file Shape.cc.

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

Definition at line 254 of file Shape.cc.

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

Definition at line 261 of file Shape.cc.

Member Function Documentation

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

Definition at line 84 of file Shape.h.

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

Definition at line 104 of file Shape.h.

References NCML_ASSERT_MSG.

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

Definition at line 89 of file Shape.h.

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

Definition at line 95 of file Shape.h.

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

Definition at line 269 of file Shape.cc.

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

Definition at line 283 of file Shape.cc.


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