Coin
4.0.3
Coin3D core library
|
The SoReadError class is used during model import operations. More...
#include <Inventor/errors/SoReadError.h>
Public Member Functions | |
virtual SoType | getTypeId (void) const |
Public Member Functions inherited from SoError | |
virtual | ~SoError () |
const SbString & | getDebugString (void) const |
SbBool | isOfType (const SoType type) const |
Static Public Member Functions | |
static SoType | getClassTypeId (void) |
static SoErrorCB * | getHandlerCallback (void) |
static void * | getHandlerData (void) |
static void | initClass (void) |
static void | post (const SoInput *const input, const char *const format,...) |
static void | setHandlerCallback (SoErrorCB *const function, void *const data) |
Static Public Member Functions inherited from SoError | |
static SoType | getClassTypeId (void) |
static SoErrorCB * | getHandlerCallback (void) |
static void * | getHandlerData (void) |
static SbString | getString (const SoEngine *const engine) |
static SbString | getString (const SoNode *const node) |
static SbString | getString (const SoPath *const path) |
static void | initClass (void) |
static void | initClasses (void) |
static void | post (const char *const format,...) |
static void | setHandlerCallback (SoErrorCB *const func, void *const data) |
Protected Member Functions | |
virtual SoErrorCBPtr | getHandler (void *&data) const |
Protected Member Functions inherited from SoError | |
void | appendToDebugString (const char *const str) |
void | handleError (void) |
void | setDebugString (const char *const str) |
Additional Inherited Members | |
Static Protected Member Functions inherited from SoError | |
static void | defaultHandlerCB (const SoError *error, void *userdata) |
The SoReadError class is used during model import operations.
During model file import, this class will be used to output any error or warning messages.
Depending on your application, setting up your own error handler callbacks for SoReadError might be a good idea.
This static method returns the SoType for this class.
|
protectedvirtual |
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods.
Reimplemented from SoError.
|
static |
Returns the error handler callback for messages posted via this class.
This method returns the pointer used for passing data back to the callback handler method.
This method returns the SoType of a particular object instance.
Reimplemented from SoError.
Method used from import code to post error or warning messages for model files which are not 100% compliant to the format specification.
The messages will be wrapped within information on line number, file offset etc.
This method sets the error handler callback for messages posted via this class.
Note that this will not override the error/debug message handler for subclasses, these will have to be overridden by calling the subclass' setHandlerCallback() method.