SLIP
1.4
|
This is some iterator to iterate a 3d MultiComponentContainer into a Box area defined by the indices of the 3d container. More...
#include <component_iterator3d_box.hpp>
Public Types | |
typedef std::random_access_iterator3d_tag | iterator_category |
typedef MultiComponentContainer3D::value_type | Block |
typedef Block::value_type | value_type |
typedef DPoint3d< int > | difference_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef component_iterator3d_box | self |
typedef MultiComponentContainer3D::size_type | size_type |
Public Member Functions | |
reference | operator* () |
Dereference assignment operator. Returns the element that the current component_iterator3d_box i point to. More... | |
pointer | operator-> () |
Constructors & Destructors | |
component_iterator3d_box () | |
Constructs a component_iterator3d_box. More... | |
component_iterator3d_box (MultiComponentContainer3D *c, std::size_t cp, const Box3d< int > &b) | |
Constructs a component_iterator3d_box. More... | |
component_iterator3d_box (const self &o) | |
Constructs a copy of the component_iterator3d_box o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a component_iterator3d_box. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a component_iterator3d_box. Iterate to the next location inside the Box3d. More... | |
self | operator++ (int) |
Postincrement a component_iterator3d_box. Iterate to the next location inside the Box3d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a component_iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
self | operator-- (int) |
Postdecrement a component_iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
Indices accessors | |
int | x1 () const |
Access to the first index of the current component_iterator3d_box. More... | |
int | k () const |
Access to the first index of the current component_iterator3d_box. More... | |
int | x2 () const |
Access to the second index of the current component_iterator3d_box. More... | |
int | i () const |
Access to the second index of the current component_iterator3d_box. More... | |
int | x3 () const |
Access to the third index of the current component_iterator3d_box. More... | |
int | j () const |
Access to the third index of the current component_iterator3d_box. More... | |
size_type | cp () const |
Access to the component index of the current component_iterator3d_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... | |
component_iterator3d_box operators addons | |
self & | operator+= (const difference_type &d) |
component_iterator3d_box addition. More... | |
self & | operator-= (const difference_type &d) |
component_iterator3d_box substraction. More... | |
self | operator+ (const difference_type &d) |
component_iterator3d_box addition. More... | |
self | operator- (const difference_type &d) |
component_iterator3d_box substraction. More... | |
reference | operator[] (difference_type d) |
component_iterator3d_box element assignment operator. Equivalent to *(i + d) = t. More... | |
MultiComponentContainer3D::component_slice_iterator | slice_begin (size_type row, size_type col) |
component_iterator3d_box element assignment operator. More... | |
MultiComponentContainer3D::component_slice_iterator | slice_end (size_type row, size_type col) |
component_iterator3d_box element assignment operator. More... | |
MultiComponentContainer3D::component_row_iterator | row_begin (size_type slice, size_type row) |
component_iterator3d_box element assignment operator. More... | |
MultiComponentContainer3D::component_row_iterator | row_end (size_type slice, size_type row) |
component_iterator3d_box element assignment operator. More... | |
MultiComponentContainer3D::component_col_iterator | col_begin (size_type slice, size_type col) |
component_iterator3d_box element assignment operator. More... | |
MultiComponentContainer3D::component_col_iterator | col_end (size_type slice, size_type col) |
component_iterator3d_box element assignment operator. More... | |
difference_type | operator- (const self &i1, const self &i2) |
component_iterator3d_box difference operator. More... | |
This is some iterator to iterate a 3d MultiComponentContainer into a Box area defined by the indices of the 3d container.
MultiComponentContainer3D | Type of 3d container in the component_iterator3d_box |
N | number of elements in one block |
Definition at line 109 of file component_iterator3d_box.hpp.
typedef MultiComponentContainer3D::value_type slip::component_iterator3d_box< MultiComponentContainer3D, N >::Block |
Definition at line 115 of file component_iterator3d_box.hpp.
typedef DPoint3d<int> slip::component_iterator3d_box< MultiComponentContainer3D, N >::difference_type |
Definition at line 117 of file component_iterator3d_box.hpp.
typedef std::random_access_iterator3d_tag slip::component_iterator3d_box< MultiComponentContainer3D, N >::iterator_category |
Definition at line 114 of file component_iterator3d_box.hpp.
typedef value_type* slip::component_iterator3d_box< MultiComponentContainer3D, N >::pointer |
Definition at line 118 of file component_iterator3d_box.hpp.
typedef value_type& slip::component_iterator3d_box< MultiComponentContainer3D, N >::reference |
Definition at line 119 of file component_iterator3d_box.hpp.
typedef component_iterator3d_box slip::component_iterator3d_box< MultiComponentContainer3D, N >::self |
Definition at line 121 of file component_iterator3d_box.hpp.
typedef MultiComponentContainer3D::size_type slip::component_iterator3d_box< MultiComponentContainer3D, N >::size_type |
Definition at line 123 of file component_iterator3d_box.hpp.
typedef Block::value_type slip::component_iterator3d_box< MultiComponentContainer3D, N >::value_type |
Definition at line 116 of file component_iterator3d_box.hpp.
|
inline |
Constructs a component_iterator3d_box.
Definition at line 133 of file component_iterator3d_box.hpp.
|
inline |
Constructs a component_iterator3d_box.
c | pointer to an existing 3d container |
cp | index of the component to iterate |
b | Box3d<int> defining the range of indices to iterate |
Definition at line 144 of file component_iterator3d_box.hpp.
|
inline |
Constructs a copy of the component_iterator3d_box o.
o | component_iterator3d_box to copy. |
Definition at line 159 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
slice | offset. |
row | offset. |
Definition at line 595 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
slice | offset. |
row | offset. |
Definition at line 609 of file component_iterator3d_box.hpp.
|
inline |
Access to the component index of the current component_iterator3d_box.
Definition at line 686 of file component_iterator3d_box.hpp.
|
inline |
Access to the second index of the current component_iterator3d_box.
Definition at line 657 of file component_iterator3d_box.hpp.
|
inline |
Access to the third index of the current component_iterator3d_box.
Definition at line 677 of file component_iterator3d_box.hpp.
|
inline |
Access to the first index of the current component_iterator3d_box.
Definition at line 636 of file component_iterator3d_box.hpp.
|
inline |
Dereference assignment operator. Returns the element that the current component_iterator3d_box i point to.
Definition at line 200 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box addition.
d | difference_type |
Definition at line 476 of file component_iterator3d_box.hpp.
|
inline |
Preincrement a component_iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 222 of file component_iterator3d_box.hpp.
|
inline |
Postincrement a component_iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 257 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box addition.
d | difference_type |
Definition at line 434 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box substraction.
d | difference_type |
Definition at line 491 of file component_iterator3d_box.hpp.
|
inline |
Predecrement a component_iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 276 of file component_iterator3d_box.hpp.
|
inline |
Postdecrement a component_iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 313 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box substraction.
d | difference_type |
Definition at line 456 of file component_iterator3d_box.hpp.
|
inline |
Definition at line 206 of file component_iterator3d_box.hpp.
|
inline |
Assign a component_iterator3d_box.
Assign elements of component_iterator3d_box in o.
o | component_iterator3d_box to get the values from. |
Definition at line 177 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator. Equivalent to *(i + d) = t.
d | difference_type. |
Definition at line 524 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
slice | offset. |
row | offset. |
Definition at line 567 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
slice | offset. |
row | offset. |
Definition at line 581 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
row | offset. |
col | offset |
Definition at line 540 of file component_iterator3d_box.hpp.
|
inline |
component_iterator3d_box element assignment operator.
row | row offset. |
col | col offset. |
Definition at line 554 of file component_iterator3d_box.hpp.
|
inline |
Access to the first index of the current component_iterator3d_box.
Definition at line 626 of file component_iterator3d_box.hpp.
|
inline |
Access to the second index of the current component_iterator3d_box.
Definition at line 647 of file component_iterator3d_box.hpp.
|
inline |
Access to the third index of the current component_iterator3d_box.
Definition at line 667 of file component_iterator3d_box.hpp.
|
friend |
Inequality operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 350 of file component_iterator3d_box.hpp.
|
friend |
component_iterator3d_box difference operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 507 of file component_iterator3d_box.hpp.
|
friend |
< operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 372 of file component_iterator3d_box.hpp.
|
friend |
<= operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 399 of file component_iterator3d_box.hpp.
|
friend |
Equality operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 334 of file component_iterator3d_box.hpp.
|
friend |
operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 386 of file component_iterator3d_box.hpp.
|
friend |
>= operator.
i1 | first component_iterator3d_box. |
i2 | second component_iterator3d_box. |
Definition at line 413 of file component_iterator3d_box.hpp.