Flow123d  JS_before_hm-1804-gf2ad740aa
Classes | Functions
general_iterator.hh File Reference

Template Iter serves as general template for internal iterators. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Iter< Object >
 General iterator template. Provides iterator over objects of type Object in some container. More...
 
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. More...
 

Functions

template<class Object >
Iter< Object > make_iter (Object obj)
 
template<class ObjectIn , class ObjectOut >
IterConvert< ObjectIn, ObjectOut > make_iter (ObjectIn obj)
 

Detailed Description

Template Iter serves as general template for internal iterators.

 * Copyright (C) 2015 Technical University of Liberec. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Definition in file general_iterator.hh.

Function Documentation

◆ make_iter() [1/2]

template<class Object >
Iter<Object> make_iter ( Object  obj)

Create iterator from object

Definition at line 85 of file general_iterator.hh.

◆ make_iter() [2/2]

template<class ObjectIn , class ObjectOut >
IterConvert<ObjectIn, ObjectOut> make_iter ( ObjectIn  obj)

Create convertible iterator from object

Definition at line 93 of file general_iterator.hh.