Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT > Class Template Reference

The predicate checks if the attribute value matches a regular expression. More...

#include <matches.hpp>

Inheritance diagram for boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT >:
Collaboration diagram for boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT >:

Public Member Functions

 attribute_matches (attribute_name const &name, RegexT const &rex)
 Initializing constructor. More...
 
template<typename U >
 attribute_matches (attribute_name const &name, RegexT const &rex, U const &arg)
 Initializing constructor. More...
 

Detailed Description

template<typename T, typename RegexT, typename FallbackPolicyT = fallback_to_none>
class boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT >

The predicate checks if the attribute value matches a regular expression.

The attribute value is assumed to be of a string type.

Constructor & Destructor Documentation

template<typename T , typename RegexT , typename FallbackPolicyT = fallback_to_none>
boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT >::attribute_matches ( attribute_name const &  name,
RegexT const &  rex 
)
inline

Initializing constructor.

Parameters
nameAttribute name
rexThe regular expression to match the attribute value against
template<typename T , typename RegexT , typename FallbackPolicyT = fallback_to_none>
template<typename U >
boost::expressions::attribute_matches< T, RegexT, FallbackPolicyT >::attribute_matches ( attribute_name const &  name,
RegexT const &  rex,
U const &  arg 
)
inline

Initializing constructor.

Parameters
nameAttribute name
rexThe regular expression to match the attribute value against
argAdditional parameter for the fallback policy

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