Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
concepts::ListScan< T > Class Template Reference

Scanner for a list. More...

#include <scannerConnectors.hh>

Inheritance diagram for concepts::ListScan< T >:
Inheritance graph
[legend]
Collaboration diagram for concepts::ListScan< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ListScan< T > * clone () const
 Returns a clone of the scanner.
bool eos () const
 Returns true if the end of the scanned set is reached.
 ListScan (Joiner< T, 1 > &cnr)
 Constructor.
 operator int ()
 Returns true as long as the end of the scanned set is not reached yet.
T & operator++ (int)
 Returns the next element in the scanned set.

Private Attributes

Joiner< T, 1 > * current_
 Pointer to the current element.
bool eos_
 Is true if the end of the list is reached.
Joiner< T, 1 > * head_
 Pointer to the head of the list.

Detailed Description

template<class T>
class concepts::ListScan< T >

Scanner for a list.

Definition at line 214 of file scannerConnectors.hh.


Constructor & Destructor Documentation

template<class T>
concepts::ListScan< T >::ListScan ( Joiner< T, 1 > &  cnr) [inline]

Constructor.

Parameters:
cnrReference to the list

Definition at line 227 of file scannerConnectors.hh.


Member Function Documentation

template<class T>
ListScan<T>* concepts::ListScan< T >::clone ( ) const [inline, virtual]

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 232 of file scannerConnectors.hh.

template<class T>
bool concepts::ListScan< T >::eos ( ) const [inline, virtual]

Returns true if the end of the scanned set is reached.

Implements concepts::Scan< T >.

Definition at line 230 of file scannerConnectors.hh.

template<class T>
concepts::Scan< T >::operator int ( ) [inline, inherited]

Returns true as long as the end of the scanned set is not reached yet.

Definition at line 32 of file scannerConnectors.hh.

template<class T >
T & concepts::ListScan< T >::operator++ ( int  ) [virtual]

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 238 of file scannerConnectors.hh.


Member Data Documentation

template<class T>
Joiner<T, 1>* concepts::ListScan< T >::current_ [private]

Pointer to the current element.

Definition at line 219 of file scannerConnectors.hh.

template<class T>
bool concepts::ListScan< T >::eos_ [private]

Is true if the end of the list is reached.

Definition at line 222 of file scannerConnectors.hh.

template<class T>
Joiner<T, 1>* concepts::ListScan< T >::head_ [private]

Pointer to the head of the list.

Definition at line 216 of file scannerConnectors.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)