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

List of all members.

Public Member Functions

 isValidForProtocol (const XMLCh *protocol)
 Constructor.
bool operator() (const RoleDescriptor *role) const
 Returns true iff the supplied role is valid now and supports the right protocol.


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:
protocol support 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:
role role to test
Returns:
result of predicate

Reimplemented in opensaml::saml2md::ofTypeValidForProtocol.


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

Generated on Mon Apr 13 19:46:42 2020 for opensaml-3.1.0 by  doxygen 1.5.6