#ifdef __cplusplus extern "C" { #endif #pragma once #include "HROOT-grafType.h" #include "HROOTHistTGraph.h" #include "HROOTCoreTNamed.h" #include "HROOTCoreTAttLine.h" #include "HROOTCoreTAttFill.h" #include "HROOTCoreTAttMarker.h" #include "HROOTCoreTObject.h" #include "STDDeletable.h" #include "HROOT-histType.h" #define TCUTG_DECL_VIRT(Type) \ #define TCUTG_DECL_NONVIRT(Type) \ Type##_p Type##_newTCutG ( const char* name, int n, double* x, double* y ); #define TCUTG_DECL_ACCESSOR(Type) \ #define TCUTG_DEF_VIRT(Type) \ #define TCUTG_DEF_NONVIRT(Type) \ Type##_p Type##_newTCutG ( const char* name, int n, double* x, double* y ) {\ Type* newp=new Type(name, n, x, y);return from_nonconst_to_nonconst(newp);\ } #define TCUTG_DEF_ACCESSOR(Type) \ TGRAPH_DECL_VIRT(TCutG) TNAMED_DECL_VIRT(TCutG) TATTLINE_DECL_VIRT(TCutG) TATTFILL_DECL_VIRT(TCutG) TATTMARKER_DECL_VIRT(TCutG) TOBJECT_DECL_VIRT(TCutG) DELETABLE_DECL_VIRT(TCutG) TCUTG_DECL_VIRT(TCutG) TCUTG_DECL_NONVIRT(TCutG) TCUTG_DECL_ACCESSOR(TCutG) #ifdef __cplusplus } #endif