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

De/serializes objects from/to a lisp-like grammar. More...

#include <parens_serializer.hpp>

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

s11n::io::tree_builder_lexer< NodeType, LexerSharingContext > s11n::io::data_node_serializer< NodeType >

List of all members.

Public Types

typedef NodeType node_type
typedef
parens_serializer
< node_type
this_type
typedef
tree_builder_lexer
< node_type,
sharing::parens_sharing_context
parent_type
typedef
entity_translation_map 
translation_map

Public Member Functions

 parens_serializer ()
virtual ~parens_serializer ()
virtual const
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.


Detailed Description

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

De/serializes objects from/to a lisp-like grammar.

Definition at line 37 of file parens_serializer.hpp.


Member Typedef Documentation

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

Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.

Definition at line 40 of file parens_serializer.hpp.

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

Definition at line 42 of file parens_serializer.hpp.

template<typename NodeType>
typedef tree_builder_lexer<node_type,sharing::parens_sharing_context> s11n::io::parens_serializer< NodeType >::parent_type

Reimplemented from s11n::io::tree_builder_lexer< NodeType, LexerSharingContext >.

Definition at line 43 of file parens_serializer.hpp.

template<typename NodeType>
typedef entity_translation_map s11n::io::parens_serializer< NodeType >::translation_map

Reimplemented from s11n::io::data_node_serializer< NodeType >.

Definition at line 53 of file parens_serializer.hpp.


Constructor & Destructor Documentation

template<typename NodeType>
s11n::io::parens_serializer< NodeType >::parens_serializer (  )  [inline]

Definition at line 45 of file parens_serializer.hpp.

References s11n::io::data_node_serializer< NodeType >::magic_cookie(), and MAGIC_COOKIE_PARENS.

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

Definition at line 51 of file parens_serializer.hpp.


Member Function Documentation

template<typename NodeType>
virtual const translation_map& s11n::io::parens_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 59 of file parens_serializer.hpp.

References s11n::io::parens_serializer_translations().

template<typename NodeType>
virtual bool s11n::io::parens_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 67 of file parens_serializer.hpp.


The documentation for this class was generated from the following file:
Generated on Sun Apr 27 11:46:50 2008 for libs11n-1.2.6 by  doxygen 1.5.3