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

A class of an attribute that holds the current process name. More...

#include <current_process_name.hpp>

Inheritance diagram for boost::attributes::current_process_name:
Collaboration diagram for boost::attributes::current_process_name:

Public Types

typedef std::string value_type
 Attribute value type. More...
 

Public Member Functions

 current_process_name ()
 Constructor. More...
 
 current_process_name (cast_source const &source)
 Constructor for casting support. More...
 
value_type const & get () const
 
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

implget_impl () const BOOST_NOEXCEPT
 
void set_impl (intrusive_ptr< impl > p) BOOST_NOEXCEPT
 Sets the pointer to the factory implementation. More...
 

Detailed Description

A class of an attribute that holds the current process name.

Member Typedef Documentation

typedef std::string boost::attributes::constant< std::string >::value_type
inherited

Attribute value type.

Constructor & Destructor Documentation

boost::attributes::current_process_name::current_process_name ( )
inline

Constructor.

Initializes the attribute with the current process name.

boost::attributes::current_process_name::current_process_name ( cast_source const &  source)
inlineexplicit

Constructor for casting support.

Member Function Documentation

value_type const& boost::attributes::constant< std::string >::get ( ) const
inlineinherited
Returns
Reference to the contained value.
attribute_value boost::attribute::get_value ( ) const
inherited
Returns
The actual attribute value. It shall not return empty values (exceptions shall be used to indicate errors).
bool boost::attribute::operator! ( ) const
inlineinherited

Verifies that the factory is not in empty state.

Verifies that the factory is in empty state

void boost::attribute::set_impl ( intrusive_ptr< impl p)
inlineprotectedinherited

Sets the pointer to the factory implementation.

Parameters
pPointer 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().

void boost::attribute::swap ( attribute that)
inlineinherited

The documentation for this class was generated from the following file: