Class documentation of Concepts

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

#include <scannerConnectors.hh>

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

Public Member Functions

 ArrayScan (Array< T > &container)
 
 ArrayScan (const ArrayScan &scan)
 
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.
 
Scan< T > * clone () 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::ArrayScan< T >

Scanner for an Array

See also
Array

Definition at line 333 of file scannerConnectors.hh.

Constructor & Destructor Documentation

◆ ArrayScan() [1/2]

template<class T >
concepts::ArrayScan< T >::ArrayScan ( Array< T > &  container)
inline

Definition at line 335 of file scannerConnectors.hh.

◆ ArrayScan() [2/2]

template<class T >
concepts::ArrayScan< T >::ArrayScan ( const ArrayScan< T > &  scan)
inline

Definition at line 337 of file scannerConnectors.hh.

Member Function Documentation

◆ clone()

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

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 341 of file scannerConnectors.hh.

◆ eos()

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

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

Implements concepts::Scan< T >.

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

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 340 of file scannerConnectors.hh.


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