Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
named_scope.hpp File Reference
#include <string>
#include <iterator>
#include <utility>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_same.hpp>
#include <boost/move/core.hpp>
#include <boost/move/utility.hpp>
#include <boost/parameter/binding.hpp>
#include <boost/preprocessor/iteration/iterate.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/enum_binary_params.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/fusion/sequence/intrinsic/at_c.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/attributes/attribute_name.hpp>
#include <boost/log/attributes/fallback_policy.hpp>
#include <boost/log/attributes/named_scope.hpp>
#include <boost/log/attributes/value_visitation.hpp>
#include <boost/log/detail/light_function.hpp>
#include <boost/log/detail/parameter_tools.hpp>
#include <boost/log/detail/custom_terminal_spec.hpp>
#include <boost/log/detail/deduce_char_type.hpp>
#include <boost/log/detail/attr_output_terminal.hpp>
#include <boost/log/expressions/attr_fwd.hpp>
#include <boost/log/expressions/keyword_fwd.hpp>
#include <boost/log/utility/formatting_ostream.hpp>
#include <boost/log/utility/string_literal_fwd.hpp>
#include <boost/log/utility/functional/bind.hpp>
#include <boost/log/keywords/format.hpp>
#include <boost/log/keywords/delimiter.hpp>
#include <boost/log/keywords/depth.hpp>
#include <boost/log/keywords/iteration.hpp>
#include <boost/log/keywords/empty_marker.hpp>
#include <boost/log/keywords/incomplete_marker.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/generate_overloads.hpp>
#include <BOOST_PP_ITERATE()>
#include <boost/log/detail/footer.hpp>
Include dependency graph for named_scope.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::expressions::aux::format_named_scope_impl< CharT >
 
class  boost::expressions::format_named_scope_terminal< FallbackPolicyT, CharT >
 Named scope formatter terminal. More...
 
class  boost::expressions::format_named_scope_actor< FallbackPolicyT, CharT, ActorT >
 Named scope formatter actor. More...
 
struct  boost::expressions::aux::default_named_scope_params< CharT >
 Auxiliary traits to acquire default formatter parameters depending on the character type. More...
 
struct  boost::phoenix::result_of::is_nullary< custom_terminal< boost::log::expressions::format_named_scope_terminal< FallbackPolicyT, 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)
 
#define BOOST_PP_FILENAME_1   <boost/log/detail/named_scope_fmt_pp.hpp>
 
#define BOOST_PP_ITERATION_LIMITS   (1, 6)
 

Enumerations

enum  boost::expressions::scope_iteration_direction {
  boost::expressions::forward,
  boost::expressions::reverse
}
 Scope iteration directions. More...
 

Functions

template<typename CharT >
boost::log::aux::light_function
< void(basic_formatting_ostream
< CharT >
&, attributes::named_scope::value_type::value_type
const &) > 
boost::expressions::aux::parse_named_scope_format (const CharT *format)
 Parses the named scope format string and constructs the formatter function. More...
 
template<typename CharT , typename TraitsT , typename AllocatorT >
boost::log::aux::light_function
< void(basic_formatting_ostream
< CharT >
&, attributes::named_scope::value_type::value_type
const &) > 
boost::expressions::aux::parse_named_scope_format (std::basic_string< CharT, TraitsT, AllocatorT > const &format)
 Parses the named scope format string and constructs the formatter function. More...
 
template<typename CharT , typename TraitsT >
boost::log::aux::light_function
< void(basic_formatting_ostream
< CharT >
&, attributes::named_scope::value_type::value_type
const &) > 
boost::expressions::aux::parse_named_scope_format (basic_string_literal< CharT, TraitsT > const &format)
 Parses the named scope format string and constructs the formatter function. More...
 
template<typename CharT , template< typename > class ActorT, typename FallbackPolicyT , typename ArgsT >
BOOST_FORCEINLINE
format_named_scope_actor
< FallbackPolicyT, CharT,
ActorT > 
boost::expressions::aux::format_named_scope (attribute_name const &name, FallbackPolicyT const &fallback, ArgsT const &args)
 
template<typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< fallback_to_none, CharT > 
boost::expressions::format_named_scope (attribute_name const &name, const CharT *element_format)
 The function generates a manipulator node in a template expression. More...
 
template<typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< fallback_to_none, CharT > 
boost::expressions::format_named_scope (attribute_name const &name, std::basic_string< CharT > const &element_format)
 The function generates a manipulator node in a template expression. More...
 
template<typename DescriptorT , template< typename > class ActorT, typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< fallback_to_none, CharT,
ActorT > 
boost::expressions::format_named_scope (attribute_keyword< DescriptorT, ActorT > const &keyword, const CharT *element_format)
 The function generates a manipulator node in a template expression. More...
 
template<typename DescriptorT , template< typename > class ActorT, typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< fallback_to_none, CharT,
ActorT > 
boost::expressions::format_named_scope (attribute_keyword< DescriptorT, ActorT > const &keyword, std::basic_string< CharT > const &element_format)
 The function generates a manipulator node in a template expression. More...
 
template<typename T , typename FallbackPolicyT , typename TagT , template< typename > class ActorT, typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< FallbackPolicyT, CharT,
ActorT > 
boost::expressions::format_named_scope (attribute_actor< T, FallbackPolicyT, TagT, ActorT > const &placeholder, const CharT *element_format)
 The function generates a manipulator node in a template expression. More...
 
template<typename T , typename FallbackPolicyT , typename TagT , template< typename > class ActorT, typename CharT >
BOOST_FORCEINLINE
format_named_scope_actor
< FallbackPolicyT, CharT,
ActorT > 
boost::expressions::format_named_scope (attribute_actor< T, FallbackPolicyT, TagT, ActorT > const &placeholder, std::basic_string< CharT > const &element_format)
 The function generates a manipulator node in a template expression. More...
 

Detailed Description

Author
Andrey Semashev
Date
11.11.2012

The header contains a formatter function for named scope attribute values.

Macro Definition Documentation

#define BOOST_LOG_AUX_OVERLOAD (   left_ref,
  right_ref 
)
Value:
template< typename LeftExprT, typename FallbackPolicyT, typename CharT >\
BOOST_FORCEINLINE phoenix::actor< aux::attribute_output_terminal< phoenix::actor< LeftExprT >, attributes::named_scope::value_type, FallbackPolicyT, typename format_named_scope_actor< FallbackPolicyT, CharT >::formatter_function_type > >\
operator<< (phoenix::actor< LeftExprT > left_ref left, format_named_scope_actor< FallbackPolicyT, CharT > right_ref right)\
{\
typedef aux::attribute_output_terminal< phoenix::actor< LeftExprT >, attributes::named_scope::value_type, FallbackPolicyT, typename format_named_scope_actor< FallbackPolicyT, CharT >::formatter_function_type > terminal_type;\
phoenix::actor< terminal_type > actor = {{ terminal_type(left, right.get_name(), right.get_formatter_function(), right.get_fallback_policy()) }};\
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
value_type
Special integer values that can be used for formatting.
Definition: formatting.hpp:85
#define BOOST_PP_FILENAME_1   <boost/log/detail/named_scope_fmt_pp.hpp>
#define BOOST_PP_ITERATION_LIMITS   (1, 6)