casa
$Rev:20696$
|
Thrown when two arrays have different dimensionality. More...
#include <ArrayError.h>
Public Member Functions | |
ArrayNDimError (Int dim1, Int dim2, const Char *m="ArrayNDimError", Category c=CONFORMANCE) | |
Define the two (presumably different) messages and optionally supply a message. | |
~ArrayNDimError () throw () | |
void | ndims (Int &dim1, Int &dim2) const |
Return the stored dimensions. | |
Private Attributes | |
Int | r1 |
Int | r2 |
Thrown when two arrays have different dimensionality.
An ArrayNDimError is derived from ArrayConformanceError. It is thrown when two arrays are non-conformant by virtue of having different dimensionality. It holds within it the two dimensions.
Definition at line 134 of file ArrayError.h.
casa::ArrayNDimError::ArrayNDimError | ( | Int | dim1, |
Int | dim2, | ||
const Char * | m = "ArrayNDimError" , |
||
Category | c = CONFORMANCE |
||
) |
Define the two (presumably different) messages and optionally supply a message.
casa::ArrayNDimError::~ArrayNDimError | ( | ) | throw () |
void casa::ArrayNDimError::ndims | ( | Int & | dim1, |
Int & | dim2 | ||
) | const |
Return the stored dimensions.
NB modifies arguments.
Int casa::ArrayNDimError::r1 [private] |
Definition at line 144 of file ArrayError.h.
Int casa::ArrayNDimError::r2 [private] |
Definition at line 144 of file ArrayError.h.