libzypp  13.10.6
XmlEscape.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
12 #ifndef ZYPP_PARSER_XML_XMLESCAPE_H
13 #define ZYPP_PARSER_XML_XMLESCAPE_H
14 
15 #include <string>
16 #include "zypp/APIConfig.h"
17 
19 namespace zypp
20 {
22  namespace xml
23  {
24 
26  ZYPP_API std::string escape( const std::string & in_r );
27 
29  ZYPP_API std::string unescape( const std::string & in_r );
30 
31  } // namespace xml
33 } // namespace zypp
35 #endif // ZYPP_PARSER_XML_XMLESCAPE_H
std::string unescape(const std::string &in_r)
Unescape xml special charaters (&amp; -&gt; &amp;; from IoBind library)
Definition: XmlEscape.cc:109
std::string escape(const std::string &in_r)
Escape xml special charaters (&amp; -&gt; &amp;; from IoBind library).
Definition: XmlEscape.cc:106
Provides API related macros.
#define ZYPP_API
Definition: APIConfig.h:45