#include <predicates.h>
Public Methods | |
HasAttributeValuePredicate (const std::string &attrName, const std::string &val) | |
set the attribute name to match. More... | |
void | setName (const std::string &attrName) |
set the attribute name to match. More... | |
void | setValue (const std::string &val) |
set the attribute value to match. More... | |
bool | operator() (const XMLNodePtr &node) |
Private Attributes | |
std::string | mName |
std::string | mValue |
|
set the attribute name to match. set the attribute value to match. Definition at line 74 of file predicates.h.
|
|
Definition at line 84 of file predicates.h.
|
|
set the attribute name to match.
Definition at line 79 of file predicates.h. References mName.
00079 { mName = attrName; } |
|
set the attribute value to match.
Definition at line 82 of file predicates.h. References mValue.
00082 { mValue = val; } |
|
Definition at line 95 of file predicates.h. Referenced by HasAttributeValuePredicate(), operator()(), and setName(). |
|
Definition at line 96 of file predicates.h. Referenced by HasAttributeValuePredicate(), operator()(), and setValue(). |