Blender  V3.3
Public Member Functions | List of all members
ErrorHandler Class Reference

Handler class for parser errors. More...

#include <ErrorHandler.h>

Inheritance diagram for ErrorHandler:

Public Member Functions

 ErrorHandler ()
 
virtual bool handleError (const COLLADASaxFWL::IError *error)
 
bool hasError ()
 

Detailed Description

Handler class for parser errors.

Definition at line 18 of file ErrorHandler.h.

Constructor & Destructor Documentation

◆ ErrorHandler()

ErrorHandler::ErrorHandler ( )

Constructor.

Definition at line 20 of file ErrorHandler.cpp.

Member Function Documentation

◆ handleError()

bool ErrorHandler::handleError ( const COLLADASaxFWL::IError *  error)
virtual

handle any error thrown by the parser.

Definition at line 25 of file ErrorHandler.cpp.

References error(), and STREQ.

◆ hasError()

bool ErrorHandler::hasError ( )
inline

True if there was an error during parsing.

Definition at line 26 of file ErrorHandler.h.

Referenced by DocumentImporter::import().


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