OGDF-1.0.0.0: csrc/OGDFGraph.cpp
#include "MacroPatternMatch.h" #include "OGDFNodeElement.h" #include "OGDFEdgeElement.h" #include "STDDeletable.h" #include "ogdf/basic/Graph_d.h" #include "OGDFGraph.h" using namespace ogdf; #define CHECKPROTECT(x,y) FXIS_PAREN(IS_ ## x ## _ ## y ## _PROTECTED) #define TYPECASTMETHOD(cname,mname,oname) \ FXIIF( CHECKPROTECT(cname,mname) ) ( \ (from_nonconst_to_nonconst<oname,cname ## _t>), \ (from_nonconst_to_nonconst<cname,cname ## _t>) ) DELETABLE_DEF_VIRT(Graph) GRAPH_DEF_VIRT(Graph) GRAPH_DEF_NONVIRT(Graph) GRAPH_DEF_ACCESSOR(Graph)