casa::ArrayNDimError Class Reference
[Arrays]

#include <ArrayError.h>

Inheritance diagram for casa::ArrayNDimError:

Inheritance graph
[legend]
Collaboration diagram for casa::ArrayNDimError:

Collaboration graph
[legend]
List of all members.

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.

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


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.

casa::ArrayNDimError::~ArrayNDimError (  )  throw ()


Member Function Documentation

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

Return the stored dimensions.

NB modifies arguments.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:43:38 2008 for NRAOCASA by  doxygen 1.5.1