Predicate to test a role for type equivalence, validity, and protocol support. More...
#include <saml/saml2/metadata/Metadata.h>
Public Member Functions | |
ofTypeValidForProtocol (const xmltooling::QName &q, const XMLCh *protocol) | |
Constructor. | |
bool | operator() (const RoleDescriptor *role) const |
Returns true iff the supplied role is of the right type, valid now, and supports the right protocol. |
Predicate to test a role for type equivalence, validity, and protocol support.
opensaml::saml2md::ofTypeValidForProtocol::ofTypeValidForProtocol | ( | const xmltooling::QName & | q, | |
const XMLCh * | protocol | |||
) | [inline] |
Constructor.
q | schema type to test for | |
protocol | support constant to test for |
bool opensaml::saml2md::ofTypeValidForProtocol::operator() | ( | const RoleDescriptor * | role | ) | const [inline] |
Returns true iff the supplied role is of the right type, valid now, and supports the right protocol.
role | role to test |
Reimplemented from opensaml::saml2md::isValidForProtocol.