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

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

List of all members.

Public Member Functions

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

Friends

class list< T, maxSize >

Detailed Description

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

iterators Represents an iterator of the list template.

Definition at line 136 of file List.h.


Constructor & Destructor Documentation

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

constructors, destructors Constructs a new iterator object.

Definition at line 146 of file List.h.

template<class T, int maxSize>
ApparatusFramework::list< 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 153 of file List.h.

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

Destroys the object and releases all the associated resources.

Definition at line 159 of file List.h.


Member Function Documentation

template<class T, int maxSize>
bool ApparatusFramework::list< 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 comparison.

Definition at line 242 of file List.h.

template<class T, int maxSize>
T& ApparatusFramework::list< 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 218 of file List.h.

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

Pre increments the iterator position by one.

Returns:
iterator& iterator with the new position.

Definition at line 177 of file List.h.

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

Post increments the iterator position by one.

Returns:
iterator iterator with the old position.

Definition at line 165 of file List.h.

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

Pre decrements the iterator position by one.

Returns:
iterator& iterator with the new position.

Definition at line 203 of file List.h.

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

Post deincrements the iterator position by one.

Returns:
iterator iterator with the old position.

Definition at line 188 of file List.h.

template<class T, int maxSize>
bool ApparatusFramework::list< 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 comparison.

Definition at line 233 of file List.h.


Friends And Related Function Documentation

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

Make friends with our parent class.

Definition at line 139 of file List.h.

© 2004-2010 bbv Software Services AG / Apparatus Services