Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
file.hpp File Reference
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/parameter/parameters.hpp>
#include <boost/preprocessor/comparison/greater.hpp>
#include <boost/preprocessor/punctuation/comma_if.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
#include <boost/preprocessor/repetition/enum_shifted_params.hpp>
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
#include <boost/log/detail/config.hpp>
#include <boost/log/detail/sink_init_helpers.hpp>
#include <boost/log/detail/parameter_tools.hpp>
#include <boost/log/core/core.hpp>
#include <boost/log/sinks/sync_frontend.hpp>
#include <boost/log/sinks/text_file_backend.hpp>
#include <boost/log/keywords/scan_method.hpp>
#include <boost/log/detail/header.hpp>
#include <boost/log/detail/footer.hpp>
Include dependency graph for file.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::aux
 

Macros

#define BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL   sinks::synchronous_sink
 
#define BOOST_LOG_INIT_LOG_TO_FILE_INTERNAL(z, n, data)
 

Functions

template<typename ArgsT >
shared_ptr
< sinks::file::collector > 
boost::aux::setup_file_collector (ArgsT const &, mpl::true_ const &)
 The function creates a file collector according to the specified arguments. More...
 
template<typename ArgsT >
shared_ptr
< sinks::file::collector > 
boost::aux::setup_file_collector (ArgsT const &args, mpl::false_ const &)
 
template<typename ArgsT >
shared_ptr
< sinks::synchronous_sink
< sinks::text_file_backend > > 
boost::aux::add_file_log (ArgsT const &args)
 The function constructs the sink and adds it to the core. More...
 
template<typename T >
T const & boost::aux::wrap_file_name (T const &arg, mpl::true_)
 The function wraps the argument into a file_name named argument, if needed. More...
 
template<typename T >
parameter::aux::tag
< keywords::tag::file_name, T
const >::type 
boost::aux::wrap_file_name (T const &arg, mpl::false_)
 

Macro Definition Documentation

#define BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL   sinks::synchronous_sink
#define BOOST_LOG_INIT_LOG_TO_FILE_INTERNAL (   z,
  n,
  data 
)
Value:
template< BOOST_PP_ENUM_PARAMS(n, typename T) >\
inline shared_ptr< BOOST_LOG_FILE_SINK_FRONTEND_INTERNAL< sinks::text_file_backend > > add_file_log(BOOST_PP_ENUM_BINARY_PARAMS(n, T, const& arg))\
{\
));\
}
parameter::aux::tag< keywords::tag::file_name, T const >::type wrap_file_name(T const &arg, mpl::false_)
Definition: file.hpp:107
T
Definition: mem_fn_cc.hpp:25
shared_ptr< sinks::synchronous_sink< sinks::text_file_backend > > add_file_log(ArgsT const &args)
The function constructs the sink and adds it to the core.
Definition: file.hpp:72
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_PP_COMMA_IF(cond)
Definition: comma_if.hpp:27
Definition: arg_fwd.hpp:23
#define BOOST_PP_ENUM_BINARY_PARAMS(count, p1, p2)
Definition: enum_binary_params.hpp:27
#define BOOST_PP_ENUM_SHIFTED_PARAMS(count, param)
Definition: enum_shifted_params.hpp:29
#define BOOST_PP_GREATER(x, y)
Definition: greater.hpp:25
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42