#include <compact_serializer.hpp>
Inheritance diagram for s11n::io::compact_serializer< NodeType >:
Public Types | |
typedef NodeType | node_type |
typedef compact_serializer< node_type > | this_type |
typedef tree_builder_lexer< node_type, sharing::compact_sharing_context > | parent_type |
typedef entity_translation_map | translation_map |
Public Member Functions | |
compact_serializer () | |
virtual | ~compact_serializer () |
virtual bool | serialize (const node_type &src, std::ostream &dest) |
Writes src out to dest. |
Definition at line 31 of file compact_serializer.hpp.
typedef NodeType s11n::io::compact_serializer< NodeType >::node_type |
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 34 of file compact_serializer.hpp.
typedef compact_serializer<node_type> s11n::io::compact_serializer< NodeType >::this_type |
Definition at line 36 of file compact_serializer.hpp.
typedef tree_builder_lexer<node_type,sharing::compact_sharing_context> s11n::io::compact_serializer< NodeType >::parent_type |
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 37 of file compact_serializer.hpp.
typedef entity_translation_map s11n::io::compact_serializer< NodeType >::translation_map |
Reimplemented from s11n::io::data_node_serializer< NodeType >.
Definition at line 47 of file compact_serializer.hpp.
s11n::io::compact_serializer< NodeType >::compact_serializer | ( | ) | [inline] |
Definition at line 39 of file compact_serializer.hpp.
References s11n::io::data_node_serializer< NodeType >::magic_cookie(), and MAGIC_COOKIE_COMPACT.
virtual s11n::io::compact_serializer< NodeType >::~compact_serializer | ( | ) | [inline, virtual] |
Definition at line 45 of file compact_serializer.hpp.
virtual bool s11n::io::compact_serializer< NodeType >::serialize | ( | const node_type & | src, | |
std::ostream & | dest | |||
) | [inline, virtual] |
Writes src out to dest.
Reimplemented from s11n::io::data_node_serializer< NodeType >.
Definition at line 53 of file compact_serializer.hpp.
References s11n::node_traits< NodeT >::children(), s11n::node_traits< NodeT >::class_name(), INSERT, s11n::node_traits< NodeT >::name(), OS_INT, and s11n::node_traits< NodeT >::properties().