![]() |
zeep::xml::attribute_set — set of attributes and name_spaces. Is a node_list but with a set interface
// In header: <zeep/xml/node.hpp> class attribute_set : public { public: // types typedef basic_node_list< attribute > ; typedef node_list::node_type ; typedef node_list::iterator ; typedef node_list::const_iterator ; typedef ; typedef ; // attribute_set is a bit like a std::map and the key type is a std::string // construct/copy/destruct (element &); (element &, attribute_set &&); (element &, attribute_set &); attribute_set & (attribute_set &); attribute_set & (attribute_set &&) ; // public member functions () ; () ; (); template< Args> (); (); (); (, ); (); };
attribute_set
public
construct/copy/destruct(element & e);
(element & e, attribute_set && as);
(element & e, attribute_set & as);
attribute_set & (attribute_set & l);
attribute_set & (attribute_set && l) ;
attribute_set
public member functions( key) ;return true if the attribute with name key is defined
( key) ;return const_iterator to the attribute with name key
( key);return iterator to the attribute with name key
template< Args> ( args);emplace a newly constructed attribute with argumenst args
( a);emplace an attribute move constructed from a
Returns: |
returns a std::pair with an iterator pointing to the inserted attribute and a boolean indicating if this attribute was inserted instead of replaced. |
( pos);remove attribute at position pos
( first, last);remove attributes between first and last
( key);remove attribute with name key