Blender
V2.93
source
blender
io
collada
ErrorHandler.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
21
#pragma once
22
23
#include <algorithm>
/* sort() */
24
#include <map>
25
#include <string>
26
#include <vector>
27
28
#include "COLLADASaxFWLIErrorHandler.h"
29
32
class
ErrorHandler
:
public
COLLADASaxFWL::IErrorHandler {
33
public
:
35
ErrorHandler
();
36
38
bool
virtual
handleError
(
const
COLLADASaxFWL::IError *
error
);
40
bool
hasError
()
41
{
42
return
mError;
43
}
44
45
private
:
47
ErrorHandler
(
const
ErrorHandler
&pre);
49
const
ErrorHandler
&operator=(
const
ErrorHandler
&pre);
51
bool
mError;
52
};
ErrorHandler
Handler class for parser errors.
Definition:
ErrorHandler.h:32
ErrorHandler::ErrorHandler
ErrorHandler()
Definition:
ErrorHandler.cpp:34
ErrorHandler::hasError
bool hasError()
Definition:
ErrorHandler.h:40
ErrorHandler::handleError
virtual bool handleError(const COLLADASaxFWL::IError *error)
Definition:
ErrorHandler.cpp:39
error
static void error(const char *str)
Definition:
meshlaplacian.c:65
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1