libzeep

PrevUpHomeNext

Struct template type_serializer<T[N]>

zeep::xml::type_serializer<T[N]>

Synopsis

// In header: <zeep/xml/serialize.hpp>

template<typename T, size_t N> 
struct type_serializer<T[N]> {
  // types
  typedef std::remove_cv_t< std::remove_reference_t< T > > value_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 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 &);
};

Description

type_serializer public static functions

  1. static constexpr const char * type_name();
  2. static void serialize_child(element & n, const char * name, 
                                const value_type(&) value);
  3. static void deserialize_child(const element & n, const char * name, 
                                  value_type(&) value);
  4. static element schema(const std::string & name, const std::string & prefix);
  5. static void register_type(type_map & types);

PrevUpHomeNext