'\"! tbl | mmdoc '\"macro stdmacro .ie n \{\ . ds Cr \fB . ds Cb \fB .\} .el \{\ . ds Cr \f7 . ds Cb \f8 .\} .TH SoDebugError(3IV) .SH NAME SoDebugError \(em debug error handling .SH INHERITS FROM SoError > SoDebugError .SH SYNOPSIS .ps -1 \*(Cr#include .sp .in 0.5i \*(Crenum \*(CbSeverity\*(Cr { .in 1i .ta 23m .in 1.5i+23n .ti 1i .ta 23m .ds Pt \*(CbSoDebugError::ERROR\f1 .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 1i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} Error .br .in 1.5i+23n .ti 1i .ta 23m .ds Pt \*(CbSoDebugError::WARNING\f1 .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 1i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} Just a warning .br .in 1.5i+23n .ti 1i .ta 23m .ds Pt \*(CbSoDebugError::INFO\f1 .ie \w'\*(Pt'>=23n \{\ .ne 3 \*(Pt .ti 1i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} No error, just information .br .in 0.5i \*(Cr} .sp .in 1i \f1Methods from class SoDebugError: .in 0.5i .sp .ta 24m .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic void .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbsetHandlerCallback\*(Cr(SoErrorCB *cb, void *data) .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic SoErrorCB * .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetHandlerCallback\*(Cr() .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic void * .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetHandlerData\*(Cr() .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic SoType .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetClassTypeId\*(Cr() .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(CrSoDebugError::Severity .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetSeverity\*(Cr() const .sp .in 1i \f1Methods from class SoError: .in 0.5i .sp .ta 20m .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(Crconst SbString & .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetDebugString\*(Cr() const .br .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(Crvirtual SoType .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetTypeId\*(Cr() const .br .in 1i+20n .ti 0.5i .ta 20m .ds Pt \*(CrSbBool .ie \w'\*(Pt'>=20n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbisOfType\*(Cr(SoType type) const .sp .SH DESCRIPTION \*(CbSoDebugError\f1 is used for all errors reported from the debugging version of the Inventor library. These errors are typically programmer errors, such as passing a NULL pointer or an out-of-range index. The \*(Cbpost()\f1 method takes the name of the Inventor method that detected the error, to aid the programmer in debugging. .SH METHODS .ta 24m .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic void .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbsetHandlerCallback\*(Cr(SoErrorCB *cb, void *data) .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic SoErrorCB * .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetHandlerCallback\*(Cr() .br .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic void * .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetHandlerData\*(Cr() .br .in 1i \f1Sets/returns handler callback for \*(CbSoDebugError\f1 class. .sp .in 0.5i .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(Crstatic SoType .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetClassTypeId\*(Cr() .br .in 1i \f1Returns type identifier for \*(CbSoDebugError\f1 class. .sp .in 0.5i .in 1i+24n .ti 0.5i .ta 24m .ds Pt \*(CrSoDebugError::Severity .ie \w'\*(Pt'>=24n \{\ .ne 3 \*(Pt .ti 0.5i \c\ \} .el\{\ .ne 2 \*(Pt \c\ \} \*(CbgetSeverity\*(Cr() const .br .in 1i \f1Returns severity of error (for use by handlers). .sp .in 0.5i .SH SEE ALSO \*(CbSoMemoryError, SoReadError