Predicate that checks the QName of an XMLObject. More...
#include <xmltooling/util/Predicates.h>
Public Member Functions | |
hasQName (const QName &q) | |
Constructor. | |
bool | operator() (const XMLObject *xmlObject) const |
Returns true iff the provided object's QName matches the constructor argument. |
Predicate that checks the QName of an XMLObject.
xmltooling::hasQName::hasQName | ( | const QName & | q | ) | [inline] |
Constructor.
q | the QName to check for |
bool xmltooling::hasQName::operator() | ( | const XMLObject * | xmlObject | ) | const [inline] |
Returns true iff the provided object's QName matches the constructor argument.
xmlObject | the object to examine |