Public Types | Public Member Functions

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

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

#include <segment_iterators.hpp>

Public Types

typedef on_segment_iterator
< typename
container_type::const_iterator,
const element_type
iterator

Public Member Functions

 const_ncell_range ()
 const_ncell_range (const_ncell_proxy< segment_type > const &p)
 const_ncell_range (ncell_proxy< segment_type > const &p)
 const_ncell_range (segment_type const &d)
 const_ncell_range (ncell_range< segment_type, dim > const &other)
const_ncell_range & operator= (const_ncell_proxy< segment_type > const &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

Detailed Description

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

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


Member Typedef Documentation

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

Constructor & Destructor Documentation

const_ncell_range (  )  [inline]
const_ncell_range ( const_ncell_proxy< segment_type > const &  p  )  [inline]
const_ncell_range ( ncell_proxy< segment_type > const &  p  )  [inline]
const_ncell_range ( segment_type const &  d  )  [inline]
const_ncell_range ( ncell_range< segment_type, dim > const &  other  )  [inline]

Member Function Documentation

iterator begin (  )  const [inline]
iterator end (  )  const [inline]
const_ncell_range& operator= ( const_ncell_proxy< segment_type > const &  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]

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