Main Page | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

DefectixError Namespace Reference

Error management namespace. More...


Classes

class  ErrorMgr
 Class dedicated to error management. More...

struct  sErrorMsgs
 Structure for error messages management. More...


Enumerations

enum  errorCodes {
  NO_ERROR, NO_EXTENSION, MALLOC, FITS,
  NOT_MEF, NOT_IMGEXT, NO_EXT, NO_MASK,
  WRONG_BITPIX, MASK_SIZE, NOT_ALLOC_MAT, NOT_ALLOC_TABLE,
  NO_KLBASE
}
 Error codes. More...


Variables

sErrorMsgs errorMsgs []
 


Detailed Description

Error management namespace.

The namespace contains enums, structures and classes to handle errors.


Enumeration Type Documentation

enum DefectixError::errorCodes
 

Error codes.

The enum contains every error codes returned by the program

Enumeration values:
NO_ERROR  No error, default return value.
NO_EXTENSION  No extension at the given position in the class. The extension has not been loaded or does not exist in the MEF file.
MALLOC  Function malloc() returned a NULL pointer.
FITS  cfitsio library generated an error.
NOT_MEF  The opened file is not a standard MEF.
NOT_IMGEXT  The extension is not an image.
NO_EXT  The extension does not exist in the MEF.
NO_MASK  The mask extension does not exist in the MEF.
WRONG_BITPIX  The bitpix of the image is not supported by the program.
MASK_SIZE  The mask dimensions are different of the image dimensions.
NOT_ALLOC_MAT  A gsl_matrix was used unallocated.
NOT_ALLOC_TABLE  An image was used unallocated.
NO_KLBASE  Cannot load the file containing the KL-Base.


Variable Documentation

struct sErrorMsgs DefectixError::errorMsgs[] [static]
 

Initial value:

    {
      {NO_EXTENSION, "try to use an extension not loaded"},
      {MALLOC, "cannot allocate memory"},
      {FITS, "CCFits exception catched"},
      {NOT_MEF, "file is not a standard MEF"},
      {NOT_IMGEXT, "extension is not an image"},
      {NO_EXT, "no extension at given position"},
      {NO_MASK, "no mask at given position"},
      {WRONG_BITPIX, "bitpix not supported"},
      {MASK_SIZE, "mask dimensions are different from image ones"},
      {NOT_ALLOC_MAT, "matrix not allocated before use"},
      {NOT_ALLOC_TABLE, "table not allocated before use"},
      {NO_KLBASE, "cannot load KL-base"},
      {0, NULL}
    }


Generated on Fri Jul 2 13:08:03 2004 for defectix by doxygen 1.3.5