opensaml-2.4.3
opensaml::saml2md::ofTypeValidForProtocol Class Reference

Predicate to test a role for type equivalence, validity, and protocol support. More...

#include <saml/saml2/metadata/Metadata.h>

Inheritance diagram for opensaml::saml2md::ofTypeValidForProtocol:
opensaml::saml2md::isValidForProtocol

Public Member Functions

 ofTypeValidForProtocol (const xmltooling::QName &q, const XMLCh *protocol)
 Constructor. More...
 
bool operator() (const RoleDescriptor *role) const
 Returns true iff the supplied role is of the right type, valid now, and supports the right protocol. More...
 
- Public Member Functions inherited from opensaml::saml2md::isValidForProtocol
 isValidForProtocol (const XMLCh *protocol)
 Constructor. More...
 
bool operator() (const RoleDescriptor *role) const
 Returns true iff the supplied role is valid now and supports the right protocol. More...
 

Detailed Description

Predicate to test a role for type equivalence, validity, and protocol support.

Constructor & Destructor Documentation

opensaml::saml2md::ofTypeValidForProtocol::ofTypeValidForProtocol ( const xmltooling::QName &  q,
const XMLCh *  protocol 
)
inline

Constructor.

Parameters
qschema type to test for
protocolsupport constant to test for

Member Function Documentation

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.

Parameters
rolerole to test
Returns
result of predicate

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