Open Inventor Reference
SoReadError Class Reference

Read error handling. More...

#include <Inventor/errors/SoReadError.h>

Inheritance diagram for SoReadError:
SoError

Public Member Functions

virtual SoType getTypeId () const
 Returns type identifier for error instance. More...
 
- Public Member Functions inherited from SoError
const SbStringgetDebugString () const
 Returns debug string containing full error information from instance. More...
 
bool isOfType (SoType type) const
 Returns TRUE if instance is of given type or is derived from it. More...
 

Static Public Member Functions

static void setHandlerCallback (SoErrorCB *cb, void *data)
 Sets/returns handler callback for SoReadError class. More...
 
static SoErrorCBgetHandlerCallback ()
 Sets/returns handler callback for SoReadError class. More...
 
static void * getHandlerData ()
 Sets/returns handler callback for SoReadError class. More...
 
static SoType getClassTypeId ()
 Returns type identifier for SoReadError class. More...
 
static void post (const SoInput *in, const char *formatString ...)
 Posts an error. More...
 
static void initClass ()
 Initializes SoReadError class. More...
 
- Static Public Member Functions inherited from SoError
static void setHandlerCallback (SoErrorCB *cb, void *data)
 Sets/returns handler callback for SoError class. More...
 
static SoErrorCBgetHandlerCallback ()
 Sets/returns handler callback for SoError class. More...
 
static void * getHandlerData ()
 Sets/returns handler callback for SoError class. More...
 
static SoType getClassTypeId ()
 Returns type identifier for SoError class. More...
 
static void post (const char *formatString ...)
 Posts an error. More...
 
static SbString getString (const SoNode *node)
 These are convenience functions that return a printable string representing the given object. More...
 
static SbString getString (const SoPath *path)
 
static SbString getString (const SoEngine *engine)
 
static void initClass ()
 Initializes SoError class. More...
 
static void initClasses ()
 Initialize ALL Inventor error classes. More...
 

Protected Member Functions

virtual SoErrorCBgetHandler (void *&data) const
 Returns handler callback (and data) to use for a given instance. More...
 
virtual ~SoReadError ()
 
- Protected Member Functions inherited from SoError
void setDebugString (const char *string)
 Sets/appends to the debug string. More...
 
void appendToDebugString (const char *string)
 
void handleError ()
 Calls appropriate handler for an error instance. More...
 
virtual ~SoError ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from SoError
static void defaultHandlerCB (const SoError *error, void *data)
 The default error handler callback - it just prints to stderr. More...
 

Detailed Description

SoReadError is used for errors reported while reading Inventor data files.

See Also
SoDebugError, SoMemoryError

Definition at line 81 of file SoReadError.h.

Constructor & Destructor Documentation

◆ ~SoReadError()

virtual SoReadError::~SoReadError ( )
inlineprotectedvirtual

Definition at line 111 of file SoReadError.h.

Member Function Documentation

◆ getClassTypeId()

static SoType SoReadError::getClassTypeId ( )
inlinestatic

Definition at line 94 of file SoReadError.h.

◆ getHandler()

virtual SoErrorCB* SoReadError::getHandler ( void *&  data) const
protectedvirtual

Reimplemented from SoError.

◆ getHandlerCallback()

static SoErrorCB* SoReadError::getHandlerCallback ( )
inlinestatic

Definition at line 89 of file SoReadError.h.

◆ getHandlerData()

static void* SoReadError::getHandlerData ( )
inlinestatic

Definition at line 91 of file SoReadError.h.

◆ getTypeId()

virtual SoType SoReadError::getTypeId ( ) const
virtual

Reimplemented from SoError.

◆ initClass()

static void SoReadError::initClass ( )
static

◆ post()

static void SoReadError::post ( const SoInput in,
const char *  formatString ... 
)
static

◆ setHandlerCallback()

static void SoReadError::setHandlerCallback ( SoErrorCB cb,
void *  data 
)
inlinestatic

Definition at line 86 of file SoReadError.h.


The documentation for this class was generated from the following file: