6#ifndef __vector_HyperslabParameters_HPP
7#define __vector_HyperslabParameters_HPP "Created 24.08.2006 11:48:12 by werner"
86 index_t getStride()
const throw()
91 index_t getShift()
const throw()
96 index_t getCropped()
const throw()
134 return offset -
shift;
183#if defined(_IOSTREAM_) || defined(_GLIBCXX_OSTREAM) || defined(_CPP_IOSTREAM) || defined(__SGI_STL_IOSTREAM) || defined(__clang__)
184#define ITERATOR_OSTREAM
187 os <<
"{shift=" << It.shift <<
", stride=" << It.stride <<
", offset=" << It.offset
188 <<
", length=" << It.
length <<
", cropped=" << It.cropped
195 HyperslabParameters&getHyperslabParameters() throw()
basic_ostream< char > ostream
valarray< size_t > stride() const
valarray< size_t > size() const
valarray< _Tp > shift(int __n) const
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
A set of integer values which describes how to iterate over a certain set of values.
Definition HyperslabParameters.hpp:34
index_t multiplicity() const
Return number of elements which form an entity.
Definition HyperslabParameters.hpp:116
index_t getIndex(index_t i, int c) const
Given a major and a minor index, compute the overall index in the dataset according to.
Definition HyperslabParameters.hpp:176
bool isSeparatedCompound() const
Tell if the iterator refers to a data set which is built from arrays of structure members,...
Definition HyperslabParameters.hpp:108
index_t getLength() const
Return the number of elements which can be accessed through this ElementIterator.
Definition HyperslabParameters.hpp:76
index_t length
The length (number of elements) of the data array.
Definition HyperslabParameters.hpp:37
HyperslabParameters(index_t Length, index_t Stride, index_t Offset)
Simple constructorm sets shift and cropped members to zero.
Definition HyperslabParameters.hpp:46
HyperslabParameters(index_t i, const HyperslabParameters &H)
Pointer addition constructor (sets the shift member).
Definition HyperslabParameters.hpp:65
void setCount(index_t size)
Set the maximally allowed count, i.e.
Definition HyperslabParameters.hpp:156
index_t count() const
Return the number of steps which can be traversed through this ElementIterator.
Definition HyperslabParameters.hpp:147
HyperslabParameters(const HyperslabParameters &H)
Copy constructor.
Definition HyperslabParameters.hpp:55
index_t maxcount() const
Return the number of steps which can be traversed through this ElementIterator.
Definition HyperslabParameters.hpp:130
Anemone_Context_t operator<<(Anemone &A, VRenderContext &VC)
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
IndexTypeConfig< sizeof(void *)>::index_t index_t
Define the index type as according to the size of a pointer, i.e.
Definition Index.hpp:22