tinyxmlerror.cpp
Go to the documentation of this file.
00001 /*
00002 www.sourceforge.net/projects/tinyxml
00003 Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
00004 
00005 This software is provided 'as-is', without any express or implied 
00006 warranty. In no event will the authors be held liable for any 
00007 damages arising from the use of this software.
00008 
00009 Permission is granted to anyone to use this software for any 
00010 purpose, including commercial applications, and to alter it and 
00011 redistribute it freely, subject to the following restrictions:
00012 
00013 1. The origin of this software must not be misrepresented; you must
00014 not claim that you wrote the original software. If you use this
00015 software in a product, an acknowledgment in the product documentation
00016 would be appreciated but is not required.
00017 
00018 2. Altered source versions must be plainly marked as such, and
00019 must not be misrepresented as being the original software.
00020 
00021 3. This notice may not be removed or altered from any source
00022 distribution.
00023 */
00024 
00025 #include "tinyxml.h"
00026 
00027 // The goal of the seperate error file is to make the first
00028 // step towards localization. tinyxml (currently) only supports
00029 // english error messages, but the could now be translated.
00030 //
00031 // It also cleans up the code a bit.
00032 //
00033 
00034 namespace rospack_tinyxml {
00035 
00036 const char* TiXmlBase::errorString[ TIXML_ERROR_STRING_COUNT ] =
00037 {
00038         "No error",
00039         "Error",
00040         "Failed to open file",
00041         "Memory allocation failed.",
00042         "Error parsing Element.",
00043         "Failed to read Element name",
00044         "Error reading Element value.",
00045         "Error reading Attributes.",
00046         "Error: empty tag.",
00047         "Error reading end tag.",
00048         "Error parsing Unknown.",
00049         "Error parsing Comment.",
00050         "Error parsing Declaration.",
00051         "Error document empty.",
00052         "Error null (0) or unexpected EOF found in input stream.",
00053         "Error parsing CDATA.",
00054         "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.",
00055 };
00056 
00057 }


rospack
Author(s): Brian Gerkey/gerkey@willowgarage.com, Morgan Quigley/mquigley@cs.stanford.edu
autogenerated on Fri Jan 3 2014 11:51:40