HROOT-hist-0.9: csrc/HROOTHistTFitResultPtr.cpp
#include <MacroPatternMatch.h> #include "HROOTHistTFitResult.h" #include "TFitResultPtr.h" #include "HROOTHistTFitResultPtr.h" #define CHECKPROTECT(x,y) IS_PAREN(IS_ ## x ## _ ## y ## _PROTECTED) #define TYPECASTMETHOD(cname,mname,oname) \ IIF( CHECKPROTECT(cname,mname) ) ( \ (to_nonconst<oname,cname ## _t>), \ (to_nonconst<cname,cname ## _t>) ) TFITRESULTPTR_DEF_VIRT(TFitResultPtr) TFITRESULTPTR_DEF_NONVIRT(TFitResultPtr)