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

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.

Namespaces

namespace  s11n
namespace  s11n::map

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...

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.
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 Dec 10 13:33:58 2005 for libs11n-1.2.1 by  doxygen 1.4.4