Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkErrorCode Class Reference

#include <vtkErrorCode.h>

List of all members.


Detailed Description

superclass for error codes

vtkErrorCode is an mechanism for (currently) reader object to return errors during reading file.

Definition at line 27 of file vtkErrorCode.h.

Public Types

enum  ErrorIds {
  NoError = 0, FirstVTKErrorCode = 20000, FileNotFoundError, CannotOpenFileError,
  UnrecognizedFileTypeError, PrematureEndOfFileError, FileFormatError, NoFileNameError,
  OutOfDiskSpaceError, UnknownError, UserError = 40000
}

Static Public Member Functions

static const char * GetStringFromErrorCode (unsigned long event)
static unsigned long GetErrorCodeFromString (const char *event)
static unsigned long GetLastSystemError ()


Member Enumeration Documentation

enum vtkErrorCode::ErrorIds
 

Enumerator:
NoError 
FirstVTKErrorCode 
FileNotFoundError 
CannotOpenFileError 
UnrecognizedFileTypeError 
PrematureEndOfFileError 
FileFormatError 
NoFileNameError 
OutOfDiskSpaceError 
UnknownError 
UserError 

Definition at line 39 of file vtkErrorCode.h.


Member Function Documentation

static const char* vtkErrorCode::GetStringFromErrorCode unsigned long  event  )  [static]
 

static unsigned long vtkErrorCode::GetErrorCodeFromString const char *  event  )  [static]
 

static unsigned long vtkErrorCode::GetLastSystemError  )  [static]
 


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:42:36 2008 for VTK by  doxygen 1.4.3-20050530