mapish.hpp File Reference

#include <map>
#include <list>
#include <utility>
#include <iterator>
#include <algorithm>
#include <s11n.net/s11n/proxy/mapish.tpp>

Go to the source code of this file.

Classes

struct  s11n::map::serialize_streamable_map_f
struct  s11n::map::deserialize_streamable_map_f
struct  s11n::map::serialize_streamable_pair_f
 A functor equivalent of serialize_streamable_pair(). More...
struct  s11n::map::deserialize_streamable_pair_f
 A functor equivalent of deserialize_streamable_pair(). More...
struct  s11n::map::serialize_streamable_map_pairs_f
 A functor equivalent of serialize_streamable_map_pairs(). More...
struct  s11n::map::deserialize_streamable_map_pairs_f
 A functor equivalent of deserialize_streamable_map_pairs(). More...
struct  s11n::map::serialize_pair_f
 A functor equivalent of serialize_pair(). More...
struct  s11n::map::deserialize_pair_f
 A functor equivalent of deserialize_pair(). More...
struct  s11n::map::serialize_map_f
 A functor equivalent of serialize_map(). More...
struct  s11n::map::deserialize_map_f
 A functor equivalent of deserialize_map(). More...
struct  s11n::map::streamable_pair_serializable_proxy
 A proxy for de/serializing pair types holding two i/ostreamable components. More...
struct  s11n::map::pair_serializable_proxy
 pair_serializable_proxy is a Serializable Proxy for std::pairs. More...
struct  s11n::map::streamable_map_serializable_proxy
 A proxy which can serialize std::maps which contain Streamable Types. More...
struct  s11n::map::map_serializable_proxy
 map_serializable_proxy is a Serialization Proxy for std::maps. More...

Namespaces

namespace  s11n
 

The s11n serialization (s11n) framework is an object serialization framework for C++ modelled heavily off work by Rusty Ballinger (bozo@users.sourceforge.net http://libfunutil.sourceforge.net).


namespace  s11n::map
 

The s11n::map namespace defines functors and algorithms for working with std::map, std::pair, and conventions-compatible containers.


Defines

#define s11n_net_s11n_v1_1_MAP_HPP_INCLUDED   1

Functions

template<typename NodeType , typename MapType >
bool s11n::map::serialize_streamable_map (NodeType &dest, const MapType &src)
 serialize_streamable_map() is intended for use as a serialization proxy for the s11n framework.
template<typename NodeType , typename MapType >
bool s11n::map::serialize_streamable_map (NodeType &dest, const std::string &subnodename, const MapType &src)
 Exactly like serialize_streamable_map(dest,src) except that a subnode, named subnodename, of dest is created to store the data.
template<typename NodeType , typename MapType >
bool s11n::map::deserialize_streamable_map (const NodeType &src, MapType &dest)
 This is the converse of serialize_streamable_map().
template<typename NodeType , typename MapType >
bool s11n::map::deserialize_streamable_map (const NodeType &src, const std::string &subnodename, MapType &dest)
 Exactly like deserialize_streamable_map(dest,src) except that a subnode of dest, named subnodename, is sought to pull the data from.
template<typename NodeType , typename PairType >
bool s11n::map::serialize_streamable_pair (NodeType &dest, const PairType &src)
 Serializes a std::pair-compatible type into a "custom" format, suitable for saving pairs in standard XML (de/serialize_streamable_map() can't do this when keys are not valid XML keys, e.g., numeric).
template<typename PairType , typename NodeType >
PairType s11n::map::deserialize_streamable_pair (const NodeType &src)
 The quasi-counterpart of serialize_streamable_pair().
template<typename NodeType , typename PairType >
bool s11n::map::deserialize_streamable_pair (const NodeType &src, PairType &dest)
 Overloaded form with conventional argument ordering.
template<typename NodeType , typename MapType >
bool s11n::map::serialize_streamable_map_pairs (NodeType &dest, const MapType &src)
 Similar to serialize_streamable_map(), but puts each key/value pair into it's own node, using serialize_streamable_pair().
template<typename NodeType , typename MapType >
bool s11n::map::deserialize_streamable_map_pairs (const NodeType &src, MapType &dest)
 The load-time counterpart to serialize_streamable_map_pairs().
template<typename NodeType , typename PairType >
bool s11n::map::serialize_pair (NodeType &dest, const PairType &src)
 serialize_pair() can serialize any std::pair type which meets these conditions:
template<typename NodeType , typename PairType >
bool s11n::map::deserialize_pair (const NodeType &src, PairType &dest)
 The counterpart to serialize_pair().
template<typename NodeType , typename MapType >
bool s11n::map::serialize_map (NodeType &dest, const MapType &src)
 Serialize the given map into dest.
template<typename NodeType , typename MapType >
bool s11n::map::serialize_map (NodeType &dest, const std::string &subnodename, const MapType &src)
 Identical to the two-argument form, but creates a subnode of dest, named subnodename, and serializes to that node.
template<typename NodeType , typename MapType >
bool s11n::map::deserialize_map (const NodeType &src, MapType &dest)
 The counterpart of serializer_map(), deserializes src into the given map.
template<typename NodeType , typename MapType >
bool s11n::map::deserialize_map (const NodeType &src, const std::string &subnodename, MapType &dest)
 Identical to the two-argument form, but tries to deserialize from a subnode of src named subnodename.

Define Documentation

#define s11n_net_s11n_v1_1_MAP_HPP_INCLUDED   1

Definition at line 2 of file mapish.hpp.


Generated on Sat Mar 20 12:29:24 2010 for libs11n-1.2.10 by  doxygen 1.6.1