![]() |
zeep::xml::type_serializer
// In header: <zeep/xml/serialize.hpp> template<typename T, typename = void> struct type_serializer { // types typedef typename std::remove_const_t< typename std::remove_reference_t< T > > value_type; typedef value_serializer< value_type > value_serializer_type; // public static functions static constexpr const char * type_name(); static std::string serialize_value(const T &); static T deserialize_value(const std::string &); static void serialize_child(element &, const char *, const value_type &); static void deserialize_child(const element &, const char *, value_type &); static element schema(const std::string &, const std::string &); static void register_type(type_map &); };
type_serializer
public static functionsstatic constexpr const char * type_name();
static std::string serialize_value(const T & value);
static T deserialize_value(const std::string & value);
static void serialize_child(element & n, const char * name, const value_type & value);
static void deserialize_child(const element & n, const char * name, value_type & value);
static element schema(const std::string & name, const std::string & prefix);
static void register_type(type_map & types);