SLIP
1.4
|
This is some iterator to iterate a 3d container into a plane area defined by the subscripts of the 3d container. More...
#include <iterator3d_plane.hpp>
Public Types | |
typedef std::random_access_iterator2d_tag | iterator_category |
typedef Container3D::value_type | value_type |
typedef DPoint2d< int > | difference_type |
typedef Container3D::pointer | pointer |
typedef Container3D::const_pointer | const_pointer |
typedef Container3D::const_reference | reference |
typedef const_iterator3d_plane | self |
typedef Container3D::size_type | size_type |
Public Member Functions | |
reference | operator* () const |
Dereference operator. Returns the element that the current const_iterator3d_plane i point to. More... | |
const_pointer | operator-> () const |
Constructors & Destructors | |
const_iterator3d_plane () | |
Constructs a const_iterator3d_plane. More... | |
const_iterator3d_plane (Container3D *c, PLANE_ORIENTATION P, const int plane_coordinate, const Box2d< int > &b) | |
Constructs a iterator3d_plane. More... | |
const_iterator3d_plane (Container3D *c, const Box3d< int > &b) | |
Constructs a const_iterator3d_plane. More... | |
const_iterator3d_plane (const self &o) | |
Constructs a copy of the const_iterator3d_plane o. More... | |
Assignment operators and methods | |
self & | operator= (const self &o) |
Assign a const_iterator3d_plane. More... | |
Forward operators addons | |
self & | operator++ () |
Preincrement a const_iterator3d_plane. Iterate to the next location inside the Box3d. More... | |
self | operator++ (int) |
Postincrement a const_iterator3d_plane. Iterate to the next location inside the Box3d. More... | |
Bidirectional operators addons | |
self & | operator-- () |
Predecrement a const_iterator3d_plane. Iterate to the previous location inside the Box3d. More... | |
self | operator-- (int) |
Postdecrement a const_iterator3d_plane. Iterate to the previous location inside the Box3d. More... | |
Subscripts accessors | |
int | x1 () const |
Access to the first subscript of the current const_iterator3d_plane. More... | |
int | x2 () const |
Access to the first subscript of the current const_iterator3d_plane. More... | |
int | xp () const |
Access to the plane subscript of the current const_iterator3d_plane. More... | |
int | zerodim () const |
Access to the plane axe number of the current const_iterator3d_plane. 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_plane operators addons | |
self & | operator+= (const difference_type &d) |
const_iterator3d_plane addition. More... | |
self & | operator-= (const difference_type &d) |
const_iterator3d_plane substraction. More... | |
self | operator+ (const difference_type &d) |
const_iterator3d_plane addition. More... | |
self | operator- (const difference_type &d) |
const_iterator3d_plane substraction. More... | |
reference | operator[] (difference_type d) const |
const_iterator3d_plane element assignment operator. Equivalent to *(k + d). More... | |
const_pointer * | operator[] (int n) const |
const_iterator3d_plane element assignment operator. Equivalent to *(k + n). More... | |
difference_type | operator- (const self &i1, const self &i2) |
const_iterator3d_plane difference operator. More... | |
This is some iterator to iterate a 3d container into a plane area defined by the subscripts of the 3d container.
Container3D | Type of 3d container in the const_iterator3d_plane |
Definition at line 722 of file iterator3d_plane.hpp.
typedef Container3D::const_pointer slip::const_iterator3d_plane< Container3D >::const_pointer |
Definition at line 759 of file iterator3d_plane.hpp.
typedef DPoint2d<int> slip::const_iterator3d_plane< Container3D >::difference_type |
Definition at line 757 of file iterator3d_plane.hpp.
typedef std::random_access_iterator2d_tag slip::const_iterator3d_plane< Container3D >::iterator_category |
Definition at line 755 of file iterator3d_plane.hpp.
typedef Container3D::pointer slip::const_iterator3d_plane< Container3D >::pointer |
Definition at line 758 of file iterator3d_plane.hpp.
typedef Container3D::const_reference slip::const_iterator3d_plane< Container3D >::reference |
Definition at line 760 of file iterator3d_plane.hpp.
typedef const_iterator3d_plane slip::const_iterator3d_plane< Container3D >::self |
Definition at line 762 of file iterator3d_plane.hpp.
typedef Container3D::size_type slip::const_iterator3d_plane< Container3D >::size_type |
Definition at line 764 of file iterator3d_plane.hpp.
typedef Container3D::value_type slip::const_iterator3d_plane< Container3D >::value_type |
Definition at line 756 of file iterator3d_plane.hpp.
|
inline |
Constructs a const_iterator3d_plane.
Definition at line 774 of file iterator3d_plane.hpp.
|
inline |
Constructs a iterator3d_plane.
c | pointer to an existing 3d container |
P | number of the zero dimension (the axe that is perpendicular to the plane of b) |
plane_coordinate | coordinate of the plane along the zero dimension axe |
b | Box2d<int> defining the range of the plane to iterate |
Definition at line 790 of file iterator3d_plane.hpp.
|
inline |
Constructs a const_iterator3d_plane.
c | pointer to an existing 3d container |
b | Box3d<int> defining the range of plane to iterate |
Definition at line 804 of file iterator3d_plane.hpp.
|
inline |
Constructs a copy of the const_iterator3d_plane o.
o | iterator3d_plane to copy. |
Definition at line 838 of file iterator3d_plane.hpp.
|
inline |
Dereference operator. Returns the element that the current const_iterator3d_plane i point to.
Definition at line 883 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane addition.
d | difference_type |
Definition at line 1128 of file iterator3d_plane.hpp.
|
inline |
Preincrement a const_iterator3d_plane. Iterate to the next location inside the Box3d.
Definition at line 906 of file iterator3d_plane.hpp.
|
inline |
Postincrement a const_iterator3d_plane. Iterate to the next location inside the Box3d.
Definition at line 934 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane addition.
d | difference_type |
Definition at line 1096 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane substraction.
d | difference_type |
Definition at line 1144 of file iterator3d_plane.hpp.
|
inline |
Predecrement a const_iterator3d_plane. Iterate to the previous location inside the Box3d.
Definition at line 953 of file iterator3d_plane.hpp.
|
inline |
Postdecrement a const_iterator3d_plane. Iterate to the previous location inside the Box3d.
Definition at line 982 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane substraction.
d | difference_type |
Definition at line 1112 of file iterator3d_plane.hpp.
|
inline |
Definition at line 890 of file iterator3d_plane.hpp.
|
inline |
Assign a const_iterator3d_plane.
Assign elements of const_iterator3d_plane in o.
o | const_iterator3d_plane to get the values from. |
Definition at line 857 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane element assignment operator. Equivalent to *(k + d).
d | difference_type. |
Definition at line 1174 of file iterator3d_plane.hpp.
|
inline |
const_iterator3d_plane element assignment operator. Equivalent to *(k + n).
n | offset. |
Definition at line 1192 of file iterator3d_plane.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_plane.
Definition at line 1214 of file iterator3d_plane.hpp.
|
inline |
Access to the first subscript of the current const_iterator3d_plane.
Definition at line 1224 of file iterator3d_plane.hpp.
|
inline |
Access to the plane subscript of the current const_iterator3d_plane.
Definition at line 1234 of file iterator3d_plane.hpp.
|
inline |
Access to the plane axe number of the current const_iterator3d_plane.
Definition at line 1243 of file iterator3d_plane.hpp.
Inequality operator.
i1 | first const_iterator3d_plane. |
i2 | second const_iterator3d_plane. |
Definition at line 1018 of file iterator3d_plane.hpp.
|
friend |
const_iterator3d_plane difference operator.
i1 | first const_iterator3d_plane. |
i2 | second const_iterator3d_plane. |
Definition at line 1160 of file iterator3d_plane.hpp.
< operator.
i1 | first iterator3d_plane. |
i2 | second iterator3d_plane. |
Definition at line 1038 of file iterator3d_plane.hpp.
<= operator.
i1 | first iterator3d_plane. |
i2 | second iterator3d_plane. |
Definition at line 1064 of file iterator3d_plane.hpp.
Equality operator.
i1 | first const_iterator3d_plane. |
i2 | second const_iterator3d_plane. |
Definition at line 1003 of file iterator3d_plane.hpp.
operator.
i1 | first iterator3d_plane. |
i2 | second iterator3d_plane. |
Definition at line 1051 of file iterator3d_plane.hpp.
>= operator.
i1 | first iterator3d_plane. |
i2 | second iterator3d_plane. |
Definition at line 1077 of file iterator3d_plane.hpp.