zeep::xml::doctype::attribute
// In header: </home/maarten/projects/libzeep/zeep/xml/doctype.hpp> class attribute { public: // construct/copy/destruct attribute(const std::string &, AttributeType); attribute(const std::string &, AttributeType, const std::vector< std::string > &); // public member functions const std::string & name() const; bool validate_value(std::string &, const entity_list &) const; void set_default(AttributeDefault, const std::string &); boost::tuple< AttributeDefault, std::string > get_default() const; AttributeType get_type() const; AttributeDefault get_default_type() const; const std::vector< std::string > & get_enums() const; void external(bool); bool external() const; // private member functions bool is_name(std::string &) const; bool is_names(std::string &) const; bool is_nmtoken(std::string &) const; bool is_nmtokens(std::string &) const; bool is_unparsed_entity(const std::string &, const entity_list &) const; };
attribute
public member functionsconst std::string & name() const;
bool validate_value(std::string & value, const entity_list & entities) const;
void set_default(AttributeDefault def, const std::string & value);
boost::tuple< AttributeDefault, std::string > get_default() const;
AttributeType get_type() const;
AttributeDefault get_default_type() const;
const std::vector< std::string > & get_enums() const;
void external(bool external);
bool external() const;