Debian Codegraph @

doc/man/man3/ivm/errors/SoDebugError.ivm

raw
1 NAME SoDebugError "SoDbgErr" "SO_DBG_ERR_" { debug error handling }
2
3 INCLUDE errors/SoDebugError.h
4
5 DESC { \cSoDebugError\. is used for all errors reported from the debugging
6 version of the Inventor library. These errors are typically
7 programmer errors, such as passing a NULL pointer or an
8 out-of-range index.
9 \+The \mpost()\. method takes the name of the
10 Inventor method that detected the error, to aid the programmer in
11 debugging.\.
12 }
13
14 ENUM Severity {
15 ERROR "Error",
16 WARNING "Just a warning",
17 INFO "No error, just information"
18 }
19
20 METHOD "setHndlrCB" static void setHandlerCallback(SoErrorCB *cb, void *data) {}
21 METHOD "getHndlrCB" static SoErrorCB * getHandlerCallback() {}
22 METHOD "getHndlrData" static void * getHandlerData() {
23 Sets/returns handler callback for \cSoDebugError\. class.
24 }
25
26 METHOD "" static SoType getClassTypeId() {
27 Returns type identifier for \cSoDebugError\. class.
28 }
29
30 BEGIN C++
31 METHOD "" SoDebugError::Severity getSeverity() const {
32 Returns severity of error (for use by handlers).
33 }
34 END
35 BEGIN C
36 METHOD "" SoDebugErrorSeverity getSeverity() const {
37 Returns severity of error (for use by handlers).
38 }
39 END
40
41 ALSO {
42 SoMemoryError,
43 SoReadError
44 }
45
46
47