Blender V4.3
ErrorHandler.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include <algorithm> /* sort() */
12#include <map>
13#include <string>
14#include <vector>
15
16#include "COLLADASaxFWLIErrorHandler.h"
17
20class ErrorHandler : public COLLADASaxFWL::IErrorHandler {
21 public:
24
26 bool virtual handleError(const COLLADASaxFWL::IError *error);
28 bool hasError()
29 {
30 return mError;
31 }
32
33 private:
35 ErrorHandler(const ErrorHandler &pre);
37 const ErrorHandler &operator=(const ErrorHandler &pre);
39 bool mError;
40};
Handler class for parser errors.
bool hasError()
virtual bool handleError(const COLLADASaxFWL::IError *error)
static void error(const char *str)