Public Types | Public Member Functions | Friends

ncell_range< segment_t< config_type >, dim, false > Class Template Reference

Main range class (non-const). Specialization for use with iteration or access to k-cells of a segment. More...

#include <segment_iterators.hpp>

Public Types

typedef on_segment_iterator
< typename
container_type::iterator,
element_type
iterator

Public Member Functions

 ncell_range ()
 ncell_range (ncell_proxy< segment_type > const &p)
 ncell_range (segment_type &d)
ncell_range & operator= (ncell_proxy< segment_type > p)
iterator begin () const
iterator end () const
std::size_t size () const
element_typeoperator[] (std::size_t index)
element_type const & operator[] (std::size_t index) const

Friends

class const_ncell_range

Detailed Description

template<typename config_type, long dim>
class viennagrid::ncell_range< segment_t< config_type >, dim, false >

Main range class (non-const). Specialization for use with iteration or access to k-cells of a segment.


Member Typedef Documentation

typedef on_segment_iterator< typename container_type::iterator, element_type > iterator

Constructor & Destructor Documentation

ncell_range (  )  [inline]
ncell_range ( ncell_proxy< segment_type > const &  p  )  [inline]
ncell_range ( segment_type d  )  [inline]

Member Function Documentation

iterator begin (  )  const [inline]
iterator end (  )  const [inline]
ncell_range& operator= ( ncell_proxy< segment_type p  )  [inline]
element_type& operator[] ( std::size_t  index  )  [inline]
element_type const& operator[] ( std::size_t  index  )  const [inline]
std::size_t size (  )  const [inline]

Friends And Related Function Documentation

friend class const_ncell_range [friend]

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