Class documentation of Concepts

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

#include <scannerConnectors.hh>

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

Public Member Functions

 SingletonScan (T &singleton)
 
 SingletonScan (const SingletonScan &other)
 
bool eos () const
 Returns true if the end of the scanned set is reached.
 
T & operator++ (int)
 Returns the next element in the scanned set.
 
SingletonScanclone () const
 Returns a clone of the scanner.
 
 operator int ()
 Returns true as long as the end of the scanned set is not reached yet.
 

Detailed Description

template<class T>
class concepts::SingletonScan< T >

A scanner over a single element

Definition at line 352 of file scannerConnectors.hh.

Constructor & Destructor Documentation

◆ SingletonScan() [1/2]

template<class T >
concepts::SingletonScan< T >::SingletonScan ( T &  singleton)
inline

Definition at line 354 of file scannerConnectors.hh.

◆ SingletonScan() [2/2]

template<class T >
concepts::SingletonScan< T >::SingletonScan ( const SingletonScan< T > &  other)
inline

Definition at line 357 of file scannerConnectors.hh.

Member Function Documentation

◆ clone()

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

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 368 of file scannerConnectors.hh.

◆ eos()

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

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

Implements concepts::Scan< T >.

Definition at line 360 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::SingletonScan< T >::operator++ ( int  )
inlinevirtual

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 362 of file scannerConnectors.hh.


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