Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::component_index< IndexType > Class Template Reference

#include <incremental_components.hpp>

Collaboration diagram for boost::component_index< IndexType >:

Public Types

typedef counting_iterator
< IndexType > 
iterator
 
typedef iterator const_iterator
 
typedef IndexType value_type
 
typedef IndexType size_type
 
typedef
detail::component_index_iterator
< typename
IndexContainer::iterator > 
component_iterator
 

Public Member Functions

template<typename ParentIterator , typename ElementIndexMap >
 component_index (ParentIterator parent_start, ParentIterator parent_end, const ElementIndexMap &index_map)
 
template<typename ParentIterator >
 component_index (ParentIterator parent_start, ParentIterator parent_end)
 
std::size_t size () const
 
iterator begin () const
 
iterator end () const
 
std::pair< component_iterator,
component_iterator
operator[] (IndexType component_index) const
 

Protected Attributes

IndexType m_num_elements
 
shared_ptr< IndexContainer > m_components
 
shared_ptr< IndexContainer > m_index_list
 

Member Typedef Documentation

template<typename IndexType >
typedef detail::component_index_iterator<typename IndexContainer::iterator> boost::component_index< IndexType >::component_iterator
template<typename IndexType >
typedef iterator boost::component_index< IndexType >::const_iterator
template<typename IndexType >
typedef counting_iterator<IndexType> boost::component_index< IndexType >::iterator
template<typename IndexType >
typedef IndexType boost::component_index< IndexType >::size_type
template<typename IndexType >
typedef IndexType boost::component_index< IndexType >::value_type

Constructor & Destructor Documentation

template<typename IndexType >
template<typename ParentIterator , typename ElementIndexMap >
boost::component_index< IndexType >::component_index ( ParentIterator  parent_start,
ParentIterator  parent_end,
const ElementIndexMap &  index_map 
)
inline
template<typename IndexType >
template<typename ParentIterator >
boost::component_index< IndexType >::component_index ( ParentIterator  parent_start,
ParentIterator  parent_end 
)
inline

Member Function Documentation

template<typename IndexType >
iterator boost::component_index< IndexType >::begin ( ) const
inline
template<typename IndexType >
iterator boost::component_index< IndexType >::end ( ) const
inline
template<typename IndexType >
std::size_t boost::component_index< IndexType >::size ( ) const
inline

Member Data Documentation

template<typename IndexType >
shared_ptr<IndexContainer> boost::component_index< IndexType >::m_components
protected
template<typename IndexType >
shared_ptr<IndexContainer> boost::component_index< IndexType >::m_index_list
protected
template<typename IndexType >
IndexType boost::component_index< IndexType >::m_num_elements
protected

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