Open
Graph Drawing
Framework

 v.2012.05
 

UMLLayoutModule.h
Go to the documentation of this file.
00001 /*
00002  * $Revision: 2299 $
00003  * 
00004  * last checkin:
00005  *   $Author: gutwenger $ 
00006  *   $Date: 2012-05-07 15:57:08 +0200 (Mon, 07 May 2012) $ 
00007  ***************************************************************/
00008  
00044 #ifdef _MSC_VER
00045 #pragma once
00046 #endif
00047 
00048 #ifndef OGDF_UML_LAYOUT_MODULE_H
00049 #define OGDF_UML_LAYOUT_MODULE_H
00050 
00051 
00052 #include <ogdf/module/LayoutModule.h>
00053 #include <ogdf/basic/UMLGraph.h>
00054 
00055 
00056 namespace ogdf {
00057 
00058 
00062 class OGDF_EXPORT UMLLayoutModule : public LayoutModule
00063 {
00064 public:
00066     UMLLayoutModule() { }
00067 
00068     virtual ~UMLLayoutModule() { }
00069 
00076     virtual void call(UMLGraph &umlGraph) = 0;
00077 
00083     void operator()(UMLGraph &umlGraph) { call(umlGraph); }
00084 
00085     OGDF_MALLOC_NEW_DELETE
00086 };
00087 
00088 
00089 } // end namespace ogdf
00090 
00091 
00092 #endif