| 
    libxml++
   1.0.0
    
   
   | 
  
  
  
 
This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm std::find_if. More...
Public Member Functions | |
| AttributeHasName (std::string const &name) | |
| bool | operator() (Attribute const &attribute) | 
Public Attributes | |
| std::string const & | name | 
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)); 
| xmlpp::SaxParser::AttributeHasName::AttributeHasName | ( | std::string const & | name | ) |  [inline] | 
        
| bool xmlpp::SaxParser::AttributeHasName::operator() | ( | Attribute const & | attribute | ) |  [inline] | 
        
References xmlpp::SaxParser::Attribute::name, and name.
| std::string const& xmlpp::SaxParser::AttributeHasName::name | 
Referenced by operator()().