Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

abacusroot.h
Go to the documentation of this file.
1 
29 #pragma once
30 
31 #include <ogdf/basic/Logger.h>
32 #include <ogdf/basic/Array.h>
33 #include <ogdf/basic/ArrayBuffer.h>
34 
35 #include <iomanip>
36 #include <sstream>
37 
38 
39 // TODO: just a temporary fix
40 #ifdef _MSC_VER
41 #pragma warning(disable : 4996)
42 #endif
43 
44 
45 #define ABACUS_VERSION 301
46 #define ABACUS_VERSION_STRING "3.0.1/OGDF"
47 
48 #pragma GCC visibility push(default)
49 namespace abacus {
50 
52 using ogdf::ArrayBuffer;
53 using ogdf::Array;
54 using ogdf::Logger;
55 
56 using std::ostream;
57 using std::ostringstream;
58 using std::setw;
59 using std::string;
60 using std::to_string;
61 using std::ws;
62 
64 
70 public:
72 
75  virtual ~AbacusRoot() { }
76 
77 
79 
84  static const char *onOff(bool value);
85 
87 
92  static double fracPart(double x) {
93  return (x >= 0.0) ? x-floor(x) : ceil(x)-x;
94  }
95 
97 
100  static bool ascii2bool(const string &str);
101 
103  static bool endsWith(const string &str, const string &end);
104 };
105 
106 }
107 #pragma GCC visibility pop
ogdf::ArrayBuffer
An array that keeps track of the number of inserted elements; also usable as an efficient stack.
Definition: Array.h:53
ArrayBuffer.h
Declaration and implementation of ArrayBuffer class.
abacus
Definition: ILPClusterPlanarity.h:50
abacus::AbacusRoot::~AbacusRoot
virtual ~AbacusRoot()
The destructor.
Definition: abacusroot.h:75
Logger.h
Contains logging functionality.
ogdf::AlgorithmFailureException
Exception thrown when an algorithm realizes an internal bug that prevents it from continuing.
Definition: exceptions.h:247
abacus::AbacusRoot
Base class of all other classes of ABACUS.
Definition: abacusroot.h:69
ogdf::Array
The parameterized class Array implements dynamic arrays of type E.
Definition: Array.h:219
ogdf::end
HypergraphRegistry< HypernodeElement >::iterator end(const HypergraphRegistry< HypernodeElement > &self)
abacus::AbacusRoot::fracPart
static double fracPart(double x)
Returns the absolute value of the fractional part of x.
Definition: abacusroot.h:92
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition: config.h:117
Array.h
Declaration and implementation of Array class and Array algorithms.
ogdf::Logger
Centralized global and local logging facility working on streams like std::cout.
Definition: Logger.h:102
ogdf::sync_plan::internal::to_string
std::string to_string(const std::function< std::ostream &(std::ostream &)> &func)