Thrown when two arrays have different dimensionality.  
 More...
#include <ArrayError.h>
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 132 of file ArrayError.h.
◆ ArrayNDimError() [1/2]
      
        
          | casacore::ArrayNDimError::ArrayNDimError | ( | int | dim1, | 
        
          |  |  | int | dim2, | 
        
          |  |  | const char * | m = "ArrayNDimError" | 
        
          |  | ) |  |  | 
      
 
Define the two (presumably different) messages and optionally supply a message. 
 
 
◆ ArrayNDimError() [2/2]
      
        
          | casacore::ArrayNDimError::ArrayNDimError | ( | int | dim1, | 
        
          |  |  | int | dim2, | 
        
          |  |  | const std::string & | m | 
        
          |  | ) |  |  | 
      
 
 
◆ ~ArrayNDimError()
  
  | 
        
          | casacore::ArrayNDimError::~ArrayNDimError | ( |  | ) |  |  | noexcept | 
 
 
◆ ndims()
      
        
          | void casacore::ArrayNDimError::ndims | ( | int & | dim1, | 
        
          |  |  | int & | dim2 | 
        
          |  | ) |  | const | 
      
 
Return the stored dimensions. 
NB modifies arguments. 
 
 
◆ r1
  
  | 
        
          | int casacore::ArrayNDimError::r1 |  | private | 
 
 
◆ r2
  
  | 
        
          | int casacore::ArrayNDimError::r2 |  | private | 
 
 
The documentation for this class was generated from the following file: