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

An attribute value presence checker. More...

#include <has_attr.hpp>

Public Types

typedef bool result_type
 Function result_type. More...
 
typedef T value_type
 Expected attribute value type. More...
 

Public Member Functions

 has_attribute (attribute_name const &name)
 Initializing constructor. More...
 
template<typename ArgT >
result_type operator() (ArgT const &arg) const
 Checking operator. More...
 

Detailed Description

template<typename T>
class boost::expressions::has_attribute< T >

An attribute value presence checker.

Member Typedef Documentation

template<typename T >
typedef bool boost::expressions::has_attribute< T >::result_type

Function result_type.

template<typename T >
typedef T boost::expressions::has_attribute< T >::value_type

Expected attribute value type.

Constructor & Destructor Documentation

template<typename T >
boost::expressions::has_attribute< T >::has_attribute ( attribute_name const &  name)
inlineexplicit

Initializing constructor.

Parameters
nameAttribute name

Member Function Documentation

template<typename T >
template<typename ArgT >
result_type boost::expressions::has_attribute< T >::operator() ( ArgT const &  arg) const
inline

Checking operator.

Parameters
argA set of attribute values or a log record
Returns
true if the log record contains the sought attribute value, false otherwise

References boost::visitation_result::ok.

Referenced by boost::expressions::has_attribute< void >::operator()().


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