Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Logging.h File Reference

Utilities for printing stuff to output streams. More...

#include <ogdf/basic/Graph.h>
#include <ogdf/cluster/sync_plan/utils/Bijection.h>
#include <functional>
#include <iterator>
#include <ostream>
#include <string>
#include <utility>

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::sync_plan
 
 ogdf::sync_plan::internal
 all operators will only be found when using sync_plan::internal, so no namespace pollution
 

Macros

#define OGDF_CONTAINER_PRINTER(NAME)
 

Functions

 ogdf::sync_plan::internal::OGDF_CONTAINER_PRINTER (printBijection)
 
 ogdf::sync_plan::internal::OGDF_CONTAINER_PRINTER (printContainer)
 
 ogdf::sync_plan::internal::OGDF_CONTAINER_PRINTER (printEdges)
 
 ogdf::sync_plan::internal::OGDF_CONTAINER_PRINTER (printFrozenBijection)
 
 ogdf::sync_plan::internal::OGDF_CONTAINER_PRINTER (printIncidentEdges)
 
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const ogdf::ClusterGraph &CG)
 
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const ogdf::Graph &G)
 
template<typename Container >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printBijection< Container > &inst)
 
template<typename Container >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printContainer< Container > &inst)
 
template<typename Container >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printEdges< Container > &inst)
 
template<>
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printEdges< PipeBij > &inst)
 
template<typename Container >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printFrozenBijection< Container > &inst)
 
template<typename Container >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printIncidentEdges< Container > &inst)
 
template<>
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const printIncidentEdges< PipeBij > &inst)
 
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const std::function< std::ostream &(std::ostream &)> &func)
 
template<typename T1 , typename T2 >
std::ostream & ogdf::sync_plan::internal::operator<< (std::ostream &os, const std::pair< T1, T2 > &pair)
 
std::string ogdf::sync_plan::internal::to_string (const std::function< std::ostream &(std::ostream &)> &func)
 

Detailed Description

Utilities for printing stuff to output streams.

Author
Simon D. Fink ogdf@.nosp@m.niko.nosp@m..fink.nosp@m..bay.nosp@m.ern
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 Logging.h.

Macro Definition Documentation

◆ OGDF_CONTAINER_PRINTER

#define OGDF_CONTAINER_PRINTER (   NAME)
Value:
template<typename Container> \
struct NAME { \
const Container& container; \
explicit NAME(const Container& _container) : container(_container) { } \
template<typename ContainerT> \
friend std::ostream& operator<<(std::ostream& os, const NAME<ContainerT>& inst); \
}

Definition at line 46 of file Logging.h.

ogdf::sync_plan::internal::operator<<
std::ostream & operator<<(std::ostream &os, const printFrozenBijection< Container > &inst)
Definition: Logging.h:144