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

List of all members.

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.

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

Reimplemented from opensaml::saml2md::isValidForProtocol.


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