Severity level attribute implementation. More...
#include <severity_feature.hpp>
Classes | |
class | impl |
Factory implementation. More... | |
Public Types | |
typedef LevelT | value_type |
Stored level type. More... | |
Public Member Functions | |
BOOST_STATIC_ASSERT_MSG (sizeof(value_type)<=sizeof(uintmax_t),"Boost.Log: Unsupported severity level type, the severity level must fit into uintmax_t") | |
severity_level () | |
Default constructor. More... | |
severity_level (severity_level const &that) | |
Copy constructor. More... | |
severity_level (BOOST_RV_REF(severity_level) that) | |
Move constructor. More... | |
severity_level (attributes::cast_source const &source) | |
Constructor for casting support. More... | |
severity_level & | operator= (BOOST_COPY_ASSIGN_REF(severity_level) that) |
Copy assignment. More... | |
severity_level & | operator= (BOOST_RV_REF(severity_level) that) |
Move assignment. More... | |
void | set_value (value_type level) |
The method sets the actual level. More... | |
bool | operator! () const BOOST_NOEXCEPT |
Verifies that the factory is not in empty state. More... | |
attribute_value | get_value () const |
void | swap (attribute &that) BOOST_NOEXCEPT |
The method swaps two factories (i.e. More... | |
Protected Member Functions | |
impl * | get_impl () const BOOST_NOEXCEPT |
void | set_impl (intrusive_ptr< impl > p) BOOST_NOEXCEPT |
Sets the pointer to the factory implementation. More... | |
Severity level attribute implementation.
typedef LevelT boost::sources::aux::severity_level< LevelT >::value_type |
Stored level type.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Move constructor.
|
inlineexplicit |
Constructor for casting support.
boost::sources::aux::severity_level< LevelT >::BOOST_STATIC_ASSERT_MSG | ( | sizeof(value_type)<=sizeof(uintmax_t) | , |
"Boost.Log: Unsupported severity level | type, | ||
the severity level must fit into uintmax_t" | |||
) |
|
inlineprotectedinherited |
References boost::intrusive_ptr< T >::get().
Referenced by boost::attribute_cast(), boost::attributes::constant< process_id >::get(), boost::attributes::mutable_constant< channel_type >::get_impl(), and boost::attributes::mutable_constant< T, void, void, void >::get_impl().
|
inherited |
|
inlineinherited |
Verifies that the factory is not in empty state.
Verifies that the factory is in empty state
|
inline |
Copy assignment.
|
inline |
Move assignment.
|
inlineprotectedinherited |
Sets the pointer to the factory implementation.
p | Pointer to the implementation. Must not be NULL . |
References boost::multiprecision::backends::p, and boost::intrusive_ptr< T >::swap().
Referenced by boost::attributes::counter< T >::counter().
|
inline |
The method sets the actual level.
Referenced by boost::sources::basic_severity_logger< BaseT, LevelT >::open_record_unlocked().
|
inlineinherited |
The method swaps two factories (i.e.
their implementations).
References boost::intrusive_ptr< T >::swap().
Referenced by boost::sources::aux::severity_level< severity_level >::operator=(), and boost::sources::basic_severity_logger< BaseT, LevelT >::swap_unlocked().