52#include <Inventor/SbBase.h>
53#include <Inventor/SbString.h>
54#include <Inventor/SoTypedObject.h>
151 SoPRINTF
static void post(
const char *formatString ...);
155 static void initClass();
156 static void exitClass();
158 static SoErrorCB* getDefaultHandlerCB() {
return defaultHandlerCB; }
162 static void defaultHandlerCB(
const SoError *error,
void *data);
165 virtual SoErrorCB * getHandler(
void *&data)
const;
166 virtual bool isInit()
const;
169 void setDebugString(
const SbString&
string)
170 { debugString = string; }
171 void appendToDebugString(
const SbString&
string)
172 { debugString += string; }
182 virtual void setDebugStringCapacity(
int capacity );
186 static SoType classTypeId;
196 static SbString getBaseString(
const SoBase *base,
const char *what);
199 static SbBool s_forceDefaultHandler;
Class for smart character strings.
Base class for all nodes, paths, and engines.
Base class for all engines.
Error handling base class.
void SoErrorCB(const SoError *error, void *data)
Error handling callbacks are of this type.
static SoType getClassTypeId()
Returns type identifier for SoError class.
virtual SoType getTypeId() const
Returns type identifier for error instance.
virtual ~SoError()
Destructor.
static SoPRINTF void post(const char *formatString ...)
Posts an error.
static void * getHandlerData()
Returns handler data for SoError class.
static void setHandlerCallback(SoErrorCB *cb, void *data)
Sets handler callback for SoError class.
static SoErrorCB * getHandlerCallback()
Returns handler callback for SoError class.
const SbString & getDebugString() const
Returns debug string containing full error information from instance.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
Stores runtime type information.
Base class for object storing runtime type information.