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

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

Scanner for a STL container std::vector of pointers. More...

#include <scannerConnectors.hh>

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

List of all members.

Public Member Functions

PStlVectorScan< 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.
 PStlVectorScan (typename std::vector< T * >::iterator first, typename std::vector< T * >::const_iterator last)
 PStlVectorScan (const PStlVectorScan< T > &scan)
 PStlVectorScan (typename std::vector< T * > &v)

Private Attributes

std::vector< T * >::iterator i_
std::vector< T * >::const_iterator last_

Detailed Description

template<class T>
class concepts::PStlVectorScan< T >

Scanner for a STL container std::vector of pointers.

Definition at line 255 of file scannerConnectors.hh.


Constructor & Destructor Documentation

template<class T>
concepts::PStlVectorScan< T >::PStlVectorScan ( typename std::vector< T * > &  v) [inline]

Definition at line 257 of file scannerConnectors.hh.

template<class T>
concepts::PStlVectorScan< T >::PStlVectorScan ( typename std::vector< T * >::iterator  first,
typename std::vector< T * >::const_iterator  last 
) [inline]

Definition at line 259 of file scannerConnectors.hh.

template<class T>
concepts::PStlVectorScan< T >::PStlVectorScan ( const PStlVectorScan< T > &  scan) [inline]

Definition at line 262 of file scannerConnectors.hh.


Member Function Documentation

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

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 266 of file scannerConnectors.hh.

Here is the call graph for this function:

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

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

Implements concepts::Scan< T >.

Definition at line 264 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::PStlVectorScan< T >::operator++ ( int  ) [inline, virtual]

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 265 of file scannerConnectors.hh.


Member Data Documentation

template<class T>
std::vector<T*>::iterator concepts::PStlVectorScan< T >::i_ [private]

Definition at line 268 of file scannerConnectors.hh.

template<class T>
std::vector<T*>::const_iterator concepts::PStlVectorScan< T >::last_ [private]

Definition at line 269 of file scannerConnectors.hh.


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

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