Struct schema_creator

Struct Documentation

struct schema_creator

schema creator is used to create XML Schema’s for data that is serialized or deserialized.

Public Functions

inline schema_creator()
inline schema_creator(type_map &types, element &schema)
inline void set_ns_prefix(std::string ns_prefix)
template<typename T>
inline schema_creator &operator&(const element_nvp<T> &rhs)
template<typename T>
inline schema_creator &operator&(const attribute_nvp<T> &rhs)
template<typename T>
schema_creator &add_element(std::string_view name, const T &value)
template<typename T>
schema_creator &add_attribute(std::string_view name, const T &value)
inline document schema(std::string name) const