#include <predicates.h>
Public Methods | |
| HasAttributeNamePredicate (const std::string &attrName) | |
| set the attribute name to match. More... | |
| void | setName (const std::string &attrName) |
| set the attribute name to match. More... | |
| bool | operator() (const XMLNodePtr &node) |
Private Attributes | |
| std::string | mName |
|
|
set the attribute name to match.
Definition at line 51 of file predicates.h. References mName.
00052 : mName(attrName) 00053 {} |
|
|
Definition at line 58 of file predicates.h. References mName.
00059 {
00060 return node->hasAttribute(mName);
00061 }
|
|
|
set the attribute name to match.
Definition at line 56 of file predicates.h. References mName.
00056 { mName = attrName; }
|
|
|
Definition at line 64 of file predicates.h. Referenced by HasAttributeNamePredicate(), operator()(), and setName(). |
1.2.15