Predicate to test a role for validity and protocol support. More...
#include <saml/saml2/metadata/Metadata.h>

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. | |
Predicate to test a role for validity and protocol support.
| opensaml::saml2md::isValidForProtocol::isValidForProtocol | ( | const XMLCh * | protocol | ) | [inline] |
Constructor.
| protocol | support constant to test for |
| bool opensaml::saml2md::isValidForProtocol::operator() | ( | const RoleDescriptor * | role | ) | const [inline] |
Returns true iff the supplied role is valid now and supports the right protocol.
| role | role to test |
Reimplemented in opensaml::saml2md::ofTypeValidForProtocol.
1.7.1