#include <resiter.h>
Collaboration diagram for mysqlpp::subscript_iterator< OnType, ReturnType, SizeType, DiffType >:
Public Member Functions | |
subscript_iterator () | |
Default constructor. | |
subscript_iterator (OnType *what, SizeType pos) | |
Create iterator given the container and a position within it. | |
bool | operator== (const subscript_iterator &j) const |
Return true if given iterator points to the same container and the same position within the container. | |
bool | operator!= (const subscript_iterator &j) const |
Return true if given iterator is different from this one, but points to the same container. | |
bool | operator< (const subscript_iterator &j) const |
Return true if the given iterator points to the same container as this one, and that this iterator's position is less than the given iterator's. | |
bool | operator> (const subscript_iterator &j) const |
Return true if the given iterator points to the same container as this one, and that this iterator's position is greater than the given iterator's. | |
bool | operator<= (const subscript_iterator &j) const |
Return true if the given iterator points to the same container as this one, and that this iterator's position is less than or equal to the given iterator's. | |
bool | operator>= (const subscript_iterator &j) const |
Return true if the given iterator points to the same container as this one, and that this iterator's position is greater than or equal to the given iterator's. | |
ReturnType | operator * () const |
Dereference the iterator, returning a copy of the pointed-to element within the container. | |
ReturnType | operator[] (SizeType n) const |
Return a copy of the element at the given position within the container. | |
subscript_iterator & | operator++ () |
Move the iterator to the next element, returning an iterator to that element. | |
subscript_iterator | operator++ (int) |
Move the iterator to the next element, returning an iterator to the element we were pointing at before the change. | |
subscript_iterator & | operator-- () |
Move the iterator to the previous element, returning an iterator to that element. | |
subscript_iterator | operator-- (int) |
Move the iterator to the previous element, returning an iterator to the element we were pointing at before the change. | |
subscript_iterator & | operator+= (SizeType n) |
Advance iterator position by n . | |
subscript_iterator | operator+ (SizeType n) const |
Return an iterator n positions beyond this one. | |
subscript_iterator & | operator-= (SizeType n) |
Move iterator position back by n . | |
subscript_iterator | operator- (SizeType n) const |
Return an iterator n positions before this one. | |
DiffType | operator- (const subscript_iterator &j) const |
Return an iterator n positions before this one. |
This is the type of iterator used by the const_subscript_container template.