Flow123d  3.9.0-be1f591da
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

◆ IterConvert()

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

◆ operator*()

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

Definition at line 144 of file general_iterator.hh.

◆ operator->()

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

-> dereference operator

Definition at line 151 of file general_iterator.hh.

Member Data Documentation

◆ out_

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: