Basic configuration file. More...
#include <ogdf/basic/internal/config_autogen.h>
#include <ogdf/basic/internal/version.h>
#include <sstream>
#include <string>
Go to the source code of this file.
Classes | |
class | ogdf::Configuration |
Provides information about how OGDF has been configured. More... | |
Namespaces | |
ogdf | |
The namespace for all OGDF objects. | |
Macros | |
#define | OGDF_CASE_FALLTHROUGH |
An attribute to mark cases (in switch) that fall through to the next case. More... | |
#define | OGDF_HAS_CPP_ATTRIBUTE(x) 0 |
Important when compiling OGDF as DLL | |
#define | OGDF_EXPORT |
Specifies that a function or class is exported by the OGDF DLL. More... | |
Deprecation | |
#define | OGDF_DEPRECATED(reason) |
Mark a class / member / function as deprecated. More... | |
Macros for locally disabling compiler warnings | |
#define | OGDF_DISABLE_WARNING(warningNumber) |
Disable the warning with the given number of MSVC or name of g++/clang. More... | |
#define | OGDF_DISABLE_WARNING_DEPRECATED |
Disable deprecation warnings. More... | |
#define | OGDF_DISABLE_WARNING_POP |
End the current warning configuration context (i.e. do pragma diagnostic/warning pop ) More... | |
#define | OGDF_DISABLE_WARNING_PUSH |
Start a new warning configuration context (i.e. do pragma diagnostic/warning push ) More... | |
#define | OGDF_DISABLE_WARNING_THROW_TERMINATE |
Disable the warning that calling throw will always terminate the program in a noexept block. More... | |
#define | OGDF_DISABLE_WARNING_UNUSED |
Disable the warning that something is unused. More... | |
Unused results | |
#define | OGDF_NODISCARD |
Indicate that the result of a function call should not be discarded. More... | |
Optimization | |
#define | OGDF_DECL_ALIGN(b) |
Specify the minimum alignment (in bytes) of a type to be b . This is used in type declarations. More... | |
#define | OGDF_LIKELY(x) (x) |
Specify the likely branch in a condition. More... | |
#define | OGDF_UNLIKELY(x) (x) |
Specify the unlikely branch in a condition. More... | |
Functions | |
std::ostream & | ogdf::operator<< (std::ostream &os, Configuration::LPSolver lps) |
Output operator for Configuration::LPSolver (uses Configuration::toString(Configuration::LPSolver)). More... | |
std::ostream & | ogdf::operator<< (std::ostream &os, Configuration::MemoryManager mm) |
Output operator for Configuration::MemoryManager (uses Configuration::toString(Configuration::MemoryManager)). More... | |
std::ostream & | ogdf::operator<< (std::ostream &os, Configuration::System sys) |
Output operator for Configuration::System (uses Configuration::toString(Configuration::System)). More... | |
Basic configuration file.
Definition in file config.h.
#define OGDF_CASE_FALLTHROUGH |
#define OGDF_EXPORT |
Specifies that a function or class is exported by the OGDF DLL.
It is set according to the definition of OGDF_INSTALL (OGDF is build as DLL) and OGDF_DLL (OGDF is used as DLL). If none of these are defined (OGDF is build or used as static library), the define expands to nothing.