Flow123d  JS_before_hm-887-g601087d
Classes | Typedefs | 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  IterConvert< ObjectIn, ObjectOut >
 General iterator template. Provides iterator over objects of type ObjectIn in some container. More...
 

Typedefs

template<class Object >
using Iter = IterConvert< Object, Object >
 General iterator template. 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.

Typedef Documentation

template<class Object >
using Iter = IterConvert<Object, Object>

General iterator template.

Same as previous but doesn't provide specialization of operators '*' and '->'.

Definition at line 66 of file general_iterator.hh.

Function Documentation

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

Create iterator from object

Definition at line 73 of file general_iterator.hh.

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

Create convertible iterator from object

Definition at line 81 of file general_iterator.hh.