00001 /* 00002 IoBind Library License: 00003 -------------------------- 00004 00005 The zlib/libpng License Copyright (c) 2003 Jonathan de Halleux 00006 00007 This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 00008 00009 Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 00010 00011 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 00012 00013 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 00014 00015 3. This notice may not be removed or altered from any source distribution 00016 */ 00017 00018 00019 #ifndef IOBIND_XML_ESCAPE_PARSER_HPP 00020 #define IOBIND_XML_ESCAPE_PARSER_HPP 00021 00022 #include<string> 00023 00024 namespace iobind{ 00025 namespace parser{ 00026 00027 struct xml_escape_parser 00028 { 00029 std::string escape( std::string const&) const; 00030 std::string unescape( std::string const&) const; 00031 }; 00032 }; 00033 };//iobind 00034 00035 #endif 00036 00037