![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::XMLAttributes
// In header: <alps/parser/xmlattributes.h> class XMLAttributes { public: // types typedef XMLAttribute::key_type key_type; typedef XMLAttribute::value_type value_type; typedef std::vector< XMLAttribute > list_type; typedef list_type::size_type size_type; typedef list_type::iterator iterator; typedef list_type::const_iterator const_iterator; // construct/copy/destruct XMLAttributes(); XMLAttributes(const std::string &); // public member functions void clear() ; size_type size() const; bool defined(const key_type &) const; value_type & operator[](const key_type &) ; const value_type & operator[](const key_type &) const; value_type value_or_default(const key_type &, const value_type &) const; iterator begin() ; const_iterator begin() const; iterator end() ; const_iterator end() const; void push_back(const XMLAttribute &) ; void push_back(const key_type &, const value_type &) ; XMLAttributes & operator<<(const XMLAttribute &) ; XMLAttributes & operator<<(const XMLAttributes &) ; };
XMLAttributes
public member functionsvoid clear() ;
size_type size() const;
bool defined(const key_type & k) const;
value_type & operator[](const key_type & k) ;
const value_type & operator[](const key_type & k) const;
value_type value_or_default(const key_type & k, const value_type & v) const;
iterator begin() ;
const_iterator begin() const;
iterator end() ;
const_iterator end() const;
void push_back(const XMLAttribute & attr) ;
void push_back(const key_type & k, const value_type & v) ;
XMLAttributes & operator<<(const XMLAttribute & a) ;
XMLAttributes & operator<<(const XMLAttributes & attr) ;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo |