GEAR
1.9.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Friends
Pages
src
gearxml
tinyxmlerror.cc
1
/*
2
www.sourceforge.net/projects/tinyxml
3
Original code (2.0 and earlier )copyright (c) 2000-2002 Lee Thomason (www.grinninglizard.com)
4
5
This software is provided 'as-is', without any express or implied
6
warranty. In no event will the authors be held liable for any
7
damages arising from the use of this software.
8
9
Permission is granted to anyone to use this software for any
10
purpose, including commercial applications, and to alter it and
11
redistribute it freely, subject to the following restrictions:
12
13
1. The origin of this software must not be misrepresented; you must
14
not claim that you wrote the original software. If you use this
15
software in a product, an acknowledgment in the product documentation
16
would be appreciated but is not required.
17
18
2. Altered source versions must be plainly marked as such, and
19
must not be misrepresented as being the original software.
20
21
3. This notice may not be removed or altered from any source
22
distribution.
23
24
F.Gaede, DESY : changed extension to .cc for use with gear
25
and include from "gearxml/tinyxml.h"
26
: put in namespace gear
27
$Id: tinyxmlerror.cc,v 1.1.1.1 2005-09-13 14:41:03 gaede Exp $
28
*/
29
30
#include "gearxml/tinyxml.h"
31
32
33
namespace
gear{
34
35
// The goal of the seperate error file is to make the first
36
// step towards localization. tinyxml (currently) only supports
37
// latin-1, but at least the error messages could now be translated.
38
//
39
// It also cleans up the code a bit.
40
//
41
42
const
char
* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
43
{
44
"No error"
,
45
"Error"
,
46
"Failed to open file"
,
47
"Memory allocation failed."
,
48
"Error parsing Element."
,
49
"Failed to read Element name"
,
50
"Error reading Element value."
,
51
"Error reading Attributes."
,
52
"Error: empty tag."
,
53
"Error reading end tag."
,
54
"Error parsing Unknown."
,
55
"Error parsing Comment."
,
56
"Error parsing Declaration."
,
57
"Error document empty."
,
58
"Error null (0) or unexpected EOF found in input stream."
,
59
};
60
61
62
}
//fg: end namespace gear
Generated by
1.8.5