PrevUpHomeNext

Struct schema_creator

zeep::xml::schema_creator — schema_creator is used by zeep::dispatcher to create schema files.

Synopsis

// In header: </build/libzeep-7ht_NY/libzeep-3.0.5/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 boost::serialization::nvp< 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;
};

Description

schema_creator public construct/copy/destruct

  1. schema_creator(type_map & types, element * node);

schema_creator public member functions

  1. template<typename T> 
      schema_creator & operator&(const boost::serialization::nvp< T > & rhs);
  2. template<typename T> schema_creator & operator&(const element_nvp< T > & rhs);
  3. template<typename T> 
      schema_creator & operator&(const attribute_nvp< T > & rhs);
  4. template<typename T> 
      schema_creator & add_element(const char * name, const T & value);
  5. template<typename T> 
      schema_creator & add_attribute(const char * name, const T & value);

PrevUpHomeNext