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