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

The class implements the list of scopes. More...

#include <named_scope.hpp>

Collaboration diagram for boost::attributes::named_scope_list:

Classes

class  iter
 Iterator class. More...
 

Public Types

typedef std::allocator
< named_scope_entry
allocator_type
 Allocator type. More...
 
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 iter< true > const_iterator
 
typedef iter< false > iterator
 
typedef std::reverse_iterator
< const_iterator
const_reverse_iterator
 
typedef std::reverse_iterator
< iterator
reverse_iterator
 

Public Member Functions

 named_scope_list ()
 Default constructor. More...
 
BOOST_LOG_API named_scope_list (named_scope_list const &that)
 Copy constructor. More...
 
BOOST_LOG_API ~named_scope_list ()
 Destructor. More...
 
named_scope_listoperator= (named_scope_list const &that)
 Assignment operator. More...
 
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
 
BOOST_LOG_API void swap (named_scope_list &that)
 Swaps two instances of the container. More...
 
const_reference back () const
 
const_reference front () const
 

Protected Attributes

aux::named_scope_list_node m_RootNode
 The root node of the container. More...
 
size_type m_Size
 The size of the container. More...
 
bool m_fNeedToDeallocate
 The flag shows if the contained elements are dynamically allocated. More...
 

Friends

template<bool fConstV>
class iter
 

Detailed Description

The class implements the list of scopes.

The scope list provides a read-only access to a doubly-linked list of scopes.

Member Typedef Documentation

typedef allocator_type::const_pointer boost::attributes::named_scope_list::const_pointer
typedef allocator_type::const_reference boost::attributes::named_scope_list::const_reference
typedef allocator_type::difference_type boost::attributes::named_scope_list::difference_type
typedef allocator_type::pointer boost::attributes::named_scope_list::pointer
typedef allocator_type::reference boost::attributes::named_scope_list::reference
typedef allocator_type::size_type boost::attributes::named_scope_list::size_type
typedef allocator_type::value_type boost::attributes::named_scope_list::value_type

Constructor & Destructor Documentation

boost::attributes::named_scope_list::named_scope_list ( )
inline

Default constructor.

Postcondition
empty() == true
BOOST_LOG_API boost::attributes::named_scope_list::named_scope_list ( named_scope_list const &  that)

Copy constructor.

Postcondition
std::equal(begin(), end(), that.begin()) == true
BOOST_LOG_API boost::attributes::named_scope_list::~named_scope_list ( )

Destructor.

Destroys the stored entries.

Member Function Documentation

const_reference boost::attributes::named_scope_list::back ( ) const
inline
Returns
Last pushed scope entry

References rbegin().

const_iterator boost::attributes::named_scope_list::begin ( void  ) const
inline
Returns
Constant iterator to the first element of the container.

References boost::attributes::aux::named_scope_list_node::_m_pNext.

Referenced by front(), and rend().

bool boost::attributes::named_scope_list::empty ( void  ) const
inline
Returns
true if the container is empty and false otherwise

Referenced by boost::expressions::aux::format_named_scope_impl< char_type >::operator()().

const_iterator boost::attributes::named_scope_list::end ( void  ) const
inline
Returns
Constant iterator to the after-the-last element of the container.

Referenced by rbegin().

const_reference boost::attributes::named_scope_list::front ( void  ) const
inline
Returns
First pushed scope entry

References begin().

named_scope_list& boost::attributes::named_scope_list::operator= ( named_scope_list const &  that)
inline

Assignment operator.

Postcondition
std::equal(begin(), end(), that.begin()) == true

References swap().

const_reverse_iterator boost::attributes::named_scope_list::rbegin ( ) const
inline
Returns
Constant iterator to the last element of the container.

References end().

Referenced by back().

const_reverse_iterator boost::attributes::named_scope_list::rend ( ) const
inline
Returns
Constant iterator to the before-the-first element of the container.

References begin().

size_type boost::attributes::named_scope_list::size ( void  ) const
inline
Returns
The number of elements in the container

References m_Size.

BOOST_LOG_API void boost::attributes::named_scope_list::swap ( named_scope_list that)

Swaps two instances of the container.

Referenced by operator=().

Friends And Related Function Documentation

template<bool fConstV>
friend class iter
friend

Member Data Documentation

bool boost::attributes::named_scope_list::m_fNeedToDeallocate
protected

The flag shows if the contained elements are dynamically allocated.

aux::named_scope_list_node boost::attributes::named_scope_list::m_RootNode
protected

The root node of the container.

size_type boost::attributes::named_scope_list::m_Size
protected

The size of the container.

Referenced by size().


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