#include <funxml_serializer.hpp>
Inheritance diagram for s11n::io::funxml_serializer< NodeType >:
Public Types | |
typedef NodeType | node_type |
typedef funxml_serializer< node_type > | this_type |
typedef tree_builder_lexer< node_type, sharing::funxml_sharing_context > | parent_type |
Public Member Functions | |
funxml_serializer () | |
virtual | ~funxml_serializer () |
virtual const entity_translation_map & | entity_translations () const |
Reimplemented to return this type's entity translation map. | |
virtual bool | serialize (const node_type &src, std::ostream &dest) |
Writes src out to dest. | |
virtual node_type * | deserialize (std::istream &src) |
Overridden to parse src using this object's grammar rules. | |
virtual node_type * | deserialize (const std::string &src) |
Definition at line 46 of file funxml_serializer.hpp.
typedef NodeType s11n::io::funxml_serializer< NodeType >::node_type |
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 49 of file funxml_serializer.hpp.
typedef funxml_serializer<node_type> s11n::io::funxml_serializer< NodeType >::this_type |
Definition at line 51 of file funxml_serializer.hpp.
typedef tree_builder_lexer<node_type,sharing::funxml_sharing_context> s11n::io::funxml_serializer< NodeType >::parent_type |
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 52 of file funxml_serializer.hpp.
s11n::io::funxml_serializer< NodeType >::funxml_serializer | ( | ) | [inline] |
Definition at line 54 of file funxml_serializer.hpp.
References s11n::io::data_node_serializer< NodeType >::magic_cookie(), and MAGIC_COOKIE_FUNXML.
virtual s11n::io::funxml_serializer< NodeType >::~funxml_serializer | ( | ) | [inline, virtual] |
Definition at line 59 of file funxml_serializer.hpp.
virtual const entity_translation_map& s11n::io::funxml_serializer< NodeType >::entity_translations | ( | ) | const [inline, virtual] |
Reimplemented to return this type's entity translation map.
Reimplemented from s11n::io::data_node_serializer< NodeType >.
Definition at line 65 of file funxml_serializer.hpp.
References s11n::io::funxml_serializer_translations().
virtual bool s11n::io::funxml_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 74 of file funxml_serializer.hpp.
References INDENT, s11n::io::data_node_serializer< NodeType >::magic_cookie(), and s11n::io::strtool::translate_entities().
virtual node_type* s11n::io::funxml_serializer< NodeType >::deserialize | ( | std::istream & | src | ) | [inline, virtual] |
Overridden to parse src using this object's grammar rules.
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 138 of file funxml_serializer.hpp.
virtual node_type* s11n::io::funxml_serializer< NodeType >::deserialize | ( | const std::string & | src | ) | [inline, virtual] |
Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.
Definition at line 144 of file funxml_serializer.hpp.
References s11n::deserialize().