Go to the documentation of this file.
31 #include <casacore/casa/aips.h>
34 #if defined(AIPS_DEBUG)
35 #include <casacore/casa/Utilities/Assert.h>
43 template<
class T>
class Vector;
100 Slice(
size_t Start,
size_t Length=1,
size_t Inc=1);
103 Slice(
size_t Start,
size_t End,
size_t Inc,
Bool endIsLength);
108 size_t start()
const;
147 : startp(Start), incp(Inc), lengthp(Length)
149 #if defined(AIPS_DEBUG)
156 : startp(Start), incp(Inc), lengthp(endIsLength ? End : 1+(End-Start)/Inc)
158 #if defined(AIPS_DEBUG)
Specify which elements to extract from an n-dimensional array.
A Vector of integers, for indexing into Array<T> objects.
size_t inc() const
Report the defined increment.
size_t start() const
Report the selected starting position.
Slice()
The entire range of indices on the axis is desired.
size_t length() const
Report the defined length.
#define DebugAssert(expr, exception)
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
define a (start,length,increment) along an axis
static IPosition checkSlices(Vector< Vector< Slice > > &slices, Slicer &first, const IPosition &shape)
Check a vector of slices.
this file contains all the compiler specific defines
Bool all() const
Was the entire range of indices on this axis selected?
bool Bool
Define the standard types used by Casacore.
A 1-D Specialization of the Array class.
Base class for all Casacore library errors.
size_t end() const
Attempt to report the last element of the slice.