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