SoReadError(3)
π SoReadError(3) π
okay so bestie, welcome to the SoReadError(3) page from the Library Functions Manual β yes, that one. this is the class that carries the whole model-import error situation on her back, and she does it flawlessly. π
β¨ NAME β¨
SoReadError β the SoReadError class is used during model import operations.
πΈ SYNOPSIS πΈ
#include <Inventor/errors/SoReadError.h>
Inherits SoError.
π Public Member Functions
virtual SoType getTypeId (void) const
π¦ Public Member Functions inherited from SoError
virtual ~SoError ()const SbString & getDebugString (void) constSbBool 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 Public Member Functions inherited from SoError
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
π Protected Member Functions inherited from SoError
void setDebugString (const char *const str)void appendToDebugString (const char *const str)void handleError (void)
β Additional Inherited Members
π« Static Protected Member Functions inherited from SoError
static void defaultHandlerCB (const SoError *error, void *userdata)
π¦ Detailed Description π¦
The SoReadError class is used during model import operations. that's her whole thing, she's booked and busy β¨
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. lowkey recommended, ngl β do it.
π Member Function Documentation π
π SoType SoReadError::getTypeId (void ) const [virtual]
This method returns the SoType of a particular object instance.
See also: getClassTypeId()
Reimplemented from SoError.
π void SoReadError::post (const SoInput *const in, const char *const format, ...) [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 messy files, the chaotic ones, the ones that didn't read the assignment π
The messages will be wrapped within information on line number, file offset etc. so you actually know where the drama happened. π΅οΈββοΈ
References SoError::appendToDebugString(), SoError::defaultHandlerCB(), SoInput::getLocationString(), SbString::getString(), SoError::handleError(), SoError::setDebugString(), and SbString::vsprintf().
Referenced by SoInput::openFile(), SoInput::pushFile(), SoBase::read(), SoDB::read(), SoDB::read(), SoField::read(), SoFieldData::read(), SoInput::read(), SoInput::read(), SoInput::read(), SoGroup::readChildren(), SoField::readConnection(), SoFieldData::readFieldDescriptions(), SoBumpMap::readInstance(), SoImage::readInstance(), SoTexture2::readInstance(), SoTextureCubeMap::readInstance(), SoVRMLImageTexture::readInstance(), SoFile::readNamedFile(), and SoBase::readRoute().
not me listingSoDB::read()twice andSoInput::read()three times β bestie that's exactly how the original lists them, so they stay. no cap. π«Ά
π SoErrorCB * SoReadError::getHandler (void *& data) const [protected], [virtual]
This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods. she's simple, she's cute, she's a wrapper π
Reimplemented from SoError.
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human author, a robot did this and honestly? slayed π€β¨
and that's the whole page, bestie!! π the footer energy was giving Coin, Version 2.5.0, and SoReadError(3) β so if you need to cite your source, that's the vibe check right there. go forth and handle your import errors like the main character you are. π
ππ¦
π¦ where this page comes from
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 43: Coin2-devel 2.5.0-52.fc43 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- fedora 44: Coin2-devel 2.5.0-54.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms