![]() |
zeep::xml::schema_creator — schema_creator is used by zeep::dispatcher to create schema files.
// In header: <zeep/xml/serialize.hpp> struct schema_creator { // construct/copy/destruct schema_creator(type_map &, element &); // public member functions template<typename T> schema_creator & operator&(const name_value_pair< T > &); template<typename T> schema_creator & operator&(const element_nvp< T > &); template<typename T> schema_creator & operator&(const attribute_nvp< T > &); template<typename T> schema_creator & add_element(const char *, const T &); template<typename T> schema_creator & add_attribute(const char *, const T &); // public data members element & m_node; type_map & m_types; std::string m_prefix; };
schema_creator
public member functionstemplate<typename T> schema_creator & operator&(const name_value_pair< T > & rhs);
template<typename T> schema_creator & operator&(const element_nvp< T > & rhs);
template<typename T> schema_creator & operator&(const attribute_nvp< T > & rhs);
template<typename T> schema_creator & add_element(const char * name, const T & value);
template<typename T> schema_creator & add_attribute(const char * name, const T & value);