Blender V4.5
ErrorHandler Class Reference

Handler class for parser errors. More...

#include <ErrorHandler.h>

Inherits COLLADASaxFWL::IErrorHandler.

Public Member Functions

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

Detailed Description

Handler class for parser errors.

Definition at line 15 of file ErrorHandler.h.

Constructor & Destructor Documentation

◆ ErrorHandler()

ErrorHandler::ErrorHandler ( )

Constructor.

Definition at line 22 of file ErrorHandler.cpp.

References false.

Member Function Documentation

◆ handleError()

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

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 23 of file ErrorHandler.h.

Referenced by DocumentImporter::import().


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