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 DPoint2d< int > | diff2d |
typedef DPoint3d< int > | difference_type |
typedef Container3D::const_pointer | pointer |
typedef Container3D::const_reference | reference |
typedef const_iterator3d_box | self |
typedef Container3D::size_type | size_type |
Public Member Functions | |
reference | operator* () const |
Dereference operator. Returns the element that the current const_iterator3d_box i point to. More... | |
pointer | operator-> () const |
Constructors & Destructors | |
const_iterator3d_box () | |
Constructs a const_iterator3d_box. More... | |
const_iterator3d_box (Container3D *c, const Box3d< int > &b) | |
Constructs a const_iterator3d_box. More... | |
const_iterator3d_box (const self &o) | |
Constructs a copy of the const_iterator3d_box o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a const_iterator3d_box. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a const_iterator3d_box. Iterate to the next location inside the Box3d. More... | |
self | operator++ (int) |
Postincrement a const_iterator3d_box. Iterate to the next location inside the Box3d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a const_iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
self | operator-- (int) |
Postdecrement a const_iterator3d_box. Iterate to the previous location inside the Box3d. More... | |
Subscripts accessors | |
int | x1 () const |
Access to the first subscript of the current const_iterator3d_box. More... | |
int | k () const |
Access to the first subscript of the current const_iterator3d_box. More... | |
int | x2 () const |
Access to the first subscript of the current const_iterator3d_box. More... | |
int | i () const |
Access to the first subscript of the current const_iterator3d_box. More... | |
int | x3 () const |
Access to the second subscript of the current const_iterator3d_box. More... | |
int | j () const |
Access to the second subscript of the current const_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... | |
const_iterator3d_box operators addons | |
self & | operator+= (const difference_type &d) |
const_iterator3d_box addition. More... | |
self & | operator-= (const difference_type &d) |
const_iterator3d_box substraction. More... | |
self | operator+ (const difference_type &d) |
const_iterator3d_box addition. More... | |
self | operator- (const difference_type &d) |
const_iterator3d_box substraction. More... | |
reference | operator[] (difference_type d) const |
const_iterator3d_box element assignment operator. Equivalent to *(k + d). More... | |
pointer | operator[] (diff2d d) const |
const_iterator3d_box element assignment operator. Equivalent to *(k + d). More... | |
pointer * | operator[] (int n) const |
const_iterator3d_box element assignment operator. Equivalent to *(k + n). More... | |
Container3D::const_slice_iterator | slice_begin (size_type row, size_type col) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_slice_iterator | slice_end (size_type row, size_type col) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_row_iterator | row_begin (size_t slice, size_type row) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_row_iterator | row_end (size_t slice, size_type row) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_col_iterator | col_begin (size_t slice, size_type col) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_col_iterator | col_end (size_t slice, size_type col) const |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_iterator2d | plane_upper_left (const slip::PLANE_ORIENTATION p, const size_type xp) |
const_iterator3d_box element assignment operator. More... | |
Container3D::const_iterator2d | plane_bottom_right (const slip::PLANE_ORIENTATION p, const size_type xp) |
const_iterator3d_box element assignment operator. More... | |
difference_type | operator- (const self &i1, const self &i2) |
const_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 const_iterator3d_box |
Definition at line 116 of file DenseVector3dField3d.hpp.
typedef DPoint2d<int> slip::const_iterator3d_box< T >::diff2d |
Definition at line 842 of file iterator3d_box.hpp.
typedef DPoint3d<int> slip::const_iterator3d_box< T >::difference_type |
Definition at line 843 of file iterator3d_box.hpp.
typedef std::random_access_iterator3d_tag slip::const_iterator3d_box< T >::iterator_category |
Definition at line 840 of file iterator3d_box.hpp.
typedef Container3D::const_pointer slip::const_iterator3d_box< T >::pointer |
Definition at line 844 of file iterator3d_box.hpp.
typedef Container3D::const_reference slip::const_iterator3d_box< T >::reference |
Definition at line 845 of file iterator3d_box.hpp.
typedef const_iterator3d_box slip::const_iterator3d_box< T >::self |
Definition at line 847 of file iterator3d_box.hpp.
typedef Container3D::size_type slip::const_iterator3d_box< T >::size_type |
Definition at line 849 of file iterator3d_box.hpp.
typedef Container3D::value_type slip::const_iterator3d_box< T >::value_type |
Definition at line 841 of file iterator3d_box.hpp.
|
inline |
Constructs a const_iterator3d_box.
Definition at line 859 of file iterator3d_box.hpp.
|
inline |
Constructs a const_iterator3d_box.
c | pointer to an existing 3d container |
b | Box3d<int> defining the range of subscripts to iterate |
Definition at line 869 of file iterator3d_box.hpp.
|
inline |
Constructs a copy of the const_iterator3d_box o.
o | const_iterator3d_box to copy. |
Definition at line 879 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
slice,slice | offset |
col | offset. |
Definition at line 1359 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
slice,slice | offset |
col | offset. |
Definition at line 1375 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_box.
Definition at line 1474 of file iterator3d_box.hpp.
|
inline |
Access to the second subscript of the current const_iterator3d_box.
Definition at line 1492 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_box.
Definition at line 1456 of file iterator3d_box.hpp.
|
inline |
Dereference operator. Returns the element that the current const_iterator3d_box i point to.
Definition at line 922 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box addition.
d | difference_type |
Definition at line 1207 of file iterator3d_box.hpp.
|
inline |
Preincrement a const_iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 945 of file iterator3d_box.hpp.
|
inline |
Postincrement a const_iterator3d_box. Iterate to the next location inside the Box3d.
Definition at line 987 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box addition.
d | difference_type |
Definition at line 1165 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box substraction.
d | difference_type |
Definition at line 1223 of file iterator3d_box.hpp.
|
inline |
Predecrement a const_iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 1006 of file iterator3d_box.hpp.
|
inline |
Postdecrement a const_iterator3d_box. Iterate to the previous location inside the Box3d.
Definition at line 1048 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box substraction.
d | difference_type |
Definition at line 1186 of file iterator3d_box.hpp.
|
inline |
Definition at line 929 of file iterator3d_box.hpp.
|
inline |
Assign a const_iterator3d_box.
Assign elements of const_iterator3d_box in o.
o | const_iterator3d_box to get the values from. |
Definition at line 897 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator. Equivalent to *(k + d).
d | difference_type. |
Definition at line 1253 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator. Equivalent to *(k + d).
d | offset. |
Definition at line 1268 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 1283 of file iterator3d_box.hpp.
|
inline |
const_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 1416 of file iterator3d_box.hpp.
|
inline |
const_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 1390 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
slice | slice offset |
row | offset. |
Definition at line 1327 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
slice | slice offset |
row | offset. |
Definition at line 1343 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
row | offset. |
col | offset |
Definition at line 1297 of file iterator3d_box.hpp.
|
inline |
const_iterator3d_box element assignment operator.
row | row offset. |
col | col offset. |
Definition at line 1312 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_box.
Definition at line 1447 of file iterator3d_box.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_box.
Definition at line 1465 of file iterator3d_box.hpp.
|
inline |
Access to the second subscript of the current const_iterator3d_box.
Definition at line 1483 of file iterator3d_box.hpp.
Inequality operator.
i1 | first const_iterator3d_box. |
i2 | second const_iterator3d_box. |
Definition at line 1084 of file iterator3d_box.hpp.
|
friend |
const_iterator3d_box difference operator.
i1 | first const_iterator3d_box. |
i2 | second const_iterator3d_box. |
Definition at line 1239 of file iterator3d_box.hpp.
< operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 1103 of file iterator3d_box.hpp.
<= operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 1131 of file iterator3d_box.hpp.
Equality operator.
i1 | first const_iterator3d_box. |
i2 | second const_iterator3d_box. |
Definition at line 1069 of file iterator3d_box.hpp.
operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 1117 of file iterator3d_box.hpp.
>= operator.
i1 | first iterator3d_box. |
i2 | second iterator3d_box. |
Definition at line 1145 of file iterator3d_box.hpp.