aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
tinyxmlerror.cpp
Go to the documentation of this file.
1 /*
2 www.sourceforge.net/projects/tinyxml
3 Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason
4 (www.grinninglizard.com)
5 
6 This software is provided 'as-is', without any express or implied
7 warranty. In no event will the authors be held liable for any
8 damages arising from the use of this software.
9 
10 Permission is granted to anyone to use this software for any
11 purpose, including commercial applications, and to alter it and
12 redistribute it freely, subject to the following restrictions:
13 
14 1. The origin of this software must not be misrepresented; you must
15 not claim that you wrote the original software. If you use this
16 software in a product, an acknowledgment in the product documentation
17 would be appreciated but is not required.
18 
19 2. Altered source versions must be plainly marked as such, and
20 must not be misrepresented as being the original software.
21 
22 3. This notice may not be removed or altered from any source
23 distribution.
24 */
25 
26 #include "tinyxml.h"
27 
28 // The goal of the seperate error file is to make the first
29 // step towards localization. tinyxml (currently) only supports
30 // english error messages, but the could now be translated.
31 //
32 // It also cleans up the code a bit.
33 //
34 
36  "No error",
37  "Error",
38  "Failed to open file",
39  "Memory allocation failed.",
40  "Error parsing Element.",
41  "Failed to read Element name",
42  "Error reading Element value.",
43  "Error reading Attributes.",
44  "Error: empty tag.",
45  "Error reading end tag.",
46  "Error parsing Unknown.",
47  "Error parsing Comment.",
48  "Error parsing Declaration.",
49  "Error document empty.",
50  "Error null (0) or unexpected EOF found in input stream.",
51  "Error parsing CDATA.",
52  "Error when TiXmlDocument added to document, because "
53  "TiXmlDocument can only be at the root.",
54 };
static const char * errorString[TIXML_ERROR_STRING_COUNT]
Definition: tinyxml.h:408