ViennaGrid - The Vienna Grid Library
2.1.0
|
#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 > |
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 |
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] |
const_reference back | ( | ) | const [inline] |
const_iterator begin | ( | ) | const [inline] |
bool empty | ( | ) | const [inline] |
const_iterator end | ( | ) | const [inline] |
void erase_handle | ( | handle_type | handle | ) | [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] |
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] |
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] |
friend class container_range_wrapper< const container_type > [friend] |