28 #ifndef CASA_ARRAYERROR_H
29 #define CASA_ARRAYERROR_H
A Vector of integers, for indexing into Array<T> objects.
ArrayIndexError(Category c=BOUNDARY)
Initialize with the message "ArrayIndexError".
~ArrayIteratorError() noexcept
~ArrayNDimError() noexcept
The base class for all Array exception classes.
ArrayIteratorError(Category c=BOUNDARY)
Initialize with the message "ArrayIteratorError.
IPosition index() const
The out-of-bounds index.
void shapes(IPosition &, IPosition &) const
Get back the stored shapes.
ArrayNDimError(Int dim1, Int dim2, const Char *m="ArrayNDimError", Category c=CONFORMANCE)
Define the two (presumably different) messages and optionally supply a message.
IPosition shape() const
The shape of the violated array.
~ArraySlicerError() noexcept
~ArrayIndexError() noexcept
An error thrown by an ArrayIterator.
An error thrown when an index is out of range.
An error thrown when two arrays have different shapes.
~ArrayShapeError() noexcept
ArraySlicerError(Category c=GENERAL)
Initialize with the message "Slicer error.".
Base class for all Casacore library errors.
const Double c
Fundamental physical constants (SI units):
An error thrown by an Slicer member function.
String: the storage and methods of handling collections of characters.
void ndims(Int &dim1, Int &dim2) const
Return the stored dimensions.
Thrown when two arrays have different dimensionality.
ArrayError(Category c=GENERAL)
Initialize with the message "ArrayError.".
ArrayShapeError(const IPosition &shape1, const IPosition &shape2, const Char *m="ArrayShapeError", Category c=CONFORMANCE)
Define an ArrayShapeError with the two (presumably different) shapes and an optional supplied message...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.