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

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

Scanner for a list of pointers. More...

#include <scannerConnectors.hh>

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

List of all members.

Public Member Functions

PListScan< T > * clone () const
 Returns a clone of the scanner.
bool eos () const
 Returns true if the end of the scanned set is reached.
 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.
 PListScan (Joiner< T *, 1 > &cnr)
 Constructor.

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::PListScan< T >

Scanner for a list of pointers.

Definition at line 174 of file scannerConnectors.hh.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
cnrReference to the list

Definition at line 187 of file scannerConnectors.hh.


Member Function Documentation

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

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 192 of file scannerConnectors.hh.

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

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

Implements concepts::Scan< T >.

Definition at line 190 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::PListScan< T >::operator++ ( int  ) [virtual]

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 198 of file scannerConnectors.hh.


Member Data Documentation

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

Pointer to the current element.

Definition at line 179 of file scannerConnectors.hh.

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

Is true if the end of the list is reached.

Definition at line 182 of file scannerConnectors.hh.

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

Pointer to the head of the list.

Definition at line 176 of file scannerConnectors.hh.


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

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