casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::ArrayNDimError Class Reference

Thrown when two arrays have different dimensionality. More...

#include <ArrayError.h>

Inheritance diagram for casa::ArrayNDimError:
casa::ArrayConformanceError casa::ArrayError casa::AipsError

List of all members.

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

Detailed Description

Thrown when two arrays have different dimensionality.

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25
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.


Constructor & Destructor Documentation

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.


Member Function Documentation

void casa::ArrayNDimError::ndims ( Int dim1,
Int dim2 
) const

Return the stored dimensions.

NB modifies arguments.


Member Data Documentation

Definition at line 144 of file ArrayError.h.

Definition at line 144 of file ArrayError.h.


The documentation for this class was generated from the following file: