VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
build
buildd
vtk6-6.1.0+dfsg
Common
Misc
vtkErrorCode.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkErrorCode.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
22
#ifndef __vtkErrorCode_h
23
#define __vtkErrorCode_h
24
#include "
vtkCommonMiscModule.h
"
// For export macro
25
#include "
vtkSystemIncludes.h
"
26
27
// The superclass that all commands should be subclasses of
28
class
VTKCOMMONMISC_EXPORT
vtkErrorCode
29
{
30
public
:
31
static
const
char
*GetStringFromErrorCode(
unsigned
long
event
);
32
static
unsigned
long
GetErrorCodeFromString(
const
char
*event);
33
static
unsigned
long
GetLastSystemError();
34
//BTX
35
// all the currently defined error codes
36
// developers can use -- vtkErrorCode::UserError + int to
37
// specify their own errors.
38
// if this list is adjusted, be sure to adjust vtkErrorCodeErrorStrings
39
// in vtkErrorCode.cxx to match.
40
enum
ErrorIds
{
41
NoError = 0,
42
FirstVTKErrorCode = 20000,
43
FileNotFoundError
,
44
CannotOpenFileError
,
45
UnrecognizedFileTypeError
,
46
PrematureEndOfFileError
,
47
FileFormatError
,
48
NoFileNameError
,
49
OutOfDiskSpaceError
,
50
UnknownError
,
51
UserError = 40000
52
};
53
//ETX
54
};
55
56
#endif
/* __vtkErrorCode_h */
57
58
// VTK-HeaderTest-Exclude: vtkErrorCode.h
vtkCommonMiscModule.h
vtkSystemIncludes.h
vtkErrorCode::ErrorIds
ErrorIds
Definition:
vtkErrorCode.h:40
vtkErrorCode::NoFileNameError
Definition:
vtkErrorCode.h:48
vtkErrorCode::FileNotFoundError
Definition:
vtkErrorCode.h:43
VTKCOMMONMISC_EXPORT
#define VTKCOMMONMISC_EXPORT
Definition:
vtkCommonMiscModule.h:15
vtkErrorCode
superclass for error codes
Definition:
vtkErrorCode.h:28
vtkErrorCode::UnknownError
Definition:
vtkErrorCode.h:50
vtkgl::event
struct _cl_event * event
Definition:
vtkgl.h:14387
vtkErrorCode::OutOfDiskSpaceError
Definition:
vtkErrorCode.h:49
vtkErrorCode::UnrecognizedFileTypeError
Definition:
vtkErrorCode.h:45
vtkErrorCode::PrematureEndOfFileError
Definition:
vtkErrorCode.h:46
vtkErrorCode::CannotOpenFileError
Definition:
vtkErrorCode.h:44
vtkErrorCode::FileFormatError
Definition:
vtkErrorCode.h:47
Generated on Fri Sep 5 2014 02:49:08 for VTK by
1.8.8