libxml++
5.4.0
|
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>
Public Member Functions | |
AttributeHasName (ustring const & n) | |
bool | operator() (Attribute const & attribute) |
Public Attributes | |
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:
ustring name = "foo";
AttributeList::const_iterator attribute = std::find_if(attributes.begin(), attributes.end(), AttributeHasName(name));
|
inline |
|
inline |
ustring const& xmlpp::SaxParser::AttributeHasName::name |