123 { handlerCB = cb; cbData = data; }
144 static void post(
const char *formatString ...);
171 { debugString = string; }
173 { debugString += string; }
182 static SoType classTypeId;
185 static bool wasInitted;
189 static SbString getBaseString(
const SoBase *base,
const char *what);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
void INVENTOR_API 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.
static void initClass()
Initializes SoError class.
static void initClasses()
Initialize ALL Inventor error classes.
virtual SoType getTypeId() const
Returns type identifier for error instance.
static void post(const char *formatString ...)
Posts an error.
static SbString getString(const SoPath *path)
static SbString getString(const SoEngine *engine)
static void * getHandlerData()
Sets/returns handler callback for SoError class.
static void setHandlerCallback(SoErrorCB *cb, void *data)
Sets/returns handler callback for SoError class.
bool isOfType(SoType type) const
Returns TRUE if instance is of given type or is derived from it.
void handleError()
Calls appropriate handler for an error instance.
virtual SoErrorCB * getHandler(void *&data) const
Returns handler callback (and data) to use for a given instance.
void setDebugString(const char *string)
Sets/appends to the debug string.
static void defaultHandlerCB(const SoError *error, void *data)
The default error handler callback - it just prints to stderr.
static SoErrorCB * getHandlerCallback()
Sets/returns handler callback for SoError class.
const SbString & getDebugString() const
Returns debug string containing full error information from instance.
static SbString getString(const SoNode *node)
These are convenience functions that return a printable string representing the given object.
void appendToDebugString(const char *string)
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.
SoType has no virtual functions to keep it small...