HOPS
HOPS class reference
|
Class MHO_BidirectionalIndexedIterator. More...
#include <MHO_BidirectionalIndexedIterator.hh>
Public Types | |
typedef std::ptrdiff_t | difference_type |
typedef std::array< std::size_t, RANK > | index_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef XValueType * | pointer |
typedef XValueType & | reference |
typedef MHO_BidirectionalIndexedIterator | self_type |
typedef XValueType | value_type |
Protected Member Functions | |
void | CalculateOffsets () |
Protected Attributes | |
pointer | fBegin |
index_type | fDimensions |
index_type | fIdx |
std::size_t | fLength |
std::size_t | fMemoryOffset |
std::size_t | fPositionOffset |
pointer | fPtr |
index_type | fStrides |
Class MHO_BidirectionalIndexedIterator.
This is an iterator for more complicated n-darrays (primarily array "slices"). Because we cannot guarantee that adjacent elements (in index space) are contiguous in memory for an array slice, we need to ensure that the proper strided access takes place.
typedef std::ptrdiff_t hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::difference_type |
typedef std::array< std::size_t, RANK > hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::index_type |
typedef std::bidirectional_iterator_tag hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::iterator_category |
typedef XValueType* hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::pointer |
typedef XValueType& hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::reference |
typedef MHO_BidirectionalIndexedIterator hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::self_type |
typedef XValueType hops::MHO_BidirectionalIndexedIterator< XValueType, RANK >::value_type |
|
inline |
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |