xmltooling  3.2.0
xmltooling::hasSchemaType Class Reference

Predicate that checks the xsi:type of an XMLObject. More...

#include <xmltooling/util/Predicates.h>

Public Member Functions

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

Detailed Description

Predicate that checks the xsi:type of an XMLObject.

Constructor & Destructor Documentation

◆ hasSchemaType()

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

Constructor.

Parameters
qthe QName to check for

Member Function Documentation

◆ operator()()

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

Returns true iff the provided object's xsi:type matches the constructor argument.

Parameters
xmlObjectthe object to examine

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