148 SoPRINTF
static void post(
const char *formatString ...);
152 static void initClass();
153 static void exitClass();
155 static SoErrorCB* getDefaultHandlerCB() {
return defaultHandlerCB; }
159 static void defaultHandlerCB(
const SoError *error,
void *data);
162 virtual SoErrorCB * getHandler(
void *&data)
const;
163 virtual bool isInit()
const;
166 void setDebugString(
const SbString&
string)
167 { debugString = string; }
168 void appendToDebugString(
const SbString&
string)
169 { debugString += string; }
179 virtual void setDebugStringCapacity(
int capacity );
183 static SoType classTypeId;
193 static SbString getBaseString(
const SoBase *base,
const char *what);
196 static SbBool s_forceDefaultHandler;
void SoErrorCB(const SoError *error, void *data)
Error handling callbacks are of this type.
Class for smart character strings.
Base class for all nodes, paths, and engines.
Base class for all engines.
Error handling base class.
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.