Public Types | Public Member Functions | Friends

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

Main range class. Specialization for use with iteration or access to k-cells on the domain. More...

#include <domain_iterators.hpp>

Public Types

typedef domain_iterators
< config_type, dim >::iterator 
iterator

Public Member Functions

 ncell_range ()
 ncell_range (ncell_proxy< domain_type > const &p)
 ncell_range (domain_type &d)
ncell_range & operator= (ncell_proxy< domain_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< domain_t< config_type >, dim, false >

Main range class. Specialization for use with iteration or access to k-cells on the domain.


Member Typedef Documentation

typedef domain_iterators<config_type, dim>::iterator iterator

Constructor & Destructor Documentation

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

Member Function Documentation

iterator begin (  )  const [inline]
iterator end (  )  const [inline]
ncell_range& operator= ( ncell_proxy< domain_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: