VTK
|
superclass for error codes More...
#include <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 () |
superclass for error codes
vtkErrorCode is an mechanism for (currently) reader object to return errors during reading file.
Definition at line 28 of file vtkErrorCode.h.
NoError | |
FirstVTKErrorCode | |
FileNotFoundError | |
CannotOpenFileError | |
UnrecognizedFileTypeError | |
PrematureEndOfFileError | |
FileFormatError | |
NoFileNameError | |
OutOfDiskSpaceError | |
UnknownError | |
UserError |
Definition at line 40 of file vtkErrorCode.h.
static const char* vtkErrorCode::GetStringFromErrorCode | ( | unsigned long | event | ) | [static] |
static unsigned long vtkErrorCode::GetErrorCodeFromString | ( | const char * | event | ) | [static] |
static unsigned long vtkErrorCode::GetLastSystemError | ( | ) | [static] |