Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
wrap_formatter.hpp File Reference
#include <string>
#include <boost/move/core.hpp>
#include <boost/move/utility.hpp>
#include <boost/mpl/has_xxx.hpp>
#include <boost/phoenix/core/actor.hpp>
#include <boost/phoenix/core/terminal_fwd.hpp>
#include <boost/phoenix/core/is_nullary.hpp>
#include <boost/phoenix/core/environment.hpp>
#include <boost/type_traits/remove_cv.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <boost/fusion/sequence/intrinsic/at_c.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/custom_terminal_spec.hpp>
#include <boost/log/detail/function_traits.hpp>
#include <boost/log/utility/formatting_ostream.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/generate_overloads.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for wrap_formatter.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::expressions::aux::wrapped_formatter_output_terminal< LeftT, FunT >
 Wrapped formatter stream output terminal. More...
 
struct  boost::expressions::aux::wrapped_formatter_output_terminal< LeftT, FunT >::result< typename >
 Result type definition. More...
 
struct  boost::expressions::aux::wrapped_formatter_output_terminal< LeftT, FunT >::result< ThisT(ContextT) >
 
struct  boost::expressions::aux::default_char_type< FunT, HasCharTypeV, HasSecondArgumentV, HasArg2V >
 
struct  boost::expressions::aux::default_char_type< FunT, true, HasSecondArgumentV, HasArg2V >
 
struct  boost::expressions::aux::default_char_type< FunT, false, true, HasArg2V >
 
struct  boost::expressions::aux::default_char_type< FunT, false, false, true >
 
class  boost::expressions::wrapped_formatter_terminal< FunT, CharT >
 Formatter function wrapper terminal. More...
 
class  boost::expressions::wrapped_formatter_actor< FunT, CharT, ActorT >
 Wrapped formatter function actor. More...
 
struct  boost::phoenix::result_of::is_nullary< custom_terminal< boost::log::expressions::aux::wrapped_formatter_output_terminal< LeftT, FunT > > >
 
struct  boost::phoenix::result_of::is_nullary< custom_terminal< boost::log::expressions::wrapped_formatter_terminal< FunT, CharT > > >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::expressions
 
 boost::expressions::aux
 
 boost::phoenix
 
 boost::phoenix::result_of
 

Macros

#define BOOST_LOG_AUX_OVERLOAD(left_ref, right_ref)
 

Functions

template<typename FunT >
BOOST_FORCEINLINE
wrapped_formatter_actor< FunT,
typename
aux::default_char_type< FunT >
::type > 
boost::expressions::wrap_formatter (FunT const &fun)
 The function wraps a function object in order it to be able to participate in formatting expressions. More...
 
template<typename CharT , typename FunT >
BOOST_FORCEINLINE
wrapped_formatter_actor< FunT,
CharT > 
boost::expressions::wrap_formatter (FunT const &fun)
 The function wraps a function object in order it to be able to participate in formatting expressions. More...
 

Detailed Description

Author
Andrey Semashev
Date
24.11.2012

The header contains a formatter function wrapper that enables third-party functions to participate in formatting expressions.

Macro Definition Documentation

#define BOOST_LOG_AUX_OVERLOAD (   left_ref,
  right_ref 
)
Value:
template< typename LeftExprT, typename FunT, typename CharT >\
operator<< (phoenix::actor< LeftExprT > left_ref left, wrapped_formatter_actor< FunT, CharT > right_ref right)\
{\
typedef aux::wrapped_formatter_output_terminal< phoenix::actor< LeftExprT >, FunT > terminal_type;\
phoenix::actor< terminal_type > actor = {{ terminal_type(left, right.get_function()) }};\
return actor;\
}
return b left
Definition: map_by.hpp:111
interval_bounds right(interval_bounds x1)
Definition: interval_bounds.hpp:21
#define BOOST_FORCEINLINE
Definition: suffix.hpp:583
Definition: actor.hpp:133