boost::log::attributes::basic_named_scope_list — The class implements the list of scopes.
// In header: <boost/log/attributes/named_scope.hpp> template<typename CharT> class basic_named_scope_list { public: // types typedef CharT char_type; // Character type. typedef std::allocator< basic_named_scope_entry< char_type > > allocator_type; // Allocator type. typedef allocator_type::value_type value_type; typedef allocator_type::reference reference; typedef allocator_type::const_reference const_reference; typedef allocator_type::pointer pointer; typedef allocator_type::const_pointer const_pointer; typedef allocator_type::size_type size_type; typedef allocator_type::difference_type difference_type; typedef implementation_defined const_iterator; typedef implementation_defined iterator; typedef implementation_defined const_reverse_iterator; typedef implementation_defined reverse_iterator; // construct/copy/destruct basic_named_scope_list(); basic_named_scope_list(basic_named_scope_list const &); basic_named_scope_list& operator=(basic_named_scope_list const &); ~basic_named_scope_list(); // public member functions const_iterator begin() const; const_iterator end() const; const_reverse_iterator rbegin() const; const_reverse_iterator rend() const; size_type size() const; bool empty() const; void swap(basic_named_scope_list &); const_reference back() const; const_reference front() const; };
The scope list provides a read-only access to a doubly-linked list of scopes.
basic_named_scope_list
public
typestypedef implementation_defined const_iterator;
A constant iterator to the sequence of scopes. Complies to bidirectional iterator requirements.
typedef implementation_defined iterator;
An iterator to the sequence of scopes. Complies to bidirectional iterator requirements.
typedef implementation_defined const_reverse_iterator;
A constant reverse iterator to the sequence of scopes. Complies to bidirectional iterator requirements.
typedef implementation_defined reverse_iterator;
A reverse iterator to the sequence of scopes. Complies to bidirectional iterator requirements.
basic_named_scope_list
public
construct/copy/destructbasic_named_scope_list();
Default constructor
Postconditions: |
|
basic_named_scope_list(basic_named_scope_list const & that);
Copy constructor
Postconditions: |
|
basic_named_scope_list& operator=(basic_named_scope_list const & that);
Assignment operator
Postconditions: |
|
~basic_named_scope_list();
Destructor. Destroys the stored entries.
basic_named_scope_list
public member functionsconst_iterator begin() const;
Returns: | Constant iterator to the first element of the container. |
const_iterator end() const;
Returns: | Constant iterator to the after-the-last element of the container. |
const_reverse_iterator rbegin() const;
Returns: | Constant iterator to the last element of the container. |
const_reverse_iterator rend() const;
Returns: | Constant iterator to the before-the-first element of the container. |
size_type size() const;
Returns: | The number of elements in the container |
bool empty() const;
Returns: | true if the container is empty and false otherwise |
void swap(basic_named_scope_list & that);
Swaps two instances of the container
const_reference back() const;
Returns: | Last pushed scope entry |
const_reference front() const;
Returns: | First pushed scope entry |