1SoDebugError(3IV)() SoDebugError(3IV)()
2
3
4
6 SoDebugError — debug error handling
7
9 SoError > SoDebugError
10
12 #include <Inventor/errors/SoDebugError.h>
13
14 enum Severity {
15 SoDebugError::ERROR Error
16 SoDebugError::WARNING Just a warning
17 SoDebugError::INFO No error, just information
18 }
19
20 Methods from class SoDebugError:
21
22 static void setHandlerCallback(SoErrorCB *cb, void *data)
23 static SoErrorCB * getHandlerCallback()
24 static void * getHandlerData()
25 static SoType getClassTypeId()
26 SoDebugError::Severity getSeverity() const
27
28 Methods from class SoError:
29
30 const SbString & getDebugString() const
31 virtual SoType getTypeId() const
32 SbBool isOfType(SoType type) const
33
34
36 SoDebugError is used for all errors reported from the debugging version
37 of the Inventor library. These errors are typically programmer errors,
38 such as passing a NULL pointer or an out-of-range index. The post()
39 method takes the name of the Inventor method that detected the error,
40 to aid the programmer in debugging.
41
43 static void setHandlerCallback(SoErrorCB *cb, void *data)
44 static SoErrorCB * getHandlerCallback()
45 static void * getHandlerData()
46 Sets/returns handler callback for SoDebugError class.
47
48 static SoType getClassTypeId()
49 Returns type identifier for SoDebugError class.
50
51 SoDebugError::Severity getSeverity() const
52 Returns severity of error (for use by handlers).
53
54
56 SoMemoryError, SoReadError
57
58
59
60
61 SoDebugError(3IV)()