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

Reimplemented from opensaml::saml2md::isValidForProtocol.


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