simplexml_serializer.hpp File Reference

#include <s11n.net/s11n/io/data_node_format.hpp>
#include <s11n.net/s11n/io/strtool.hpp>
#include <s11n.net/s11n/traits.hpp>

Go to the source code of this file.

Namespaces

namespace  s11n
namespace  s11n::io
namespace  s11n::io::sharing

Classes

struct  s11n::io::sharing::simplexml_sharing_context
 Sharing context used by simplexml_serializer. More...
class  s11n::io::simplexml_serializer< NodeType >
 De/serializes objects from/to a simple XML grammar, with properties stored as XML attibutes and children stored as subnodes. More...

Defines

#define simplexml_SERIALIZER_H_INCLUDED   1
#define MAGIC_COOKIE_SIMPLEXML   "<!DOCTYPE s11n::simplexml>"
#define INDENT(LEVEL, ECHO)   indent = ""; for( size_t i = 0; i < depth + LEVEL; i++ ) { indent += '\t'; if(ECHO) dest << '\t'; }

Typedefs

typedef std::map
< std::string,
std::string > 
s11n::io::entity_translation_map

Functions

entity_translation_map & s11n::io::simplexml_serializer_translations ()
 The entity translations map used by simplexml_serializer.


Define Documentation

#define INDENT ( LEVEL,
ECHO   )     indent = ""; for( size_t i = 0; i < depth + LEVEL; i++ ) { indent += '\t'; if(ECHO) dest << '\t'; }

Definition at line 43 of file simplexml_serializer.hpp.

#define MAGIC_COOKIE_SIMPLEXML   "<!DOCTYPE s11n::simplexml>"

Definition at line 15 of file simplexml_serializer.hpp.

Referenced by s11n::io::simplexml_serializer< NodeType >::simplexml_serializer().

#define simplexml_SERIALIZER_H_INCLUDED   1

Definition at line 2 of file simplexml_serializer.hpp.


Generated on Wed Jun 4 21:45:46 2008 for libs11n-1.2.7 by  doxygen 1.5.3