OGDF-1.0.0.0: csrc/OGDFDPoint.cpp
#include "MacroPatternMatch.h" #include "STDDeletable.h" #include "ogdf/basic/geometry.h" #include "OGDFDPoint.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(DPoint) DPOINT_DEF_VIRT(DPoint) DPOINT_DEF_NONVIRT(DPoint) DPOINT_DEF_ACCESSOR(DPoint)