Logging record view class. More...
#include <record_view.hpp>
Public Member Functions | |
| record_view (record_view const &that) BOOST_NOEXCEPT | |
| Default constructor.  More... | |
| record_view (BOOST_RV_REF(record_view) that) BOOST_NOEXCEPT | |
| Move constructor.  More... | |
| ~record_view () BOOST_NOEXCEPT | |
| Destructor.  More... | |
| record_view & | operator= (BOOST_COPY_ASSIGN_REF(record_view) that) BOOST_NOEXCEPT | 
| Copy assignment.  More... | |
| record_view & | operator= (BOOST_RV_REF(record_view) that) BOOST_NOEXCEPT | 
| Move assignment.  More... | |
| attribute_value_set const & | attribute_values () const BOOST_NOEXCEPT | 
| bool | operator== (record_view const &that) const BOOST_NOEXCEPT | 
| Equality comparison.  More... | |
| bool | operator!= (record_view const &that) const BOOST_NOEXCEPT | 
| Inequality comparison.  More... | |
| bool | operator! () const BOOST_NOEXCEPT | 
| Conversion to an unspecified boolean type.  More... | |
| void | swap (record_view &that) BOOST_NOEXCEPT | 
| Swaps two handles.  More... | |
| void | reset () BOOST_NOEXCEPT | 
| Resets the log record handle.  More... | |
| attribute_value_set::mapped_type | operator[] (attribute_value_set::key_type name) const | 
| Attribute value lookup.  More... | |
| template<typename DescriptorT , template< typename > class ActorT> | |
| result_of::extract< typename  expressions::attribute_keyword < DescriptorT, ActorT > ::value_type, DescriptorT > ::type  | operator[] (expressions::attribute_keyword< DescriptorT, ActorT > const &keyword) const | 
| Attribute value lookup.  More... | |
Friends | |
| class | core | 
| class | record | 
| Log record placeholder in formatter template expressions.  More... | |
| struct | private_data | 
Logging record view class.
The logging record encapsulates all information related to a single logging statement, in particular, attribute values view and the log message string. The view is immutable, it is implemented as a wrapper around a reference-counted implementation.
      
  | 
  inline | 
Default constructor.
Creates an empty record view that is equivalent to the invalid record handle.
!*this == trueCopy constructor
      
  | 
  inline | 
Move constructor.
Source record contents unspecified after the operation.
References boost::intrusive_ptr< T >::swap().
      
  | 
  inline | 
Destructor.
Destroys the record, releases any sinks and attribute values that were involved in processing this record.
      
  | 
  inline | 
!!*this Referenced by boost::abstract_ordering< FunT >::operator()(), boost::sinks::basic_direct_mapping< event_category, AttributeValueT >::operator()(), boost::value_visitor_invoker< channel_value_type, channel_fallback_policy >::operator()(), boost::sinks::basic_custom_mapping< event_category, AttributeValueT >::operator()(), and boost::value_extractor< T, FallbackPolicyT, TagT >::operator()().
      
  | 
  inline | 
Conversion to an unspecified boolean type.
true, if the *this identifies a log record, false, if the *this is not validInverted conversion to an unspecified boolean type
false, if the *this identifies a log record, true, if the *this is not valid 
      
  | 
  inline | 
      
  | 
  inline | 
Copy assignment.
      
  | 
  inline | 
Move assignment.
Source record contents unspecified after the operation.
References boost::intrusive_ptr< T >::swap().
      
  | 
  inline | 
Equality comparison.
| that | Comparand | 
true if both *this and that identify the same log record or both do not identify any record, false otherwise. Referenced by operator!=().
      
  | 
  inline | 
Attribute value lookup.
| name | Attribute name. | 
attribute_value, non-empty if it is found, empty otherwise. References boost::iostreams::gzip::flags::name.
      
  | 
  inline | 
      
  | 
  inline | 
Resets the log record handle.
If there are no other handles left, the log record is closed and all resources referenced by the record are released.
!*this == true References boost::intrusive_ptr< T >::reset().
      
  | 
  inline | 
Swaps two handles.
| that | Another record to swap with Throws: Nothing | 
References boost::intrusive_ptr< T >::swap().
Referenced by boost::sinks::bounded_fifo_queue< MaxQueueSizeV, OverflowStrategyT >::dequeue_ready(), and boost::sinks::bounded_fifo_queue< MaxQueueSizeV, OverflowStrategyT >::try_dequeue().
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  friend | 
Log record placeholder in formatter template expressions.