Flow123d
release_3.0.0-1192-gc7b86c0
|
Template Iter serves as general template for internal iterators. More...
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) |
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.
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.
Iter<Object> make_iter | ( | Object | obj | ) |
Create iterator from object
Definition at line 73 of file general_iterator.hh.
IterConvert<ObjectIn, ObjectOut> make_iter | ( | ObjectIn | obj | ) |
Create convertible iterator from object
Definition at line 81 of file general_iterator.hh.