Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
List of all members | Public Member Functions
IlsInvertedRelationList< TargetType, OriginType >::Position Class Reference

#include <ilserver/model.h>

Public Member Functions

 Position (const Position &)
 Copy Constructor. Creates a position that points to the same location as the one supplied as its argument.
 
IlsBoolean operator!= (const Position &)
 Evaluates whether two positions are not equal.
 
TargetTypeP operator* ()
 
Position operator+ (unsigned int)
 Moves the iterator forward in the list according to the value supplied as its argument.
 
Positionoperator++ ()
 This increment operator moves the iterator to the next item in the list.
 
Positionoperator++ (int)
 This operator is identical to operator++() except that it uses a prefix notation.
 
Positionoperator+= (unsigned int i)
 Moves the iterator forward according to the value supplied as its argument. More...
 
Position operator- (unsigned int)
 Moves the iterator backwards according to the value supplied as its argument.
 
Positionoperator-- ()
 This decrement operator moves the iterator to the previous item in the list.
 
Positionoperator-- (int)
 This operator is identical to operator--() except that it uses a prefix notation.
 
Positionoperator-= (unsigned int i)
 Moves the iterator backwards according to the value supplied as its argument. More...
 
Positionoperator= (const Position &)
 Assigns the position provided as its argument to another position and returns the position supplied.
 
IlsBoolean operator== (const Position &)
 Evaluates whether two positions are equal.
 

Detailed Description

template<class TargetType, class OriginType>
class IlsInvertedRelationList< TargetType, OriginType >::Position

Library: server

\short This class is nested in the class template
\c IlsInvertedRelationList. It sets an iterator to a given position.
Related Pattern
Memento
See also
IlsInvertedRelationList, IlsInvertedRelationList::Iterator.

Member Function Documentation

◆ operator*()

template<class TargetType , class OriginType >
TargetTypeP IlsInvertedRelationList< TargetType, OriginType >::Position::operator* ( )
\short Converts the position to the item to which the

position points.

◆ operator+=()

template<class TargetType , class OriginType >
Position& IlsInvertedRelationList< TargetType, OriginType >::Position::operator+= ( unsigned int  i)

Moves the iterator forward according to the value supplied as its argument.

Exceptions
IlsEndOfListIf the value provided moves the iterator past the last list item.

◆ operator-=()

template<class TargetType , class OriginType >
Position& IlsInvertedRelationList< TargetType, OriginType >::Position::operator-= ( unsigned int  i)

Moves the iterator backwards according to the value supplied as its argument.

Exceptions
IlsBeginningOfListIf the provided value moves the iterator past the first list item.