Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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 
38 namespace ogdf {
39 class UMLGraph;
40 
45 public:
48 
49  virtual ~UMLLayoutModule() { }
50 
57  virtual void call(UMLGraph& umlGraph) = 0;
58 
64  void operator()(UMLGraph& umlGraph) { call(umlGraph); }
65 
67 };
68 
69 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::UMLLayoutModule::operator()
void operator()(UMLGraph &umlGraph)
Computes a layout of UML graph umlGraph.
Definition: UMLLayoutModule.h:64
ogdf::UMLLayoutModule::UMLLayoutModule
UMLLayoutModule()
Initializes a UML layout module.
Definition: UMLLayoutModule.h:47
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:92
ogdf::UMLLayoutModule
Interface of UML layout algorithms.
Definition: UMLLayoutModule.h:44
ogdf::UMLGraph
Definition: UMLGraph.h:48
ogdf::UMLLayoutModule::~UMLLayoutModule
virtual ~UMLLayoutModule()
Definition: UMLLayoutModule.h:49
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
memory.h
Declaration of memory manager for allocating small pieces of memory.