variant.hpp File Reference

#include <string>
#include <sstream>
#include <map>

Go to the source code of this file.

Classes

struct  s11n::Detail::variant
 variant provides a really convenient way to lexically cast strings and other streamable types to/from each other. 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::Detail
 

The Detail namespace holds types which aren't strictly internal/private, but are nonetheless considered to be "implementation details." Unless specifically documented otherwise, clients are discouraged from using the Detail-namespace API from client code, as any part of it may change significantly or be replaced/removed without any warning.


namespace  s11n::Detail::Private

Defines

#define s11n_net_s11n_VARIANT_HPP_INCLUDED   1

Functions

template<typename value_type >
value_type s11n::Detail::Private::from_string (const std::string &str, const value_type &errorVal) throw ()
 Lexically casts str to a value_type, returning errorVal if the conversion fails.
template<typename value_type >
std::string s11n::Detail::Private::to_string (const value_type &obj) throw ()
 Returns a string representation of the given object, which must be ostreamble.
std::string s11n::Detail::Private::from_string (const std::string &str, const std::string &) throw ()
 Convenience/efficiency overload.
std::string s11n::Detail::Private::from_string (const char *str, const char *) throw ()
 Convenience/efficiency overload.
std::string s11n::Detail::Private::to_string (const char *obj) throw ()
 Convenience/efficiency overload.
std::string s11n::Detail::Private::to_string (const std::string &obj) throw ()
 Convenience/efficiency overload.

Define Documentation

#define s11n_net_s11n_VARIANT_HPP_INCLUDED   1

Definition at line 2 of file variant.hpp.


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