Rheolef  7.1
an efficient C++ finite element environment
field_basic< T, M >::const_iterator

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef vec< T, M >::size_type size_type
 
typedef T value_type
 
typedef const Treference
 
typedef const Tpointer
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 const_iterator ()
 
 const_iterator (iter_t blk_dis_iub_iter, data_t u, data_t b, size_type first_iu, size_type first_ib)
 
 const_iterator (iterator i)
 
void set_increment (size_type incr)
 
reference operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator+= (difference_type n)
 
const_iterator operator+ (difference_type n) const
 
reference operator[] (size_type n) const
 
bool operator== (const const_iterator &j) const
 
bool operator!= (const const_iterator &j) const
 

Public Attributes

iter_t _blk_dis_iub_iter
 
size_type _blk_dis_iub_incr
 
data_t _u
 
data_t _b
 
size_type _first_iu
 
size_type _first_ib
 

Protected Types

typedef vec< T, M >::const_iterator data_t
 
typedef disarray< space_pair_type, M >::const_iterator iter_t
 

Detailed Description

template<class T, class M = rheo_default_memory_model>
class rheolef::field_basic< T, M >::const_iterator

Definition at line 518 of file field.h.

Member Typedef Documentation

◆ data_t

typedef vec<T,M>::const_iterator data_t
protected

Definition at line 520 of file field.h.

◆ iter_t

Definition at line 521 of file field.h.

◆ iterator_category

typedef std::forward_iterator_tag iterator_category

Definition at line 526 of file field.h.

◆ size_type

typedef vec<T,M>::size_type size_type

Definition at line 527 of file field.h.

◆ value_type

typedef T value_type

Definition at line 528 of file field.h.

◆ reference

typedef const T& reference

Definition at line 529 of file field.h.

◆ pointer

typedef const T* pointer

Definition at line 530 of file field.h.

◆ difference_type

typedef std::ptrdiff_t difference_type

Definition at line 531 of file field.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

Definition at line 535 of file field.h.

◆ const_iterator() [2/3]

const_iterator ( iter_t  blk_dis_iub_iter,
data_t  u,
data_t  b,
size_type  first_iu,
size_type  first_ib 
)

Definition at line 543 of file field.h.

◆ const_iterator() [3/3]

Definition at line 550 of file field.h.

Member Function Documentation

◆ set_increment()

void set_increment ( size_type  incr)

Definition at line 559 of file field.h.

◆ operator*()

reference operator* ( ) const

Definition at line 563 of file field.h.

◆ operator++() [1/2]

const_iterator& operator++ ( )

Definition at line 569 of file field.h.

◆ operator++() [2/2]

const_iterator operator++ ( int  )

Definition at line 570 of file field.h.

◆ operator+=()

const_iterator& operator+= ( difference_type  n)

Definition at line 571 of file field.h.

◆ operator+()

const_iterator operator+ ( difference_type  n) const

Definition at line 572 of file field.h.

◆ operator[]()

reference operator[] ( size_type  n) const

Definition at line 573 of file field.h.

◆ operator==()

bool operator== ( const const_iterator j) const

Definition at line 577 of file field.h.

◆ operator!=()

bool operator!= ( const const_iterator j) const

Definition at line 578 of file field.h.

Member Data Documentation

◆ _blk_dis_iub_iter

iter_t _blk_dis_iub_iter

Definition at line 581 of file field.h.

◆ _blk_dis_iub_incr

size_type _blk_dis_iub_incr

Definition at line 582 of file field.h.

◆ _u

data_t _u

Definition at line 583 of file field.h.

◆ _b

data_t _b

Definition at line 584 of file field.h.

◆ _first_iu

size_type _first_iu

Definition at line 585 of file field.h.

◆ _first_ib

size_type _first_ib

Definition at line 585 of file field.h.


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