Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
UMLLayoutModule.h
Go to the documentation of this file.
1
33#pragma once
34
35#include <ogdf/basic/basic.h>
36#include <ogdf/basic/memory.h>
37
38namespace ogdf {
39class UMLGraph;
40
45public:
48
49 virtual ~UMLLayoutModule() { }
50
57 virtual void call(UMLGraph& umlGraph) = 0;
58
64 void operator()(UMLGraph& umlGraph) { call(umlGraph); }
65
67};
68
69}
Basic declarations, included by all source files.
Interface of UML layout algorithms.
UMLLayoutModule()
Initializes a UML layout module.
void operator()(UMLGraph &umlGraph)
Computes a layout of UML graph umlGraph.
virtual void call(UMLGraph &umlGraph)=0
Computes a layout of UML graph umlGraph.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition memory.h:92
Declaration of memory manager for allocating small pieces of memory.
The namespace for all OGDF objects.