SYNOPSIS

#include <Inventor/errors/SoReadError.h>

Inherits SoError.

Public Member Functions

virtual SoType getTypeId (void) 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 input, const char *const format,...)

static void initClass (void)

Protected Member Functions

virtual SoErrorCBPtr getHandler (void *&data) const

Additional Inherited Members

Detailed Description

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.

Member Function Documentation

\fBSoType\fP SoReadError::getTypeId (void) const\fC [virtual]\fP

This method returns the SoType of a particular object instance.

See also:

getClassTypeId()

Reimplemented from SoError.

void SoReadError::post (const \fBSoInput\fP *constin, const char *constformat, ...)\fC [static]\fP

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.

SoErrorCB * SoReadError::getHandler (void *&data) const\fC [protected]\fP, \fC [virtual]\fP

This is just a convenience wrapper around the getHandlerCallback() and getHandlerData() methods.

Reimplemented from SoError.

Author

Generated automatically by Doxygen for Coin from the source code.