SLIP
1.4
|
This is some iterator to iterate a 4d MultiComponentContainer into a Box area defined by the indices of the 4d container. More...
#include <component_iterator4d_box.hpp>
Public Types | |
typedef std::random_access_iterator4d_tag | iterator_category |
typedef MultiComponentContainer4D::value_type | Block |
typedef Block::value_type | value_type |
typedef DPoint4d< int > | difference_type |
typedef value_type const * | pointer |
typedef value_type const & | reference |
typedef const_component_iterator4d_box | self |
typedef MultiComponentContainer4D::size_type | size_type |
Public Member Functions | |
reference | operator* () const |
Dereference assignment operator. Returns the element that the current const_component_iterator4d_box i point to. More... | |
pointer | operator-> () const |
Constructors & Destructors | |
const_component_iterator4d_box () | |
Constructs a const_component_iterator4d_box. More... | |
const_component_iterator4d_box (MultiComponentContainer4D *c, std::size_t cp, const Box4d< int > &b) | |
Constructs a const_component_iterator4d_box. More... | |
const_component_iterator4d_box (const self &o) | |
Constructs a copy of the const_component_iterator4d_box o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a const_component_iterator4d_box. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a const_component_iterator4d_box. Iterate to the next location inside the Box4d. More... | |
self | operator++ (int) |
Postincrement a const_component_iterator4d_box. Iterate to the next location inside the Box4d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a const_component_iterator4d_box. Iterate to the previous location inside the Box4d. More... | |
self | operator-- (int) |
Postdecrement a const_component_iterator4d_box. Iterate to the previous location inside the Box4d. More... | |
Indices accessors | |
int | x1 () const |
Access to the first index of the current const_component_iterator4d_box. More... | |
int | t () const |
Access to the first index of the current const_component_iterator4d_box. More... | |
int | x2 () const |
Access to the second index of the current const_component_iterator4d_box. More... | |
int | k () const |
Access to the second index of the current const_component_iterator4d_box. More... | |
int | x3 () const |
Access to the third index of the current const_component_iterator4d_box. More... | |
int | i () const |
Access to the third index of the current const_component_iterator4d_box. More... | |
int | x4 () const |
Access to the fourth index of the current const_component_iterator4d_box. More... | |
int | j () const |
Access to the fourth index of the current const_component_iterator4d_box. More... | |
size_type | cp () const |
Access to the component index of the current const_component_iterator4d_box. More... | |
Friends | |
Equality comparable operators | |
bool | operator== (const self &i1, const self &i2) |
Equality operator. More... | |
bool | operator!= (const self &i1, const self &i2) |
Inequality operator. More... | |
Strict Weakly comparable operators | |
bool | operator< (const self &i1, const self &i2) |
< operator. More... | |
bool | operator> (const self &i1, const self &i2) |
More... | |
bool | operator<= (const self &i1, const self &i2) |
<= operator. More... | |
bool | operator>= (const self &i1, const self &i2) |
>= operator. More... | |
const_component_iterator4d_box operators addons | |
self & | operator+= (const difference_type &d) |
const_component_iterator4d_box addition. More... | |
self & | operator-= (const difference_type &d) |
const_component_iterator4d_box substraction. More... | |
self | operator+ (const difference_type &d) |
const_component_iterator4d_box addition. More... | |
self | operator- (const difference_type &d) |
const_component_iterator4d_box substraction. More... | |
reference | operator[] (difference_type d) const |
const_component_iterator4d_box element assignment operator. Equivalent to *(i + d) = t. More... | |
MultiComponentContainer4D::const_component_slab_iterator | slab_begin (size_type slice, size_type row, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_slab_iterator | slab_end (size_type slice, size_type row, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_slice_iterator | slice_begin (size_type slab, size_type row, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_slice_iterator | slice_end (size_type slab, size_type row, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_row_iterator | row_begin (size_type slab, size_type slice, size_type row) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_row_iterator | row_end (size_type slab, size_type slice, size_type row) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_col_iterator | col_begin (size_type slab, size_type slice, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
MultiComponentContainer4D::const_component_col_iterator | col_end (size_type slab, size_type slice, size_type col) |
const_component_iterator4d_box element assignment operator. More... | |
difference_type | operator- (const self &i1, const self &i2) |
const_component_iterator4d_box difference operator. More... | |
This is some iterator to iterate a 4d MultiComponentContainer into a Box area defined by the indices of the 4d container.
MultiComponentContainer4D | Type of 4d container in the const_component_iterator4d_box |
N | number of elements in one block |
Definition at line 833 of file component_iterator4d_box.hpp.
typedef MultiComponentContainer4D::value_type slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::Block |
Definition at line 840 of file component_iterator4d_box.hpp.
typedef DPoint4d<int> slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::difference_type |
Definition at line 842 of file component_iterator4d_box.hpp.
typedef std::random_access_iterator4d_tag slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::iterator_category |
Definition at line 839 of file component_iterator4d_box.hpp.
typedef value_type const* slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::pointer |
Definition at line 843 of file component_iterator4d_box.hpp.
typedef value_type const& slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::reference |
Definition at line 844 of file component_iterator4d_box.hpp.
typedef const_component_iterator4d_box slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::self |
Definition at line 846 of file component_iterator4d_box.hpp.
typedef MultiComponentContainer4D::size_type slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::size_type |
Definition at line 848 of file component_iterator4d_box.hpp.
typedef Block::value_type slip::const_component_iterator4d_box< MultiComponentContainer4D, N >::value_type |
Definition at line 841 of file component_iterator4d_box.hpp.
|
inline |
Constructs a const_component_iterator4d_box.
Definition at line 858 of file component_iterator4d_box.hpp.
|
inline |
Constructs a const_component_iterator4d_box.
c | pointer to an existing 4d container |
cp | index of the component to iterate |
b | Box4d<int> defining the range of indices to iterate |
Definition at line 869 of file component_iterator4d_box.hpp.
|
inline |
Constructs a copy of the const_component_iterator4d_box o.
o | component_iterator4d_box to copy. |
Definition at line 886 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
slice | offset. |
row | offset. |
Definition at line 1402 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
slice | offset. |
row | offset. |
Definition at line 1422 of file component_iterator4d_box.hpp.
|
inline |
Access to the component index of the current const_component_iterator4d_box.
Definition at line 1521 of file component_iterator4d_box.hpp.
|
inline |
Access to the third index of the current const_component_iterator4d_box.
Definition at line 1491 of file component_iterator4d_box.hpp.
|
inline |
Access to the fourth index of the current const_component_iterator4d_box.
Definition at line 1511 of file component_iterator4d_box.hpp.
|
inline |
Access to the second index of the current const_component_iterator4d_box.
Definition at line 1471 of file component_iterator4d_box.hpp.
|
inline |
Dereference assignment operator. Returns the element that the current const_component_iterator4d_box i point to.
Definition at line 928 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box addition.
d | difference_type |
Definition at line 1230 of file component_iterator4d_box.hpp.
|
inline |
Preincrement a const_component_iterator4d_box. Iterate to the next location inside the Box4d.
Definition at line 950 of file component_iterator4d_box.hpp.
|
inline |
Postincrement a const_component_iterator4d_box. Iterate to the next location inside the Box4d.
Definition at line 994 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box addition.
d | difference_type |
Definition at line 1182 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box substraction.
d | difference_type |
Definition at line 1245 of file component_iterator4d_box.hpp.
|
inline |
Predecrement a const_component_iterator4d_box. Iterate to the previous location inside the Box4d.
Definition at line 1013 of file component_iterator4d_box.hpp.
|
inline |
Postdecrement a const_component_iterator4d_box. Iterate to the previous location inside the Box4d.
Definition at line 1061 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box substraction.
d | difference_type |
Definition at line 1207 of file component_iterator4d_box.hpp.
|
inline |
Definition at line 934 of file component_iterator4d_box.hpp.
|
inline |
Assign a const_component_iterator4d_box.
Assign elements of const_component_iterator4d_box in o.
o | const_component_iterator4d_box to get the values from. |
Definition at line 904 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator. Equivalent to *(i + d) = t.
d | difference_type. |
Definition at line 1278 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
slice | offset. |
row | offset. |
Definition at line 1366 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
slice | offset. |
row | offset. |
Definition at line 1386 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slice | offset. |
row | offset. |
col | offset |
Definition at line 1296 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slice | offset. |
row | row offset. |
col | col offset. |
Definition at line 1316 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
row | offset. |
col | offset |
Definition at line 1331 of file component_iterator4d_box.hpp.
|
inline |
const_component_iterator4d_box element assignment operator.
slab | offset |
row | row offset. |
col | col offset. |
Definition at line 1351 of file component_iterator4d_box.hpp.
|
inline |
Access to the first index of the current const_component_iterator4d_box.
Definition at line 1450 of file component_iterator4d_box.hpp.
|
inline |
Access to the first index of the current const_component_iterator4d_box.
Definition at line 1440 of file component_iterator4d_box.hpp.
|
inline |
Access to the second index of the current const_component_iterator4d_box.
Definition at line 1461 of file component_iterator4d_box.hpp.
|
inline |
Access to the third index of the current const_component_iterator4d_box.
Definition at line 1481 of file component_iterator4d_box.hpp.
|
inline |
Access to the fourth index of the current const_component_iterator4d_box.
Definition at line 1501 of file component_iterator4d_box.hpp.
|
friend |
Inequality operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1098 of file component_iterator4d_box.hpp.
|
friend |
const_component_iterator4d_box difference operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1261 of file component_iterator4d_box.hpp.
|
friend |
< operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1120 of file component_iterator4d_box.hpp.
|
friend |
<= operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1147 of file component_iterator4d_box.hpp.
|
friend |
Equality operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1082 of file component_iterator4d_box.hpp.
|
friend |
operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1134 of file component_iterator4d_box.hpp.
|
friend |
>= operator.
i1 | first const_component_iterator4d_box. |
i2 | second const_component_iterator4d_box. |
Definition at line 1161 of file component_iterator4d_box.hpp.