Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Reverse.h File Reference

Implementation of the Reverse class for the reverse iteration of containers. More...

#include <utility>

Go to the source code of this file.

Classes

class  ogdf::Reverse< T >
 A wrapper class to easily iterate through a container in reverse. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Functions

template<typename T >
Reverse< T > ogdf::reverse (T &container)
 Provides iterators for container to make it easily iterable in reverse. More...
 

Detailed Description

Implementation of the Reverse class for the reverse iteration of containers.

Author
Tilo Wiedera, Max Ilsen
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
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.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file Reverse.h.