listish.hpp File Reference

#include <s11n.net/s11n/proxy/listish.tpp>

Go to the source code of this file.

Classes

struct  s11n::list::serialize_list_f
 Functor equivalent of serialize_list(). More...
struct  s11n::list::deserialize_list_f
 Functor equivalent of deserialize_list(). More...
struct  s11n::list::serialize_streamable_list_f
 Functor equivalent of serialize_streamable_list(). More...
struct  s11n::list::deserialize_streamable_list_f
 Functor equivalent of deserialize_streamable_list(). More...
class  s11n::list::list_serializable_proxy
 list_serializable_proxy is a functor for de/serializing lists of Serializables. More...
class  s11n::list::streamable_list_serializable_proxy
 streamable_list_serializable_proxy is a functor for de/serializing lists of i/ostreamable Serializables (e.g., PODs). 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::list
 

The s11n::list namespace defines functors and algorithms for working with std::list/vector-style containers.


Defines

#define s11n_net_s11n_v1_1_LIST_HPP_INCLUDED   1

Functions

template<typename NodeType , typename SerType >
bool s11n::list::serialize_list (NodeType &dest, const SerType &src)
 serialize_list() supports list/vector-like types containing any Serializable type.
template<typename NodeType , typename SerType >
bool s11n::list::serialize_list (NodeType &dest, const std::string &subnodename, const SerType &src)
 Identical to the two-argument form of serialize_list(), but serializes src into a subnode of dest, named subnodename.
template<typename NodeType , typename SerType >
bool s11n::list::deserialize_list (const NodeType &src, SerType &dest)
 For each [src.children().begin(),end()) an object of type SerType::value_type is created, deserialized, and is added to dest via push_back( item ).
template<typename NodeType , typename SerType >
bool s11n::list::deserialize_list (const NodeType &src, const std::string &subnodename, SerType &dest)
 Identical to the two-argument form of deserialize_list(), but deserializes a subnode of src, named subnodename.
template<typename NodeType , typename ListType >
bool s11n::list::serialize_streamable_list (NodeType &dest, const ListType &src)
 serialize_streamable_list serializes objects of type std::list<X> (and compatible list types, such as std::vector).
template<typename NodeType , typename ListType >
bool s11n::list::serialize_streamable_list (NodeType &dest, const std::string &subnodename, const ListType &src)
 Identical to serialize_streamable_list(dest,src), but creates a subnode in dest, named subnodename, where the data is stored.
template<typename NodeType , typename ListType >
bool s11n::list::deserialize_streamable_list (const NodeType &src, ListType &dest)
 Deserializes dest from src.
template<typename NodeType , typename ListType >
bool s11n::list::deserialize_streamable_list (const NodeType &src, const std::string &subnodename, ListType &dest)
 Identical to deserialize_streamable_list(), but looks for the data in a subnode of src named subnodename.

Define Documentation

#define s11n_net_s11n_v1_1_LIST_HPP_INCLUDED   1

Definition at line 5 of file listish.hpp.


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