An attribute value presence checker. More...
#include <has_attr.hpp>
Public Types | |
| typedef bool | result_type | 
| Function result_type.  More... | |
| typedef void | value_type | 
| Expected attribute value type.  More... | |
Public Member Functions | |
| has_attribute (attribute_name const &name) | |
| Initializing constructor.  More... | |
| result_type | operator() (attribute_value_set const &attrs) const | 
| Checking operator.  More... | |
| result_type | operator() (boost::log::record_view const &rec) const | 
| Checking operator.  More... | |
An attribute value presence checker.
This specialization does not check the type of the attribute value.
| typedef bool boost::expressions::has_attribute< void >::result_type | 
Function result_type.
| typedef void boost::expressions::has_attribute< void >::value_type | 
Expected attribute value type.
      
  | 
  inlineexplicit | 
Initializing constructor.
| name | Attribute name | 
      
  | 
  inline | 
Checking operator.
| attrs | A set of attribute values | 
true if the log record contains the sought attribute value, false otherwise References boost::attribute_value_set::end(), and boost::attribute_value_set::find().
      
  | 
  inline | 
Checking operator.
| rec | A log record | 
true if the log record contains the sought attribute value, false otherwise References boost::expressions::has_attribute< T >::operator()().