#include <Inventor/errors/SoReadError.h>
Inheritance diagram for SoReadError::
Public Methods | |
virtual SoType | getTypeId (void) const |
Static Public Methods | |
void | setHandlerCallback (SoErrorCB *const function, void *const data) |
SoErrorCB * | getHandlerCallback (void) |
void * | getHandlerData (void) |
SoType | getClassTypeId (void) |
void | post (const SoInput *const in, const char *const format,...) |
void | initClass (void) |
Protected Methods | |
virtual SoErrorCB * | getHandler (void *&data) const |
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 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 overrided by calling the subclass' setHandlerCallback() method.
Reimplemented from SoError. |
|
Returns the error handler callback for messages posted via this class. Reimplemented from SoError. |
|
This method returns the pointer used for passing data back to the callback handler method. Reimplemented from SoError. |
|
This static method returns the SoType for this class.
Reimplemented from SoError. |
|
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 takes care of initializing all static data for the class. Reimplemented from SoError. |
|
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods. Reimplemented from SoError. |