ApparatusFramework::vector< T, maxSize >::iterator Class Reference

#include <RT_STL/current/include/vector.h>

List of all members.

Public Member Functions

 iterator ()
 iterator (const iterator &lvalue)
 ~iterator ()
iterator operator++ (int)
iteratoroperator++ ()
iterator operator-- (int)
iteratoroperator-- ()
iterator operator+ (unsigned int delta) const
iterator operator- (unsigned int delta) const
T & operator* ()
T * operator-> ()
bool operator== (const iterator &lvalue) const
bool operator!= (const iterator &lvalue) const

Friends

class vector< T, maxSize >

Detailed Description

template<class T, int maxSize>
class ApparatusFramework::vector< T, maxSize >::iterator

iterators

Definition at line 122 of file vector.h.


Constructor & Destructor Documentation

template<class T , int maxSize>
ApparatusFramework::vector< T, maxSize >::iterator::iterator (  )  [inline]

constructors, destructors Constructs a new iterator object.

Definition at line 132 of file vector.h.

template<class T , int maxSize>
ApparatusFramework::vector< T, maxSize >::iterator::iterator ( const iterator lvalue  )  [inline]

The copy constructor constructs a new iterator object.

Parameters:
lvalue iterator used to generate a new object.

Definition at line 139 of file vector.h.

template<class T , int maxSize>
ApparatusFramework::vector< T, maxSize >::iterator::~iterator (  )  [inline]

Destroys the object and releases all the associated resources.

Definition at line 145 of file vector.h.


Member Function Documentation

template<class T , int maxSize>
bool ApparatusFramework::vector< T, maxSize >::iterator::operator!= ( const iterator lvalue  )  const [inline]

Returns true if both operators are not equivalent, false otherwise.

Parameters:
lvalue iterator to compare.
Returns:
bool result of the comparaison.

Definition at line 266 of file vector.h.

template<class T , int maxSize>
T& ApparatusFramework::vector< T, maxSize >::iterator::operator* (  )  [inline]

Returns the item at the current position. No sanity checks are performed.

Returns:
T& reference to the item at the given position.

Definition at line 239 of file vector.h.

template<class T , int maxSize>
iterator ApparatusFramework::vector< T, maxSize >::iterator::operator+ ( unsigned int  delta  )  const [inline]

Increments the iterator position with the given offset.

Parameters:
delta number of items to move forward.
Returns:
iterator iterator with the new position.

Definition at line 208 of file vector.h.

template<class T , int maxSize>
iterator& ApparatusFramework::vector< T, maxSize >::iterator::operator++ (  )  [inline]

Pre increments the iterator position by one.

Returns:
iterator& iterator with the new position.

Definition at line 164 of file vector.h.

template<class T , int maxSize>
iterator ApparatusFramework::vector< T, maxSize >::iterator::operator++ ( int   )  [inline]

Post increments the iterator position by one.

Returns:
iterator iterator with the old position.

Definition at line 151 of file vector.h.

template<class T , int maxSize>
iterator ApparatusFramework::vector< T, maxSize >::iterator::operator- ( unsigned int  delta  )  const [inline]

Decrements the iterator position with the given offset.

Parameters:
delta number of items to move backward.
Returns:
iterator iterator with the new position.

Definition at line 222 of file vector.h.

template<class T , int maxSize>
iterator& ApparatusFramework::vector< T, maxSize >::iterator::operator-- (  )  [inline]

Pre decrements the iterator position by one.

Returns:
iterator& iterator with the new position.

Definition at line 192 of file vector.h.

template<class T , int maxSize>
iterator ApparatusFramework::vector< T, maxSize >::iterator::operator-- ( int   )  [inline]

Post deincrements the iterator position by one.

Returns:
iterator iterator with the old position.

Definition at line 176 of file vector.h.

template<class T , int maxSize>
T* ApparatusFramework::vector< T, maxSize >::iterator::operator-> (  )  [inline]

Returns the item at the current position. No sanity checks are performed.

Returns:
T* pointer to the item at the given position.

Definition at line 248 of file vector.h.

template<class T , int maxSize>
bool ApparatusFramework::vector< T, maxSize >::iterator::operator== ( const iterator lvalue  )  const [inline]

Returns true if both operators are equivalent, false otherwise.

Parameters:
lvalue iterator to compare.
Returns:
bool result of the comparaison.

Definition at line 257 of file vector.h.


Friends And Related Function Documentation

template<class T , int maxSize>
friend class vector< T, maxSize > [friend]

Make friends with our parent class.

Definition at line 125 of file vector.h.

© 2004-2010 bbv Software Services AG / Apparatus Services