#ifdef __cplusplus extern "C" { #endif #pragma once #include "HROOT-grafType.h" #include "HROOTGrafTLine.h" #include "HROOTCoreTAttFill.h" #include "HROOTCoreTObject.h" #include "HROOTCoreTAttLine.h" #include "STDDeletable.h" #include "HROOT-coreType.h" #define TARROW_DECL_VIRT(Type) \ #define TARROW_DECL_NONVIRT(Type) \ Type##_p Type##_newTArrow ( double x1, double y1, double x2, double y2, float arrowsize, const char* option ); #define TARROW_DECL_ACCESSOR(Type) \ #define TARROW_DEF_VIRT(Type) \ #define TARROW_DEF_NONVIRT(Type) \ Type##_p Type##_newTArrow ( double x1, double y1, double x2, double y2, float arrowsize, const char* option ) {\ Type* newp=new Type(x1, y1, x2, y2, arrowsize, option);return from_nonconst_to_nonconst(newp);\ } #define TARROW_DEF_ACCESSOR(Type) \ TLINE_DECL_VIRT(TArrow) TATTFILL_DECL_VIRT(TArrow) TOBJECT_DECL_VIRT(TArrow) TATTLINE_DECL_VIRT(TArrow) DELETABLE_DECL_VIRT(TArrow) TARROW_DECL_VIRT(TArrow) TARROW_DECL_NONVIRT(TArrow) TARROW_DECL_ACCESSOR(TArrow) #ifdef __cplusplus } #endif