#ifdef __cplusplus extern "C" { #endif #pragma once #include "HROOT-grafType.h" #include "HROOTGrafTLine.h" #include "HROOTCoreTAttText.h" #include "HROOTCoreTObject.h" #include "HROOTCoreTAttLine.h" #include "STDDeletable.h" #include "HROOT-coreType.h" #define TGAXIS_DECL_VIRT(Type) \ #define TGAXIS_DECL_NONVIRT(Type) \ Type##_p Type##_newTGaxis ( double xmin, double ymin, double xmax, double ymax, double wmin, double wmax, int ndiv, const char* chopt, double gridlength ); #define TGAXIS_DECL_ACCESSOR(Type) \ #define TGAXIS_DEF_VIRT(Type) \ #define TGAXIS_DEF_NONVIRT(Type) \ Type##_p Type##_newTGaxis ( double xmin, double ymin, double xmax, double ymax, double wmin, double wmax, int ndiv, const char* chopt, double gridlength ) {\ Type* newp=new Type(xmin, ymin, xmax, ymax, wmin, wmax, ndiv, chopt, gridlength);return from_nonconst_to_nonconst(newp);\ } #define TGAXIS_DEF_ACCESSOR(Type) \ TLINE_DECL_VIRT(TGaxis) TATTTEXT_DECL_VIRT(TGaxis) TOBJECT_DECL_VIRT(TGaxis) TATTLINE_DECL_VIRT(TGaxis) DELETABLE_DECL_VIRT(TGaxis) TGAXIS_DECL_VIRT(TGaxis) TGAXIS_DECL_NONVIRT(TGaxis) TGAXIS_DECL_ACCESSOR(TGaxis) #ifdef __cplusplus } #endif