Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

s11n::io::funxml_serializer< NodeType > Class Template Reference

De/serializes objects from/to a simple XML grammar, with all properties and children stored as subnodes. More...

#include <funxml_serializer.hpp>

Inheritance diagram for s11n::io::funxml_serializer< NodeType >:

s11n::io::tree_builder_lexer< NodeType, sharing::funxml_sharing_context > s11n::io::data_node_serializer< NodeType > List of all members.

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_mapentity_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_typedeserialize (std::istream &src)
 Overridden to parse src using this object's grammar rules.
virtual node_typedeserialize (const std::string &src)

Detailed Description

template<typename NodeType>
class s11n::io::funxml_serializer< NodeType >

De/serializes objects from/to a simple XML grammar, with all properties and children stored as subnodes.

Definition at line 46 of file funxml_serializer.hpp.


Member Typedef Documentation

template<typename NodeType>
typedef NodeType s11n::io::funxml_serializer< NodeType >::node_type
 

Reimplemented from s11n::io::tree_builder_lexer< NodeType, sharing::funxml_sharing_context >.

Definition at line 49 of file funxml_serializer.hpp.

template<typename NodeType>
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, sharing::funxml_sharing_context >.

Definition at line 52 of file funxml_serializer.hpp.

template<typename NodeType>
typedef funxml_serializer<node_type> s11n::io::funxml_serializer< NodeType >::this_type
 

Definition at line 51 of file funxml_serializer.hpp.


Constructor & Destructor Documentation

template<typename NodeType>
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.

template<typename NodeType>
virtual s11n::io::funxml_serializer< NodeType >::~funxml_serializer  )  [inline, virtual]
 

Definition at line 59 of file funxml_serializer.hpp.


Member Function Documentation

template<typename NodeType>
virtual node_type* s11n::io::funxml_serializer< NodeType >::deserialize const std::string &  src  )  [inline, virtual]
 

Reimplemented from s11n::io::tree_builder_lexer< NodeType, sharing::funxml_sharing_context >.

Definition at line 144 of file funxml_serializer.hpp.

References s11nlite::deserialize().

template<typename NodeType>
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, sharing::funxml_sharing_context >.

Definition at line 138 of file funxml_serializer.hpp.

template<typename NodeType>
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().

template<typename NodeType>
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().


The documentation for this class was generated from the following file:
Generated on Sun Dec 18 18:30:28 2005 for libs11n-1.2.2 by  doxygen 1.4.4