Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::aux Namespace Reference

Classes

class  attribute_scope_guard
 A base class for all scoped attribute guards. More...
 
class  attribute_set_reference_proxy
 Reference proxy object to implement operator[]. More...
 
struct  basic_settings_section_iterator_base
 
struct  basic_settings_section_iterator_base< SectionT, false >
 
struct  basic_settings_section_iterator_base< SectionT, true >
 
struct  default_console_stream
 
struct  dispatching_map_initializer
 Dispatching map filler. More...
 
struct  dispatching_map_order
 Ordering predicate for type dispatching map. More...
 
class  eh_cons
 A cons-list element of the exception handler class hierarchy. More...
 
class  eh_root
 Root class for the exception handler class hierarchy. More...
 
struct  enable_dump
 
struct  enable_dump< const void, R >
 
struct  enable_dump< const volatile void, R >
 
struct  enable_dump< void, R >
 
struct  enable_dump< volatile void, R >
 
struct  enable_dump_size_based
 
struct  enable_dump_size_based< 1u, R >
 
struct  enable_if_char_type
 
struct  enable_if_char_type< char, R >
 
struct  enable_if_char_type< char16_t, R >
 
struct  enable_if_char_type< char32_t, R >
 
struct  enable_if_char_type< wchar_t, R >
 
struct  is_spirit_classic_parser
 The trait verifies if the type can be converted to a Boost.Spirit (classic) parser. More...
 
struct  legacy_intrusive_ref_counter_root
 
struct  make_arg_type
 
struct  make_arg_type< T & >
 
struct  make_attr_ordering_type
 An ordering predicate constructor that uses SFINAE to disable invalid instantiations. More...
 
struct  make_common_integral_type
 The trait creates a common integral type suitable for comparison. This is mostly to silence compiler warnings like 'signed/unsigned mismatch'. More...
 
struct  make_common_integral_type< T, U, SizeV, SizeV, false >
 Specialization for the case when both types have the same size. More...
 
struct  make_common_integral_type< T, U, TSizeV, USizeV, true >
 Specialization for case when T is smaller than U. More...
 
struct  make_self_contained_exception_handler
 
struct  match_traits
 The matching function implementation. More...
 
struct  match_traits< ExpressionT, boost_regex_expression_tag >
 The matching function implementation. More...
 
struct  match_traits< ExpressionT, boost_spirit_classic_expression_tag >
 The matching function implementation. More...
 
struct  match_traits< ExpressionT, boost_spirit_qi_expression_tag >
 The matching function implementation. More...
 
struct  match_traits< ExpressionT, boost_xpressive_expression_tag >
 The matching function implementation. More...
 
struct  match_traits< ExpressionT, std_regex_expression_tag >
 The matching function implementation. More...
 
struct  match_traits< spirit::qi::rule< IteratorT, T1, T2, T3, T4 >, boost_spirit_qi_expression_tag >
 The matching function implementation. More...
 
struct  matching_expression_kind
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
struct  matching_expression_kind< boost::basic_regex< CharT, TraitsT > >
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
struct  matching_expression_kind< ExpressionT, typename boost::enable_if< spirit::traits::matches< spirit::qi::domain, ExpressionT > >::type >
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
struct  matching_expression_kind< ExpressionT, typename boost::enable_if_c< is_spirit_classic_parser< ExpressionT >::value >::type >
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
struct  matching_expression_kind< std::basic_regex< CharT, ReTraitsT > >
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
struct  matching_expression_kind< xpressive::basic_regex< T > >
 The metafunction detects the matching expression kind and returns a tag that is used to specialize match_traits. More...
 
class  once_block_sentry
 
class  record_pump
 Logging record pump implementation. More...
 
class  scoped_logger_attribute
 A scoped logger attribute guard. More...
 
class  scoped_thread_attribute
 A scoped thread-specific attribute guard. More...
 
class  single_type_dispatcher
 A simple dispatcher that only supports one type. More...
 
class  single_type_dispatcher_base
 A base class for a single-type dispatcher. More...
 
class  singular_ref
 Attribute value reference implementation for a single type case. More...
 
struct  stream_provider
 Internal class that provides formatting streams for record pumps. More...
 
struct  strictest_lock_impl
 The metafunction selects the most strict lock type of the two. More...
 
struct  strictest_lock_impl< LeftLockT, RightLockT, false >
 
class  type_sequence_dispatcher
 A dispatcher that supports a sequence of types. More...
 
class  type_sequence_dispatcher_base
 A base class for a dispatcher that supports a sequence of types. More...
 
struct  value_ref_base
 
struct  value_ref_initializer
 The function object initializes the value reference. More...
 
class  variant_ref
 Attribute value reference implementation for multiple types case. More...
 
struct  vistation_invoker
 The function object applies the function object to the bound visitable object and argument. More...
 

Typedefs

typedef void dump_data_char_t (const void *data, std::size_t size, std::basic_ostream< char > &strm)
 
typedef void dump_data_wchar_t (const void *data, std::size_t size, std::basic_ostream< wchar_t > &strm)
 
typedef void dump_data_char16_t (const void *data, std::size_t size, std::basic_ostream< char16_t > &strm)
 
typedef void dump_data_char32_t (const void *data, std::size_t size, std::basic_ostream< char32_t > &strm)
 

Functions

BOOST_LOG_API std::string get_process_name ()
 The function returns the current process name. More...
 
template<typename T , typename TagT >
BOOST_FORCEINLINE enable_if
< mpl::is_sequence< T >
, value_ref< T, TagT > >::type 
unwrap_value_ref (value_ref< T, TagT > const &r)
 The function unwraps value_ref, if possible. More...
 
template<typename T , typename TagT >
BOOST_FORCEINLINE disable_if
< mpl::is_sequence< T >, T
const & >::type 
unwrap_value_ref (value_ref< T, TagT > const &r)
 
BOOST_LOG_API void attach_attribute_name_info (exception &e, attribute_name const &name)
 Attaches attribute name exception information. More...
 
template<typename LoggerT >
BOOST_FORCEINLINE record_pump
< LoggerT > 
make_record_pump (LoggerT &lg, record &rec)
 
BOOST_FORCEINLINE void dump_data (const void *data, std::size_t size, std::basic_ostream< char > &strm)
 
BOOST_FORCEINLINE void dump_data (const void *data, std::size_t size, std::basic_ostream< wchar_t > &strm)
 
BOOST_FORCEINLINE void dump_data (const void *data, std::size_t size, std::basic_ostream< char16_t > &strm)
 
BOOST_FORCEINLINE void dump_data (const void *data, std::size_t size, std::basic_ostream< char32_t > &strm)
 
template<typename CharT , typename ArgsT >
shared_ptr
< sinks::synchronous_sink
< sinks::basic_text_ostream_backend
< CharT > >> 
add_console_log (std::basic_ostream< CharT > &strm, ArgsT const &args)
 
template<typename ArgsT >
shared_ptr
< sinks::file::collector
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
setup_file_collector (ArgsT const &args, mpl::false_ const &)
 
template<typename ArgsT >
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. More...
 
template<typename T >
T const & 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 
wrap_file_name (T const &arg, mpl::false_)
 
template<typename CharT , typename TraitsT >
void insert_fill_chars (std::basic_ostream< CharT, TraitsT > &strm, std::size_t n)
 
template<typename CharT , typename TraitsT >
void insert_aligned (std::basic_ostream< CharT, TraitsT > &strm, const CharT *p, std::size_t size)
 
template<typename T >
BOOST_FORCEINLINE void no_unused_warnings (T const &) BOOST_NOEXCEPT
 

Variables

BOOST_LOG_API dump_data_char_tdump_data_char
 
BOOST_LOG_API dump_data_wchar_tdump_data_wchar
 
BOOST_LOG_API dump_data_char16_tdump_data_char16
 
BOOST_LOG_API dump_data_char32_tdump_data_char32
 

Typedef Documentation

typedef void boost::aux::dump_data_char16_t(const void *data, std::size_t size, std::basic_ostream< char16_t > &strm)
typedef void boost::aux::dump_data_char32_t(const void *data, std::size_t size, std::basic_ostream< char32_t > &strm)
typedef void boost::aux::dump_data_char_t(const void *data, std::size_t size, std::basic_ostream< char > &strm)
typedef void boost::aux::dump_data_wchar_t(const void *data, std::size_t size, std::basic_ostream< wchar_t > &strm)

Function Documentation

template<typename CharT , typename ArgsT >
shared_ptr< sinks::synchronous_sink < sinks::basic_text_ostream_backend< CharT > >> boost::aux::add_console_log ( std::basic_ostream< CharT > &  strm,
ArgsT const &  args 
)
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.

References boost::python::args(), boost::core::get(), boost::sinks::file::scan_matching, setup_file_collector(), and boost::detail::type.

BOOST_LOG_API void boost::aux::attach_attribute_name_info ( exception &  e,
attribute_name const &  name 
)
BOOST_FORCEINLINE void boost::aux::dump_data ( const void *  data,
std::size_t  size,
std::basic_ostream< char > &  strm 
)

References dump_data_char.

Referenced by boost::operator<<().

BOOST_FORCEINLINE void boost::aux::dump_data ( const void *  data,
std::size_t  size,
std::basic_ostream< wchar_t > &  strm 
)

References dump_data_wchar.

BOOST_FORCEINLINE void boost::aux::dump_data ( const void *  data,
std::size_t  size,
std::basic_ostream< char16_t > &  strm 
)

References dump_data_char16.

BOOST_FORCEINLINE void boost::aux::dump_data ( const void *  data,
std::size_t  size,
std::basic_ostream< char32_t > &  strm 
)

References dump_data_char32.

BOOST_LOG_API std::string boost::aux::get_process_name ( )

The function returns the current process name.

template<typename CharT , typename TraitsT >
void boost::aux::insert_aligned ( std::basic_ostream< CharT, TraitsT > &  strm,
const CharT *  p,
std::size_t  size 
)
template<typename CharT , typename TraitsT >
void boost::aux::insert_fill_chars ( std::basic_ostream< CharT, TraitsT > &  strm,
std::size_t  n 
)
inline
template<typename LoggerT >
BOOST_FORCEINLINE record_pump< LoggerT > boost::aux::make_record_pump ( LoggerT &  lg,
record &  rec 
)
template<typename T >
BOOST_FORCEINLINE void boost::aux::no_unused_warnings ( T const &  )
template<typename ArgsT >
shared_ptr< sinks::file::collector > boost::aux::setup_file_collector ( ArgsT const &  ,
mpl::true_ const &   
)
inline

The function creates a file collector according to the specified arguments.

Referenced by add_file_log().

template<typename ArgsT >
shared_ptr< sinks::file::collector > boost::aux::setup_file_collector ( ArgsT const &  args,
mpl::false_ const &   
)
inline
template<typename T , typename TagT >
BOOST_FORCEINLINE enable_if< mpl::is_sequence< T >, value_ref< T, TagT > >::type boost::aux::unwrap_value_ref ( value_ref< T, TagT > const &  r)

The function unwraps value_ref, if possible.

Referenced by boost::extract_or_default(), and boost::extract_or_throw().

template<typename T , typename TagT >
BOOST_FORCEINLINE disable_if< mpl::is_sequence< T >, T const& >::type boost::aux::unwrap_value_ref ( value_ref< T, TagT > const &  r)
template<typename T >
T const& boost::aux::wrap_file_name ( T const &  arg,
mpl::true_   
)
inline

The function wraps the argument into a file_name named argument, if needed.

template<typename T >
parameter::aux::tag< keywords::tag::file_name, T const >::type boost::aux::wrap_file_name ( T const &  arg,
mpl::false_   
)
inline

Variable Documentation

BOOST_LOG_API dump_data_char_t* boost::aux::dump_data_char

Referenced by dump_data().

BOOST_LOG_API dump_data_char16_t* boost::aux::dump_data_char16

Referenced by dump_data().

BOOST_LOG_API dump_data_char32_t* boost::aux::dump_data_char32

Referenced by dump_data().

BOOST_LOG_API dump_data_wchar_t* boost::aux::dump_data_wchar

Referenced by dump_data().