Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
List.h File Reference

Declaration of doubly linked lists and iterators. More...

#include <ogdf/basic/Reverse.h>
#include <ogdf/basic/internal/list_templates.h>
#include <random>

Go to the source code of this file.

Classes

class  ogdf::List< E >
 Doubly linked lists (maintaining the length of the list). More...
 
class  ogdf::ListContainer< E, Master >
 
class  ogdf::ListElement< E >
 Structure for elements of doubly linked lists. More...
 
class  ogdf::ListIteratorBase< E, isConst, isReverse >
 Encapsulates a pointer to a list element. More...
 
class  ogdf::ListPure< E >
 Doubly linked lists. More...
 

Namespaces

namespace  ogdf
 The namespace for all OGDF objects.
 

Typedefs

template<class E >
using ogdf::ListConstIterator = ListIteratorBase< E, true, false >
 
template<class E >
using ogdf::ListConstReverseIterator = ListIteratorBase< E, true, true >
 
template<class E >
using ogdf::ListIterator = ListIteratorBase< E, false, false >
 
template<class E >
using ogdf::ListReverseIterator = ListIteratorBase< E, false, true >
 

Functions

template<class E >
std::ostream & ogdf::operator<< (std::ostream &os, const List< E > &L)
 Prints list L to output stream os.
 
template<class E >
std::ostream & ogdf::operator<< (std::ostream &os, const ListPure< E > &L)
 Prints list L to output stream os.
 
template<class E >
void ogdf::print (std::ostream &os, const List< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim.
 
template<class E >
void ogdf::print (std::ostream &os, const ListPure< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim.
 

Detailed Description

Declaration of doubly linked lists and iterators.

Author
Carsten Gutwenger, Sebastian Leipert, Tilo Wiedera
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 List.h.