xmltooling  3.2.2
xmltooling::hasQName Class Reference

Predicate that checks the QName of an XMLObject. More...

#include <xmltooling/util/Predicates.h>

Public Member Functions

 hasQName (const QName &q)
 Constructor. More...
 
bool operator() (const XMLObject *xmlObject) const
 Returns true iff the provided object's QName matches the constructor argument. More...
 

Detailed Description

Predicate that checks the QName of an XMLObject.

Constructor & Destructor Documentation

◆ hasQName()

xmltooling::hasQName::hasQName ( const QName q)
inline

Constructor.

Parameters
qthe QName to check for

Member Function Documentation

◆ operator()()

bool xmltooling::hasQName::operator() ( const XMLObject xmlObject) const
inline

Returns true iff the provided object's QName matches the constructor argument.

Parameters
xmlObjectthe object to examine

The documentation for this class was generated from the following file: