34 #if defined(AIPS_DEBUG)
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)
A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
std::vector< double > Vector
Bool all() const
Was the entire range of indices on this axis selected?
define a (start,length,increment) along an axis
size_t end() const
Attempt to report the last element of the slice.
#define DebugAssert(expr, exception)
size_t inc() const
Report the defined increment.
bool Bool
Define the standard types used by Casacore.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
Specify which elements to extract from an n-dimensional array.
Base class for all Casacore library errors.
size_t start() const
Report the selected starting position.
static IPosition checkSlices(Vector< Vector< Slice > > &slices, Slicer &first, const IPosition &shape)
Check a vector of slices.
Slice()
The entire range of indices on the axis is desired.
size_t length() const
Report the defined length.
Class for those physical parameters having dimensions of Length [L].
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.