SLIP
1.4
|
This is some iterator to iterate a 4d container into a Box area defined by the subscripts of the 4d container. More...
#include <iterator4d_box.hpp>
Public Types | |
typedef std::random_access_iterator4d_tag | iterator_category |
typedef Container4D::value_type | value_type |
typedef DPoint4d< int > | difference_type |
typedef slip::DPoint3d< int > | diff3d |
typedef slip::DPoint2d< int > | diff2d |
typedef Container4D::pointer | pointer |
typedef Container4D::reference | reference |
typedef iterator4d_box | self |
typedef Container4D::size_type | size_type |
Public Member Functions | |
reference | operator* () |
Dereference assignment operator. Returns the element that the current iterator4d_box i point to. More... | |
const reference | operator* () const |
Dereference operator. Returns the element that the current iterator4d_box i point to. More... | |
pointer | operator-> () const |
pointer | operator-> () |
Constructors & Destructors | |
iterator4d_box () | |
Constructs a iterator4d_box. More... | |
iterator4d_box (Container4D *c, const Box4d< int > &b) | |
Constructs a iterator4d_box. More... | |
iterator4d_box (const self &o) | |
Constructs a copy of the iterator4d_box o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a iterator4d_box. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a iterator4d_box. Iterate to the next location inside the Box4d. More... | |
self | operator++ (int) |
Postincrement a iterator4d_box. Iterate to the next location inside the Box4d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a iterator4d_box. Iterate to the previous location inside the Box4d. More... | |
self | operator-- (int) |
Postdecrement a iterator4d_box. Iterate to the previous location inside the Box4d. More... | |
Subscripts accessors | |
int | x1 () const |
Access to the first subscript of the current iterator4d_box. More... | |
int | t () const |
Access to the first subscript of the current iterator4d_box. More... | |
int | x2 () const |
Access to the second subscript of the current iterator4d_box. More... | |
int | k () const |
Access to the second subscript of the current iterator4d_box. More... | |
int | x3 () const |
Access to the third subscript of the current iterator4d_box. More... | |
int | i () const |
Access to the third subscript of the current iterator4d_box. More... | |
int | x4 () const |
Access to the fourth subscript of the current iterator4d_box. More... | |
int | j () const |
Access to the fourth subscript of the current 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... | |
iterator4d_box operators addons | |
self & | operator+= (const difference_type &d) |
iterator4d_box addition. More... | |
self & | operator-= (const difference_type &d) |
iterator4d_box substraction. More... | |
self | operator+ (const difference_type &d) |
iterator4d_box addition. More... | |
self | operator- (const difference_type &d) |
iterator4d_box substraction. More... | |
reference | operator[] (difference_type d) |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t. More... | |
pointer | operator[] (diff3d d) |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t. More... | |
pointer * | operator[] (diff2d d) |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t. More... | |
pointer ** | operator[] (int n) |
iterator4d_box element assignment operator. Equivalent to *(k + n). More... | |
const pointer ** | operator[] (int n) const |
iterator4d_box element assignment operator. Equivalent to *(k + n). More... | |
Container4D::slab_iterator | slab_begin (size_type slice, size_type row, size_type col) |
iterator4d_box element assignment operator. More... | |
Container4D::slab_iterator | slab_end (size_type slice, size_type row, size_type col) |
iterator4d_box element assignment operator. More... | |
Container4D::slice_iterator | slice_begin (size_type slab, size_type row, size_type col) |
iterator4d_box element assignment operator. More... | |
Container4D::slice_iterator | slice_end (size_type slab, size_type row, size_type col) |
iterator4d_box element assignment operator. More... | |
Container4D::row_iterator | row_begin (size_type slab, size_type slice, size_type row) |
iterator4d_box element assignment operator. More... | |
Container4D::row_iterator | row_end (size_type slab, size_type slice, size_type row) |
iterator4d_box element assignment operator. More... | |
Container4D::col_iterator | col_begin (size_type slab, size_type slice, size_type col) |
iterator4d_box element assignment operator. More... | |
Container4D::col_iterator | col_end (size_type slab, size_type slice, size_type col) |
iterator4d_box element assignment operator. More... | |
difference_type | operator- (const self &i1, const self &i2) |
iterator4d_box difference operator. More... | |
This is some iterator to iterate a 4d container into a Box area defined by the subscripts of the 4d container.
Container4D | Type of 4d container in the iterator4d_box |
Definition at line 115 of file iterator4d_box.hpp.
typedef slip::DPoint2d<int> slip::iterator4d_box< Container4D >::diff2d |
Definition at line 123 of file iterator4d_box.hpp.
typedef slip::DPoint3d<int> slip::iterator4d_box< Container4D >::diff3d |
Definition at line 122 of file iterator4d_box.hpp.
typedef DPoint4d<int> slip::iterator4d_box< Container4D >::difference_type |
Definition at line 121 of file iterator4d_box.hpp.
typedef std::random_access_iterator4d_tag slip::iterator4d_box< Container4D >::iterator_category |
Definition at line 119 of file iterator4d_box.hpp.
typedef Container4D::pointer slip::iterator4d_box< Container4D >::pointer |
Definition at line 124 of file iterator4d_box.hpp.
typedef Container4D::reference slip::iterator4d_box< Container4D >::reference |
Definition at line 125 of file iterator4d_box.hpp.
typedef iterator4d_box slip::iterator4d_box< Container4D >::self |
Definition at line 127 of file iterator4d_box.hpp.
typedef Container4D::size_type slip::iterator4d_box< Container4D >::size_type |
Definition at line 128 of file iterator4d_box.hpp.
typedef Container4D::value_type slip::iterator4d_box< Container4D >::value_type |
Definition at line 120 of file iterator4d_box.hpp.
|
inline |
Constructs a iterator4d_box.
Definition at line 139 of file iterator4d_box.hpp.
|
inline |
Constructs a iterator4d_box.
c | pointer to an existing 4d container |
b | Box4d<int> defining the range of subscripts to iterate |
Definition at line 149 of file iterator4d_box.hpp.
|
inline |
Constructs a copy of the iterator4d_box o.
o | iterator4d_box to copy. |
Definition at line 162 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
slice | slice offset. |
col | col offset. |
Definition at line 802 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
slice | slice offset. |
col | col offset. |
Definition at line 820 of file iterator4d_box.hpp.
|
inline |
Access to the third subscript of the current iterator4d_box.
Definition at line 882 of file iterator4d_box.hpp.
|
inline |
Access to the fourth subscript of the current iterator4d_box.
Definition at line 901 of file iterator4d_box.hpp.
|
inline |
Access to the second subscript of the current iterator4d_box.
Definition at line 864 of file iterator4d_box.hpp.
|
inline |
Dereference assignment operator. Returns the element that the current iterator4d_box i point to.
Definition at line 203 of file iterator4d_box.hpp.
|
inline |
Dereference operator. Returns the element that the current iterator4d_box i point to.
Definition at line 217 of file iterator4d_box.hpp.
|
inline |
iterator4d_box addition.
d | difference_type |
Definition at line 579 of file iterator4d_box.hpp.
|
inline |
Preincrement a iterator4d_box. Iterate to the next location inside the Box4d.
Definition at line 246 of file iterator4d_box.hpp.
|
inline |
Postincrement a iterator4d_box. Iterate to the next location inside the Box4d.
Definition at line 324 of file iterator4d_box.hpp.
|
inline |
iterator4d_box addition.
d | difference_type |
Definition at line 533 of file iterator4d_box.hpp.
|
inline |
iterator4d_box substraction.
d | difference_type |
Definition at line 594 of file iterator4d_box.hpp.
|
inline |
Predecrement a iterator4d_box. Iterate to the previous location inside the Box4d.
Definition at line 343 of file iterator4d_box.hpp.
|
inline |
Postdecrement a iterator4d_box. Iterate to the previous location inside the Box4d.
Definition at line 421 of file iterator4d_box.hpp.
|
inline |
iterator4d_box substraction.
d | difference_type |
Definition at line 556 of file iterator4d_box.hpp.
|
inline |
Definition at line 224 of file iterator4d_box.hpp.
|
inline |
Definition at line 230 of file iterator4d_box.hpp.
|
inline |
Assign a iterator4d_box.
Assign elements of iterator4d_box in o.
o | iterator4d_box to get the values from. |
Definition at line 180 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t.
d | difference_type. |
Definition at line 625 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t.
d | offset. |
Definition at line 640 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator. Equivalent to *(k + d) = t.
d | offset. |
Definition at line 655 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 670 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 686 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
slice | slice offset. |
row | offset. |
Definition at line 767 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
slice | slice offset. |
row | offset. |
Definition at line 785 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slice | offset. |
row | offset. |
col | offset |
Definition at line 701 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slice | offset. |
row | row offset. |
col | col offset. |
Definition at line 717 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
row | offset. |
col | offset |
Definition at line 733 of file iterator4d_box.hpp.
|
inline |
iterator4d_box element assignment operator.
slab | offset. |
row | row offset. |
col | col offset. |
Definition at line 749 of file iterator4d_box.hpp.
|
inline |
Access to the first subscript of the current iterator4d_box.
Definition at line 846 of file iterator4d_box.hpp.
|
inline |
Access to the first subscript of the current iterator4d_box.
Definition at line 837 of file iterator4d_box.hpp.
|
inline |
Access to the second subscript of the current iterator4d_box.
Definition at line 855 of file iterator4d_box.hpp.
|
inline |
Access to the third subscript of the current iterator4d_box.
Definition at line 873 of file iterator4d_box.hpp.
|
inline |
Access to the fourth subscript of the current iterator4d_box.
Definition at line 892 of file iterator4d_box.hpp.
Inequality operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 457 of file iterator4d_box.hpp.
|
friend |
iterator4d_box difference operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 609 of file iterator4d_box.hpp.
< operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 476 of file iterator4d_box.hpp.
<= operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 502 of file iterator4d_box.hpp.
Equality operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 442 of file iterator4d_box.hpp.
operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 489 of file iterator4d_box.hpp.
>= operator.
i1 | first iterator4d_box. |
i2 | second iterator4d_box. |
Definition at line 514 of file iterator4d_box.hpp.