Namespaces | |
aux | |
Classes | |
class | attribute_value_impl |
Basic attribute value implementation class. More... | |
class | basic_clock |
A class of an attribute that makes an attribute value of the current date and time. More... | |
struct | basic_time_traits |
Base class for time traits involving Boost.DateTime. More... | |
class | cast_source |
The class holds a reference to the attribute factory implementation being casted. More... | |
class | constant |
A class of an attribute that holds a single constant value. More... | |
class | counter |
A class of an attribute that counts an integral value. More... | |
class | current_process_id |
A class of an attribute that holds the current process identifier. More... | |
class | current_process_name |
A class of an attribute that holds the current process name. More... | |
class | current_thread_id |
A class of an attribute that always returns the current thread identifier. More... | |
class | function |
A class of an attribute that acquires its value from a third-party function object. More... | |
struct | local_time_traits |
Time traits that describes local time acquirement via Boost.DateTime facilities. More... | |
class | mutable_constant |
A class of an attribute that holds a single constant value with ability to change it. More... | |
class | mutable_constant< T, void, void, void > |
Specialization for unlocked case. More... | |
class | named_scope |
A class of an attribute that holds stack of named scopes of the current thread. More... | |
struct | named_scope_entry |
The structure contains all information about a named scope. More... | |
class | named_scope_list |
The class implements the list of scopes. More... | |
class | timer |
A class of an attribute that makes an attribute value of the time interval since construction. More... | |
struct | utc_time_traits |
Time traits that describes UTC time acquirement via Boost.DateTime facilities. More... | |
Typedefs | |
typedef basic_clock < utc_time_traits > | utc_clock |
Attribute that returns current UTC time. More... | |
typedef basic_clock < local_time_traits > | local_clock |
Attribute that returns current local time. More... | |
Functions | |
template<typename T > | |
attribute_value | make_attribute_value (T &&v) |
The function creates an attribute value from the specified object. More... | |
template<typename T > | |
constant< typename boost::log::aux::make_embedded_string_type < typename remove_reference< T > ::type >::type > | make_constant (BOOST_FWD_REF(T) val) |
The function constructs a constant attribute containing the provided value. More... | |
template<typename T > | |
function< typename remove_cv < typename remove_reference < typename boost::result_of< T() > ::type >::type >::type > | make_function (T const &fun) |
The function constructs function attribute instance with the provided function object. More... | |
template<typename R , typename T > | |
function< typename remove_cv < typename remove_reference< R > ::type >::type > | make_function (T const &fun) |
The function constructs function attribute instance with the provided function object. More... | |
template<typename CharT , typename TraitsT > | |
std::basic_ostream< CharT, TraitsT > & | operator<< (std::basic_ostream< CharT, TraitsT > &strm, named_scope_list const &sl) |
Stream output operator. More... | |
Attribute that returns current local time.
Attribute that returns current UTC time.
|
inline |
The function creates an attribute value from the specified object.
References boost::spirit::detail::attribute_value(), and boost::detail::type.
Referenced by boost::attributes::function< R >::impl_template< T >::get_value(), boost::attributes::counter< T >::impl_generic::get_value(), boost::attributes::counter< T >::impl_inc::get_value(), and boost::attributes::counter< T >::impl_dec::get_value().
|
inline |
The function constructs a constant
attribute containing the provided value.
The function automatically converts C string arguments to std::basic_string
objects.
References boost::detail::type, and boost::phoenix::val().
|
inline |
The function constructs function
attribute instance with the provided function object.
fun | Nullary functional object that returns an actual stored value for an attribute value. |
|
inline |
The function constructs function
attribute instance with the provided function object.
Use this version if your compiler fails to determine the result type of the function object.
fun | Nullary functional object that returns an actual stored value for an attribute value. |
References boost::detail::type.
|
inline |
Stream output operator.
References boost::end, and boost::it.