![]() |
zeep::xml::type_serializer<std::optional< T >>
// In header: <zeep/xml/serialize.hpp> template<typename T> struct type_serializer<std::optional< T >> { // types typedef T value_type; typedef std::optional< value_type > container_type; typedef type_serializer< value_type > type_serializer_type; // public static functions static constexpr const char * type_name(); static void serialize_child(element &, const char *, const container_type &); static void deserialize_child(const element &, const char *, container_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 void serialize_child(element & n, const char * name, const container_type & value);
static void deserialize_child(const element & n, const char * name, container_type & value);
static element schema(const std::string & name, const std::string & prefix);
static void register_type(type_map & types);