opensaml-2.4.3
opensaml::saml2md::isValidForProtocol Class Reference

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

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

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

Public Member Functions

 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 validity and protocol support.

Constructor & Destructor Documentation

opensaml::saml2md::isValidForProtocol::isValidForProtocol ( const XMLCh *  protocol)
inline

Constructor.

Parameters
protocolsupport constant to test for

Member Function Documentation

bool opensaml::saml2md::isValidForProtocol::operator() ( const RoleDescriptor *  role) const
inline

Returns true iff the supplied role is 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: