Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

s11n::map::streamable_map_serializer_proxy Struct Reference

A proxy which can serialize std::maps which contain Streamable Types. More...

#include <map.h>

List of all members.

Public Member Functions

template<typename NodeType, typename SerializableType> bool operator() (NodeType &dest, const SerializableType &src) const
 Serializes src to dest.

template<typename NodeType, typename SerializableType> bool operator() (const NodeType &src, SerializableType &dest) const
 Deserializes dest from src.


Detailed Description

A proxy which can serialize std::maps which contain Streamable Types.

It uses de/serialize_streamable_map(), so see those functions for details.

Definition at line 516 of file map.h.


Member Function Documentation

template<typename NodeType, typename SerializableType>
bool s11n::map::streamable_map_serializer_proxy::operator() NodeType &  dest,
const SerializableType &  src
const [inline]
 

Serializes src to dest.

ACHTUNG: never pass the same destination container to this operator more than once or you will get duplicate and/or incorrect data.

Definition at line 526 of file map.h.

References operator()(), and s11n::map::serialize_streamable_map().

Referenced by operator()().


The documentation for this struct was generated from the following file:
Generated on Tue Jul 20 10:46:52 2004 for s11n by doxygen 1.3.7