This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if.
More...
#include <libxml++/parsers/saxparser.h>
|
Glib::ustring const & | name |
|
This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if.
Example:
Glib::ustring name = "foo";
AttributeList::const_iterator attribute = std::find_if(attributes.begin(), attributes.end(), AttributeHasName(name));
◆ AttributeHasName()
xmlpp::SaxParser::AttributeHasName::AttributeHasName |
( |
Glib::ustring const & |
n | ) |
|
|
inline |
◆ operator()()
bool xmlpp::SaxParser::AttributeHasName::operator() |
( |
Attribute const & |
attribute | ) |
|
|
inline |
◆ name
Glib::ustring const& xmlpp::SaxParser::AttributeHasName::name |