![]() |
http://www.sim.no http://www.coin3d.org |
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. More...
#include <Inventor/errors/SoReadError.h>
Public Member Functions | |
virtual SoType | getTypeId (void) const |
![]() | |
virtual | ~SoError () |
const SbString & | getDebugString (void) const |
SbBool | isOfType (const SoType type) const |
Static Public Member Functions | |
static void | setHandlerCallback (SoErrorCB *const function, void *const data) |
static SoErrorCB * | getHandlerCallback (void) |
static void * | getHandlerData (void) |
static SoType | getClassTypeId (void) |
static void | post (const SoInput *const in, const char *const format,...) |
static void | initClass (void) |
![]() | |
static void | setHandlerCallback (SoErrorCB *const func, void *const data) |
static SoErrorCB * | getHandlerCallback (void) |
static void * | getHandlerData (void) |
static SoType | getClassTypeId (void) |
static void | post (const char *const format,...) |
static SbString | getString (const SoNode *const node) |
static SbString | getString (const SoPath *const path) |
static SbString | getString (const SoEngine *const engine) |
static void | initClass (void) |
static void | initClasses (void) |
Protected Member Functions | |
virtual SoErrorCBPtr | getHandler (void *&data) const |
![]() | |
void | setDebugString (const char *const str) |
void | appendToDebugString (const char *const str) |
void | handleError (void) |
Additional Inherited Members | |
![]() | |
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.
|
virtual |
|
static |
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.
References SoError::appendToDebugString(), SoError::defaultHandlerCB(), SoInput::getLocationString(), SbString::getString(), SoError::handleError(), SoError::setDebugString(), and SbString::vsprintf().
Referenced by SoInput::openFile(), SoInput::pushFile(), SoDB::read(), SoFieldData::read(), SoBase::read(), SoInput::read(), SoField::read(), SoGroup::readChildren(), SoField::readConnection(), SoFieldData::readFieldDescriptions(), SoBumpMap::readInstance(), SoVRMLImageTexture::readInstance(), SoTexture2::readInstance(), SoImage::readInstance(), SoTextureCubeMap::readInstance(), SoFile::readNamedFile(), and SoBase::readRoute().
|
protectedvirtual |
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods.
Reimplemented from SoError.
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Fri Jul 20 2018 for Coin by Doxygen. 1.8.14