This class sets an iterator to a given position. More...
#include <ilserver/model.h>
Public Types | |
typedef IlsListRelationPosition< RelationList > | Myself |
Myself is the type of the instantiated template class. | |
Public Member Functions | |
IlsListRelationPosition (const Myself &rhs) | |
IlsBoolean | operator!= (const Myself &rhs) const |
Evaluates whether two positions are not equal. | |
CTargetTypePR | operator* () const |
Converts the position to the item to which the position points. | |
Myself | operator+ (int i) const |
Myself & | operator++ () |
This increment operator moves the iterator to the next item in the list. More... | |
Myself & | operator++ (int i) |
This operator is identical to operator++() except that it uses a prefix notation. More... | |
Myself & | operator+= (int i) |
Myself | operator- (int i) const |
Myself & | operator-- () |
This decrement operator moves the iterator to the previous item in the list. More... | |
Myself & | operator-- (int i) |
This operator is identical to operator--() except that it uses a prefix notation. More... | |
Myself & | operator-= (int i) |
Myself & | operator= (const Myself &rhs) |
IlsBoolean | operator== (const Myself &rhs) const |
Evaluates whether two positions are equal. | |
This class sets an iterator to a given position.
Library: server
This class is aliased (typedef
) as Position
in list relations.
Memento
IlsListRelationPosition< RelationList >::IlsListRelationPosition | ( | const Myself & | rhs | ) |
\short Copy constructor. Creates a position that points to the same
location as the one supplied as its argument.
Myself IlsListRelationPosition< RelationList >::operator+ | ( | int | i | ) | const |
\short Moves the iterator forward in the list according
to the value supplied as its argument.
IlsEndOfList | If the iterator is moved past the last list item. |
Myself& IlsListRelationPosition< RelationList >::operator++ | ( | ) |
This increment operator moves the iterator to the next item in the list.
IlsEndOfList | If the iterator is moved past the last list item. |
Myself& IlsListRelationPosition< RelationList >::operator++ | ( | int | i | ) |
This operator is identical to operator++()
except that it uses a prefix notation.
IlsEndOfList | If the iterator is moved past the last list item. |
Myself& IlsListRelationPosition< RelationList >::operator+= | ( | int | i | ) |
\short Moves the iterator forward according to the value
supplied as its argument.
IlsEndOfList | If the value provided moves the iterator past the last list item. |
Myself IlsListRelationPosition< RelationList >::operator- | ( | int | i | ) | const |
\short Moves the iterator backward in the list according
to the value supplied as its argument.
IlsBeginningOfList | If the iterator is moved past the first list item. |
Myself& IlsListRelationPosition< RelationList >::operator-- | ( | ) |
This decrement operator moves the iterator to the previous item in the list.
IlsBeginningOfList | If the iterator is moved past the first list item. |
Myself& IlsListRelationPosition< RelationList >::operator-- | ( | int | i | ) |
This operator is identical to operator--()
except that it uses a prefix notation.
IlsBeginningOfList | If the iterator is moved past the first list item. |
Myself& IlsListRelationPosition< RelationList >::operator-= | ( | int | i | ) |
\short Moves the iterator backward in the list according
to the value supplied as its argument.
IlsBeginningOfList | If the value provided moves the iterator past the first list item. |
Myself& IlsListRelationPosition< RelationList >::operator= | ( | const Myself & | rhs | ) |
\short Assigns the position provided as its argument to
another position and returns the position supplied.