ViennaGrid  1.0.1
Public Types | Public Member Functions
domain_segment_container< DomainType, SegmentType > Class Template Reference

Class responsible for holding the segments inside a domain. More...

#include <domain_layers.hpp>

Public Types

typedef container_type::iterator iterator
typedef
container_type::const_iterator 
const_iterator
typedef container_type::value_type value_type
typedef container_type::reference reference
typedef
container_type::const_reference 
const_reference
typedef
container_type::difference_type 
difference_type
typedef container_type::pointer pointer
typedef container_type::size_type size_type

Public Member Functions

 domain_segment_container (DomainType *d)
SegmentType & operator[] (std::size_t i)
SegmentType const & operator[] (std::size_t i) const
SegmentType & at (std::size_t i)
SegmentType const & at (std::size_t i) const
std::size_t size () const
std::size_t max_size () const
bool empty () const
void resize (std::size_t n)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
void swap (domain_segment_container &other)

Detailed Description

template<typename DomainType, typename SegmentType>
class viennagrid::detail::domain_segment_container< DomainType, SegmentType >

Class responsible for holding the segments inside a domain.


Member Typedef Documentation

typedef container_type::const_iterator const_iterator
typedef container_type::const_reference const_reference
typedef container_type::difference_type difference_type
typedef container_type::iterator iterator
typedef container_type::pointer pointer
typedef container_type::reference reference
typedef container_type::size_type size_type
typedef container_type::value_type value_type

Constructor & Destructor Documentation

domain_segment_container ( DomainType *  d) [inline]

Member Function Documentation

SegmentType& at ( std::size_t  i) [inline]
SegmentType const& at ( std::size_t  i) const [inline]
iterator begin ( ) [inline]
const_iterator begin ( ) const [inline]
bool empty ( ) const [inline]
iterator end ( ) [inline]
const_iterator end ( ) const [inline]
std::size_t max_size ( ) const [inline]
SegmentType& operator[] ( std::size_t  i) [inline]
SegmentType const& operator[] ( std::size_t  i) const [inline]
void resize ( std::size_t  n) [inline]
std::size_t size ( ) const [inline]
void swap ( domain_segment_container< DomainType, SegmentType > &  other) [inline]

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