Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-14 08:15:01

0001 #ifndef DDCORE_SRC_XML_TINYXMLERROR_INL_H
0002 #define DDCORE_SRC_XML_TINYXMLERROR_INL_H
0003 
0004 /*
0005   www.sourceforge.net/projects/tinyxml
0006   Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
0007 
0008   This software is provided 'as-is', without any express or implied
0009   warranty. In no event will the authors be held liable for any
0010   damages arising from the use of this software.
0011 
0012   Permission is granted to anyone to use this software for any
0013   purpose, including commercial applications, and to alter it and
0014   redistribute it freely, subject to the following restrictions:
0015 
0016   1. The origin of this software must not be misrepresented; you must
0017   not claim that you wrote the original software. If you use this
0018   software in a product, an acknowledgment in the product documentation
0019   would be appreciated but is not required.
0020 
0021   2. Altered source versions must be plainly marked as such, and
0022   must not be misrepresented as being the original software.
0023 
0024   3. This notice may not be removed or altered from any source
0025   distribution.
0026 
0027   F.Gaede, DESY : changed extension to .cc  for use with marlin
0028   and include from "marlin/tinyxml.h"
0029 */
0030 
0031 #include <XML/tinyxml.h>
0032 
0033 
0034 // The goal of the seperate error file is to make the first
0035 // step towards localization. tinyxml (currently) only supports
0036 // english error messages, but the could now be translated.
0037 //
0038 // It also cleans up the code a bit.
0039 //
0040 
0041 const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
0042   {
0043     "No error",
0044     "Error",
0045     "Failed to open file",
0046     "Memory allocation failed.",
0047     "Error parsing Element.",
0048     "Failed to read Element name",
0049     "Error reading Element value.",
0050     "Error reading Attributes.",
0051     "Error: empty tag.",
0052     "Error reading end tag.",
0053     "Error parsing Unknown.",
0054     "Error parsing Comment.",
0055     "Error parsing Declaration.",
0056     "Error document empty.",
0057     "Error null (0) or unexpected EOF found in input stream.",
0058     "Error parsing CDATA.",
0059     "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.",
0060   };
0061 
0062 #endif