Constructs an ItemIterator from an ItemDomain and a current position
The itemdomain cannot be null and the position must be valid
- Parameters
-
Constructs an ItemIterator from an ItemDomain and a current possition
The itemdomain cannot be null and the position must be valid
- Parameters
-
dom | The ItemDomain |
cur | The current position in this domain, default = 0 |
Constructs an ItemIterator from a SPItemRange and a currentposition.
- Parameters
-
rng | The SPItemrange |
cur | The current position in this range, default = 0 |
Copy Constructor
- Parameters
-
Generates this ItemIterator at position 0
- Returns
- this at position 0
Generates this ItemIterator at its last position
- Returns
- this at the last position
override of operator!= checks if this ItemIterator is equal to another only works if neither position is iUNDEF and the ranges are equal
- Parameters
-
- Returns
- true when the current position between the 2 is not equal (also false if the conditions are not met)
override of operator *
- Returns
override of operator++ moves this ItemIterator by 1
- Returns
- this moved 1
override of operator++ moves this ItemIterator by 1
- Returns
- this moved 1
override of operator+= moves this ItemIterator by n
- Parameters
-
- Returns
- this moved n
override of operator– moves this ItemIterator by -1
- Returns
- this moved -1
override of operator– moves this ItemIterator by -1
- Returns
- this moved -1
override of operator-= moves this ItemIterator by 1
- Parameters
-
- Returns
- this moved -n
override of operator< compares this ItemIterator with another based on the currentposition only works if both have the same range
- Parameters
-
- Returns
- true when this is smaller (also false when the ranges are not equal)
override of operator<= compares this ItemIterator with another based on the currentposition only works if both have the same range
- Parameters
-
- Returns
- true when this is smaller or equal (also false when the ranges are not equal)
override of operator=
Copies the contents of the second ItemIterator to this one
- Parameters
-
- Returns
- this iterator with the current and range of the other iterator
override of operator== checks if this ItemIterator is equal to another only works if neither position is iUNDEF and the ranges are equal
- Parameters
-
- Returns
- true when the current position between the 2 is equal (also false if the conditions are not met)
override of operator> compares this ItemIterator with another based on the currentposition only works if both have the same range
- Parameters
-
- Returns
- true when this is bigger (also false when the ranges are not equal)
override of operator<= compares this ItemIterator with another based on the currentposition only works if both have the same range
- Parameters
-
- Returns
- true when this is bigger or equal (also false when the ranges are not equal)
override of operator[] gives this iterator at the index between brackets
- Parameters
-
- Returns
- this at the given index
The documentation for this class was generated from the following file: