Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1ArrayNDimError.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 22:26:43 2011
Кодировка:

Поисковые слова: п п п п п п п п п п
casacore: casa::ArrayNDimError Class Reference
Public Member Functions | Private Attributes

casa::ArrayNDimError Class Reference
[Arrays_module]

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.

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines