ViennaGrid - The Vienna Grid Library  2.1.0
Public Types | Public Member Functions | Friends
container_range_wrapper< container_type > Class Template Reference

#include <range.hpp>

Public Types

typedef container_type base_container_type
typedef
container_type::const_handle_type 
const_handle_type
typedef
container_type::const_iterator 
const_iterator
typedef
container_type::const_pointer 
const_pointer
typedef
container_type::const_reference 
const_reference
typedef
container_type::const_reverse_iterator 
const_reverse_iterator
typedef container_type::handle_type handle_type
typedef
viennagrid::result_of::id
< value_type >::type 
id_type
typedef container_type::iterator iterator
typedef container_type::pointer pointer
typedef container_type::reference reference
typedef
container_type::reverse_iterator 
reverse_iterator
typedef container_type::size_type size_type
typedef container_type::value_type value_type

Public Member Functions

reference back ()
const_reference back () const
iterator begin ()
const_iterator begin () const
 container_range_wrapper (container_type &container)
template<typename WrappedConfigT >
 container_range_wrapper (mesh< WrappedConfigT > &mesh_obj)
template<typename WrappedConfigT >
 container_range_wrapper (segmentation< WrappedConfigT > &segmentation_obj)
template<typename SegmentationT >
 container_range_wrapper (segment_handle< SegmentationT > &segment_obj)
template<typename ElementTagT , typename WrappedConfigT >
 container_range_wrapper (element< ElementTagT, WrappedConfigT > &element_obj)
bool empty () const
iterator end ()
const_iterator end () const
iterator erase (iterator pos)
void erase_handle (handle_type handle)
iterator find (id_type const &id)
const_iterator find (id_type const &id) const
iterator find (value_type const &element)
const_iterator find (value_type const &element) const
reference front ()
const_reference front () const
container_type * get_base_container ()
const container_type * get_base_container () const
handle_type handle_at (std::size_t pos)
const_handle_type handle_at (std::size_t pos) const
void insert_handle (handle_type handle)
void insert_unique_handle (handle_type handle)
reference operator[] (size_type index)
const_reference operator[] (size_type index) const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
void set_handle_at (handle_type handle, std::size_t pos)
size_type size () const

Friends

class container_range_wrapper< const container_type >

template<typename container_type>
class viennagrid::detail::container_range_wrapper< container_type >


Member Typedef Documentation

typedef container_type base_container_type
typedef container_type::const_handle_type const_handle_type
typedef container_type::const_iterator const_iterator
typedef container_type::const_pointer const_pointer
typedef container_type::const_reference const_reference
typedef container_type::const_reverse_iterator const_reverse_iterator
typedef container_type::handle_type handle_type
typedef container_type::iterator iterator
typedef container_type::pointer pointer
typedef container_type::reference reference
typedef container_type::reverse_iterator reverse_iterator
typedef container_type::size_type size_type
typedef container_type::value_type value_type

Constructor & Destructor Documentation

container_range_wrapper ( container_type &  container) [inline]
container_range_wrapper ( mesh< WrappedConfigT > &  mesh_obj) [inline]
container_range_wrapper ( segmentation< WrappedConfigT > &  segmentation_obj) [inline]
container_range_wrapper ( segment_handle< SegmentationT > &  segment_obj) [inline]
container_range_wrapper ( element< ElementTagT, WrappedConfigT > &  element_obj) [inline]

Member Function Documentation

reference back ( ) [inline]
const_reference back ( ) const [inline]
iterator begin ( ) [inline]
const_iterator begin ( ) const [inline]
bool empty ( ) const [inline]
iterator end ( ) [inline]
const_iterator end ( ) const [inline]
iterator erase ( iterator  pos) [inline]
void erase_handle ( handle_type  handle) [inline]
iterator find ( id_type const &  id) [inline]
const_iterator find ( id_type const &  id) const [inline]
iterator find ( value_type const &  element) [inline]
const_iterator find ( value_type const &  element) const [inline]
reference front ( ) [inline]
const_reference front ( ) const [inline]
container_type* get_base_container ( ) [inline]
const container_type* get_base_container ( ) const [inline]
handle_type handle_at ( std::size_t  pos) [inline]
const_handle_type handle_at ( std::size_t  pos) const [inline]
void insert_handle ( handle_type  handle) [inline]
void insert_unique_handle ( handle_type  handle) [inline]
reference operator[] ( size_type  index) [inline]
const_reference operator[] ( size_type  index) const [inline]
reverse_iterator rbegin ( ) [inline]
const_reverse_iterator rbegin ( ) const [inline]
reverse_iterator rend ( ) [inline]
const_reverse_iterator rend ( ) const [inline]
void set_handle_at ( handle_type  handle,
std::size_t  pos 
) [inline]
size_type size ( ) const [inline]

Friends And Related Function Documentation

friend class container_range_wrapper< const container_type > [friend]

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