xmlpp::SaxParser::AttributeHasName Struct Reference
This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if.
More...
List of all members.
Detailed Description
This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if.
Example:
std::string name = "foo";
AttributeList::const_iterator attribute = std::find_if(attributes.begin(), attributes.end(), AttributeHasName(name));
Constructor & Destructor Documentation
xmlpp::SaxParser::AttributeHasName::AttributeHasName |
( |
std::string const & |
name |
) |
[inline] |
|
Member Function Documentation
bool xmlpp::SaxParser::AttributeHasName::operator() |
( |
Attribute const & |
attribute |
) |
[inline] |
|
Member Data Documentation
The documentation for this struct was generated from the following file:
Generated on Wed May 5 22:52:45 2004 for libxml++ by
1.3.5