Blender  V3.3
ErrorHandler.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include <algorithm> /* sort() */
10 #include <map>
11 #include <string>
12 #include <vector>
13 
14 #include "COLLADASaxFWLIErrorHandler.h"
15 
18 class ErrorHandler : public COLLADASaxFWL::IErrorHandler {
19  public:
21  ErrorHandler();
22 
24  bool virtual handleError(const COLLADASaxFWL::IError *error);
26  bool hasError()
27  {
28  return mError;
29  }
30 
31  private:
33  ErrorHandler(const ErrorHandler &pre);
35  const ErrorHandler &operator=(const ErrorHandler &pre);
37  bool mError;
38 };
Handler class for parser errors.
Definition: ErrorHandler.h:18
bool hasError()
Definition: ErrorHandler.h:26
virtual bool handleError(const COLLADASaxFWL::IError *error)
static void error(const char *str)
Definition: meshlaplacian.c:51