expat_serializer.hpp File Reference

#include <s11n.net/s11n/io/strtool.hpp>
#include <s11n.net/s11n/s11n_debuggering_macros.hpp>
#include <s11n.net/s11n/io/data_node_format.hpp>
#include <s11n.net/s11n/traits.hpp>
#include <expat.h>
#include <stdexcept>
#include <sstream>

Go to the source code of this file.

Classes

struct  s11n::io::sharing::expat_sharing_context
 Sharing context used by expat_serializer. More...
class  s11n::io::expat_serializer< NodeType >
 expat_serializer is an XML-based Serializer, using libexpat to read it's data. More...

Namespaces

namespace  s11n
 

The s11n serialization (s11n) framework is an object serialization framework for C++ modelled heavily off work by Rusty Ballinger (bozo@users.sourceforge.net http://libfunutil.sourceforge.net).


namespace  s11n::io
 

The s11n::io namespace defines some i/o-related types which conform to the conventions expected by the s11n::de/serialize() core functions.


namespace  s11n::io::sharing

Defines

#define s11n_EXPAT_SERIALIZER_HPP_INCLUDED   1
#define MAGIC_COOKIE_EXPAT_XML   "<!DOCTYPE s11n::io::expat_serializer>"
#define EXPATDEBUG   if(0) CERR
#define EXPAT_CLASS_ATTRIBUTE   "class"
#define INDENT(LEVEL, ECHO)   indent = ""; for( size_t i = 0; i < depth + LEVEL; i++ ) { indent += '\t'; if(ECHO) dest << '\t'; }

Functions

entity_translation_map & s11n::io::expat_serializer_translations ()
 The entity translations map used by expat_serializer.

Define Documentation

#define EXPAT_CLASS_ATTRIBUTE   "class"

Definition at line 21 of file expat_serializer.hpp.

#define EXPATDEBUG   if(0) CERR

Definition at line 20 of file expat_serializer.hpp.

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

Definition at line 2 of file expat_serializer.hpp.


Generated on Sat Mar 20 12:29:24 2010 for libs11n-1.2.10 by  doxygen 1.6.1