Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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

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

Go to the source code of this file.

Classes

class  ogdf::SList< E >
 Singly linked lists (maintaining the length of the list). More...
 
class  ogdf::SListElement< E >
 Structure for elements of singly linked lists. More...
 
class  ogdf::SListIteratorBase< E, isConst >
 Encapsulates a pointer to an ogdf::SList element. More...
 
class  ogdf::SListPure< E >
 Singly linked lists. More...
 

Namespaces

namespace  ogdf
 The namespace for all OGDF objects.
 

Typedefs

template<class E >
using ogdf::SListConstIterator = SListIteratorBase< E, true >
 
template<class E >
using ogdf::SListIterator = SListIteratorBase< E, false >
 

Functions

template<class E >
void ogdf::bucketSort (Array< E > &a, int min, int max, BucketFunc< E > &f)
 Bucket-sort array a using bucket assignment f; the values of f must be in the interval [min,max].
 
template<class E >
std::ostream & ogdf::operator<< (std::ostream &os, const SList< E > &L)
 Output operator.
 
template<class E >
std::ostream & ogdf::operator<< (std::ostream &os, const SListPure< E > &L)
 Output operator.
 
template<class E >
void ogdf::print (std::ostream &os, const SList< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim.
 
template<class E >
void ogdf::print (std::ostream &os, const SListPure< E > &L, char delim=' ')
 Prints list L to output stream os using delimiter delim.
 

Detailed Description

Declaration of singly linked lists and iterators.

Author
Carsten Gutwenger, 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 SList.h.