SLIP
1.4
|
This is some iterator to iterate a 3d container into a Box area defined by the subscripts of the 3d container. More...
#include <DenseVector3dField3d.hpp>
Public Types | |
typedef std::random_access_iterator3d_tag | iterator_category |
typedef Container3D::value_type | value_type |
typedef DPoint3d< int > | difference_type |
typedef DPoint2d< int > | diff2d |
typedef Container3D::pointer | pointer |
typedef Container3D::reference | reference |
typedef iterator3d_box | self |
typedef Container3D::size_type | size_type |
Public Member Functions | |
reference | operator* () |
Dereference assignment operator. Returns the element that the current iterator3d_box i point to. More... | |
const reference | operator* () const |
Dereference operator. Returns the element that the current iterator3d_box i point to. More... | |
pointer | operator-> () const |
pointer | operator-> () |
Constructors & Destructors | |
iterator3d_box () | |
Constructs a iterator3d_box. More... | |
iterator3d_box (Container3D *c, const Box3d< int > &b) | |
Constructs a iterator3d_box. More... | |
iterator3d_box (const self &o) | |
Constructs a copy of the iterator3d_box o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a iterator3d_box. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a iterator3d_box. Iterate to the next location inside the Box3d. More... | |
self | operator++ (int) |
Postincrement a iterator3d_box. Iterate to the next location inside the Box3d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
self | operator-- (int) |
Postdecrement a iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
Subscripts accessors | |
int | x1 () const |
Access to the first subscript of the current iterator3d_box. More... | |
int | k () const |
Access to the first subscript of the current iterator3d_box. More... | |
int | x2 () const |
Access to the second subscript of the current iterator3d_box. More... | |
int | i () const |
Access to the first subscript of the current iterator3d_box. More... | |
int | x3 () const |
Access to the second subscript of the current iterator3d_box. More... | |
int | j () const |
Access to the second subscript of the current 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... | |
iterator3d_box operators addons | |
self & | operator+= (const difference_type &d) |
iterator3d_box addition. More... | |
self & | operator-= (const difference_type &d) |
iterator3d_box substraction. More... | |
self | operator+ (const difference_type &d) |
iterator3d_box addition. More... | |
self | operator- (const difference_type &d) |
iterator3d_box substraction. More... | |
reference | operator[] (difference_type d) |
iterator3d_box element assignment operator. Equivalent to *(k + d) = t. More... | |
pointer | operator[] (diff2d d) |
iterator3d_box element assignment operator. Equivalent to *(k + d) = t. More... | |
pointer * | operator[] (int n) |
iterator3d_box element assignment operator. Equivalent to *(k + n). More... | |
const pointer * | operator[] (int n) const |
iterator3d_box element assignment operator. Equivalent to *(k + n). More... | |
Container3D::slice_iterator | slice_begin (size_type row, size_type col) |
iterator3d_box element assignment operator. More... | |
Container3D::slice_iterator | slice_end (size_type row, size_type col) |
iterator3d_box element assignment operator. More... | |
Container3D::row_iterator | row_begin (size_type slice, size_type row) |
iterator3d_box element assignment operator. More... | |
Container3D::row_iterator | row_end (size_type slice, size_type row) |
iterator3d_box element assignment operator. More... | |
Container3D::col_iterator | col_begin (size_type slice, size_type col) |
iterator3d_box element assignment operator. More... | |
Container3D::col_iterator | col_end (size_type slice, size_type col) |
iterator3d_box element assignment operator. More... | |
Container3D::iterator2d | plane_upper_left (const slip::PLANE_ORIENTATION p, const size_type xp) |
iterator3d_box element assignment operator. More... | |
Container3D::iterator2d | plane_bottom_right (const slip::PLANE_ORIENTATION p, const size_type xp) |
iterator3d_box element assignment operator. More... | |
difference_type | operator- (const self &i1, const self &i2) |
iterator3d_box difference operator. More... | |
This is some iterator to iterate a 3d container into a Box area defined by the subscripts of the 3d container.
Container3D | Type of 3d container in the iterator3d_box |
Definition at line 110 of file DenseVector3dField3d.hpp.
typedef DPoint2d<int> slip::iterator3d_box< T >::diff2d |
Definition at line 119 of file iterator3d_box.hpp.
typedef DPoint3d<int> slip::iterator3d_box< T >::difference_type |
Definition at line 118 of file iterator3d_box.hpp.
typedef std::random_access_iterator3d_tag slip::iterator3d_box< T >::iterator_category |
Definition at line 116 of file iterator3d_box.hpp.
typedef Container3D::pointer slip::iterator3d_box< T >::pointer |
Definition at line 120 of file iterator3d_box.hpp.
typedef Container3D::reference slip::iterator3d_box< T >::reference |
Definition at line 121 of file iterator3d_box.hpp.
typedef iterator3d_box slip::iterator3d_box< T >::self |
Definition at line 123 of file iterator3d_box.hpp.
typedef Container3D::size_type slip::iterator3d_box< T >::size_type |
Definition at line 124 of file iterator3d_box.hpp.
typedef Container3D::value_type slip::iterator3d_box< T >::value_type |
Definition at line 117 of file iterator3d_box.hpp.
|
inline |
Constructs a iterator3d_box.
Definition at line 135 of file iterator3d_box.hpp.
|
inline |
Constructs a iterator3d_box.
c | pointer to an existing 3d container |
b | Box3d<int> defining the range of subscripts to iterate |
Definition at line 145 of file iterator3d_box.hpp.
|
inline |
Constructs a copy of the iterator3d_box o.
o | iterator3d_box to copy. |
Definition at line 155 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
slice | slice offset. |
col | col offset. |
Definition at line 665 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
slice | slice offset. |
col | col offset. |
Definition at line 679 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current iterator3d_box.
Definition at line 776 of file iterator3d_box.hpp.
|
inline |
Access to the second subscript of the current iterator3d_box.
Definition at line 794 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current iterator3d_box.
Definition at line 758 of file iterator3d_box.hpp.
|
inline |
Dereference assignment operator. Returns the element that the current iterator3d_box i point to.
Definition at line 195 of file iterator3d_box.hpp.
|
inline |
Dereference operator. Returns the element that the current iterator3d_box i point to.
Definition at line 209 of file iterator3d_box.hpp.
|
inline |
iterator3d_box addition.
d | difference_type |
Definition at line 502 of file iterator3d_box.hpp.
|
inline |
Preincrement a iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 238 of file iterator3d_box.hpp.
|
inline |
Postincrement a iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 280 of file iterator3d_box.hpp.
|
inline |
iterator3d_box addition.
d | difference_type |
Definition at line 460 of file iterator3d_box.hpp.
|
inline |
iterator3d_box substraction.
d | difference_type |
Definition at line 517 of file iterator3d_box.hpp.
|
inline |
Predecrement a iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 299 of file iterator3d_box.hpp.
|
inline |
Postdecrement a iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 342 of file iterator3d_box.hpp.
|
inline |
iterator3d_box substraction.
d | difference_type |
Definition at line 481 of file iterator3d_box.hpp.
|
inline |
Definition at line 216 of file iterator3d_box.hpp.
|
inline |
Definition at line 222 of file iterator3d_box.hpp.
|
inline |
Assign a iterator3d_box.
Assign elements of iterator3d_box in o.
o | iterator3d_box to get the values from. |
Definition at line 173 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator. Equivalent to *(k + d) = t.
d | difference_type. |
Definition at line 548 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator. Equivalent to *(k + d) = t.
d | offset. |
Definition at line 563 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 578 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 594 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
p | The index of the plane axe (axe of the constant component). |
xp | The constant coordinate within the box |
Definition at line 719 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
p | The index of the plane axe (axe of the constant component). |
xp | The constant coordinate within the box |
Definition at line 694 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
slice | slice offset. |
row | offset. |
Definition at line 637 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
slice | slice offset. |
row | offset. |
Definition at line 651 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
row | offset. |
col | offset |
Definition at line 608 of file iterator3d_box.hpp.
|
inline |
iterator3d_box element assignment operator.
row | row offset. |
col | col offset. |
Definition at line 622 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current iterator3d_box.
Definition at line 749 of file iterator3d_box.hpp.
|
inline |
Access to the second subscript of the current iterator3d_box.
Definition at line 767 of file iterator3d_box.hpp.
|
inline |
Access to the second subscript of the current iterator3d_box.
Definition at line 785 of file iterator3d_box.hpp.
Inequality operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 378 of file iterator3d_box.hpp.
|
friend |
iterator3d_box difference operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 532 of file iterator3d_box.hpp.
< operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 397 of file iterator3d_box.hpp.
<= operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 425 of file iterator3d_box.hpp.
Equality operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 363 of file iterator3d_box.hpp.
operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 411 of file iterator3d_box.hpp.
>= operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 439 of file iterator3d_box.hpp.