wesnoth_serializer.hpp File Reference

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

Go to the source code of this file.

Namespaces

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

Classes

struct  s11n::io::sharing::wesnoth_sharing_context
 Sharing context used by wesnoth_serializer. More...
class  s11n::io::wesnoth_serializer< NodeType >
 De/serializes objects from/to this class' config-file-like grammar. More...

Defines

#define wesnoth_SERIALIZER_H_INCLUDED   1
#define MAGIC_COOKIE_WESNOTH   "#s11n::io::wesnoth_serializer"
#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
 convenience typedef

Functions

entity_translation_map & s11n::io::wesnoth_serializer_translations ()
 The entity translations map used by wesnoth_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 14 of file wesnoth_serializer.hpp.

#define MAGIC_COOKIE_WESNOTH   "#s11n::io::wesnoth_serializer"

Definition at line 12 of file wesnoth_serializer.hpp.

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

#define wesnoth_SERIALIZER_H_INCLUDED   1

Definition at line 2 of file wesnoth_serializer.hpp.


Generated on Wed Jun 4 21:44:19 2008 for libs11n by  doxygen 1.5.3