Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::ListScan< T > Class Template Reference

#include <scannerConnectors.hh>

Inheritance diagram for concepts::ListScan< T >:
concepts::Scan< T >

Public Member Functions

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

Detailed Description

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

Scanner for a list

Definition at line 216 of file scannerConnectors.hh.

Constructor & Destructor Documentation

◆ ListScan()

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

Constructor.

Parameters
cnrReference to the list

Definition at line 229 of file scannerConnectors.hh.

Member Function Documentation

◆ clone()

template<class T >
ListScan< T > * concepts::ListScan< T >::clone ( ) const
inlinevirtual

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 234 of file scannerConnectors.hh.

◆ eos()

template<class T >
bool concepts::ListScan< T >::eos ( ) const
inlinevirtual

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

Implements concepts::Scan< T >.

Definition at line 232 of file scannerConnectors.hh.

◆ operator int()

template<class T >
concepts::Scan< T >::operator int ( )
inlineinherited

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

Definition at line 34 of file scannerConnectors.hh.

◆ operator++()

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 240 of file scannerConnectors.hh.


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