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, sharing::parens_sharing_context > 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_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.

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
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 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]
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 Sat Mar 20 12:29:25 2010 for libs11n-1.2.10 by  doxygen 1.6.1