SoReadError(3)
π SoReadError π
okay bestie, welcome to the SoReadError page β it's a manual page for the Coin library, section 3 (that's library functions, iykyk). buckle up, it's giving "error class that handles model imports" and honestly? kinda iconic.
β¨ NAME β¨
SoReadError β the SoReadError class is used during model import operations. that's it, that's the vibe. π¦
πΈ SYNOPSIS πΈ
#include <Inventor/errors/SoReadError.h>
Inherits SoError. yes queen, it's a whole family tree situation. π
π Public Member Functions
virtual SoType getTypeId (void) constβ gives you back the type id, fr fr
π«Ά Public Member Functions inherited from SoError
virtual ~SoError ()β the destructor, she cleans up after herselfconst SbString & getDebugString (void) constβ hands you the debug stringSbBool isOfType (const SoType type) constβ asks "are you that type, bestie?"
π Static Public Member Functions
static void setHandlerCallback (SoErrorCB *const function, void *const data)β sets up your handler callbackstatic SoErrorCB * getHandlerCallback (void)β gets the handler callback backstatic void * getHandlerData (void)β gets the handler datastatic SoType getClassTypeId (void)β the class-level type idstatic void post (const SoInput *const input, const char *const format,...)β posts an error/warning messagestatic void initClass (void)β sets the class up
β¨ Static Public Member Functions inherited from SoError
static void setHandlerCallback (SoErrorCB *const func, void *const data)β sets the handler callbackstatic SoErrorCB * getHandlerCallback (void)β gets the handler callbackstatic void * getHandlerData (void)β gets the handler datastatic SoType getClassTypeId (void)β the class type idstatic void post (const char *const format,...)β posts a messagestatic SbString getString (const SoNode *const node)β string from a nodestatic SbString getString (const SoPath *const path)β string from a pathstatic SbString getString (const SoEngine *const engine)β string from an enginestatic void initClass (void)β init that classstatic void initClasses (void)β init all the classes, plural era
π Protected Member Functions
virtual SoErrorCBPtr getHandler (void *&data) constβ the handler getter, protected tho
π§ Protected Member Functions inherited from SoError
void setDebugString (const char *const str)β sets the debug stringvoid appendToDebugString (const char *const str)β appends to the debug stringvoid handleError (void)β handles the error
π Additional Inherited Members
β Static Protected Member Functions inherited from SoError
static void defaultHandlerCB (const SoError *error, void *userdata)β the default handler callback, the OG fallback
π¦ Detailed Description π¦
the SoReadError class is used during model import operations. no cap.
during model file import, this class will be used to output any error or warning messages. she's literally the messenger. π
depending on your application, setting up your own error handler callbacks for SoReadError might be a good idea. lowkey a great idea actually, do it for yourself. π«Ά
π Member Function Documentation π
πΈ SoType SoReadError::getTypeId (void ) const [virtual]
this method returns the SoType of a particular object instance. it's giving "who am I, really?" energy. πͺ
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. yes bestie, we're calling out the messy files. π’
the messages will be wrapped within information on line number, file offset etc. so you get the receipts. π§Ύβ¨
π SoErrorCB * SoReadError::getHandler (void *& data) const [protected], [virtual]
this is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods. she's a shortcut, and honestly? we love a shortcut. π
Reimplemented from SoError.
π Author π
Generated automatically by Doxygen for Coin from the source code. not me getting auto-generated by Doxygen, that's main character energy fr fr. πβ¨
okay that's the whole page bestie, every flag, every signature, every inherited member β all of it, preserved, slayed, periodt. π
this was Coin, Version 3.1.3, section SoReadError(3) β mwah, take care of her, and go set up those error handler callbacks like I told you. ππ¦π
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.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