Flow123d  JS_before_hm-1626-gde32303
Public Member Functions | Private Attributes | List of all members
IterConvert< ObjectIn, ObjectOut > Class Template Reference

General iterator template. Provides iterator over objects of type ObjectIn in some container. Same as previous but allows conversion of output to type ObjectOut. More...

#include <general_iterator.hh>

Inheritance diagram for IterConvert< ObjectIn, ObjectOut >:
Inheritance graph
[legend]
Collaboration diagram for IterConvert< ObjectIn, ObjectOut >:
Collaboration graph
[legend]

Public Member Functions

 IterConvert (const ObjectIn &object)
 
const ObjectOut & operator* () const
 
const ObjectOut * operator-> () const
 -> dereference operator More...
 
- Public Member Functions inherited from Iter< ObjectIn >
 Iter (const ObjectIn &object)
 
bool operator== (const Iter &other)
 equal operator More...
 
bool operator!= (const Iter &other)
 non-equal operator More...
 
const ObjectIn & operator* () const
 
const ObjectIn * operator-> () const
 -> dereference operator More...
 
Iteroperator++ ()
 prefix increment More...
 

Private Attributes

ObjectOut out_
 

Additional Inherited Members

- Protected Attributes inherited from Iter< ObjectIn >
ObjectIn object_
 

Detailed Description

template<class ObjectIn, class ObjectOut>
class IterConvert< ObjectIn, ObjectOut >

General iterator template. Provides iterator over objects of type ObjectIn in some container. Same as previous but allows conversion of output to type ObjectOut.

Definition at line 63 of file general_iterator.hh.

Constructor & Destructor Documentation

template<class ObjectIn, class ObjectOut >
IterConvert< ObjectIn, ObjectOut >::IterConvert ( const ObjectIn &  object)
inline

Definition at line 139 of file general_iterator.hh.

Member Function Documentation

template<class ObjectIn , class ObjectOut >
const ObjectOut & IterConvert< ObjectIn, ObjectOut >::operator* ( ) const
inline
  • dereference operator

Definition at line 144 of file general_iterator.hh.

template<class ObjectIn , class ObjectOut >
const ObjectOut * IterConvert< ObjectIn, ObjectOut >::operator-> ( ) const
inline

-> dereference operator

Definition at line 151 of file general_iterator.hh.

Member Data Documentation

template<class ObjectIn, class ObjectOut>
ObjectOut IterConvert< ObjectIn, ObjectOut >::out_
mutableprivate

Definition at line 77 of file general_iterator.hh.


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