Go to the documentation of this file.
28 #ifndef TABLES_TSMSHAPE_H
29 #define TABLES_TSMSHAPE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/IPosition.h>
Bool conform(const TSMShape &other) const
conform returns true if nelements() == other.nelements().
TSMShape(const TSMShape &that)
Copy constructor (copy semantics).
Int operator()(uInt index) const
Index into the TSMShape.
Bool conform(const IPosition &other) const
conform returns true if nelements() == other.nelements().
TSMShape & operator=(const TSMShape &that)
Assignment (copy semantics).
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
IPosition offsetIncrement(const IPosition &subShape, const IPosition &stride) const
IPosition position(size_t offset) const
Calculate the position for a given offset.
this file contains all the compiler specific defines
TSMShape(const IPosition &shape)
Construct from a shape and precalculate some values.
size_t offset(const IPosition &position, const IPosition &origin) const
TSMShape()
A zero-length TSMShape.
IPosition offsetIncrement(const IPosition &subShape) const
Calculate the increments when stepping through an array in a linear way.
uInt nelements() const
The number of elements in this TSMShape.
size_t offset(const IPosition &position) const
Calculate the offset for a given position.
bool Bool
Define the standard types used by Casacore.
IPosition position(size_t offset, const IPosition &origin) const