#ifdef __cplusplus extern "C" { #endif #include "HROOTType.h" #include "HROOTDeletable.h" #undef ROOT_TATTAXIS_DECLARATIONVIRT #define ROOT_TATTAXIS_DECLARATIONVIRT(Type) \ int Type ## _GetNdivisions ( Type ## _p p ); \ int Type ## _GetAxisColor ( Type ## _p p ); \ int Type ## _GetLabelColor ( Type ## _p p ); \ int Type ## _GetLabelFont ( Type ## _p p ); \ double Type ## _GetLabelOffset ( Type ## _p p ); \ double Type ## _GetLabelSize ( Type ## _p p ); \ double Type ## _GetTitleOffset ( Type ## _p p ); \ double Type ## _GetTitleSize ( Type ## _p p ); \ double Type ## _GetTickLength ( Type ## _p p ); \ int Type ## _GetTitleFont ( Type ## _p p ); \ void Type ## _SetNdivisions ( Type ## _p p, int n, int optim ); \ void Type ## _SetAxisColor ( Type ## _p p, int color ); \ void Type ## _SetLabelColor ( Type ## _p p, int color ); \ void Type ## _SetLabelFont ( Type ## _p p, int font ); \ void Type ## _SetLabelOffset ( Type ## _p p, double offset ); \ void Type ## _SetLabelSize ( Type ## _p p, double size ); \ void Type ## _SetTickLength ( Type ## _p p, double length ); \ void Type ## _SetTitleOffset ( Type ## _p p, double offset ); \ void Type ## _SetTitleSize ( Type ## _p p, double size ); \ void Type ## _SetTitleColor ( Type ## _p p, int color ); \ void Type ## _SetTitleFont ( Type ## _p p, int font ) #undef ROOT_TATTAXIS_DECLARATIONNONVIRT #define ROOT_TATTAXIS_DECLARATIONNONVIRT(Type) \ Type ## _p Type ## _newTAttAxis ( ) #undef ROOT_TATTAXIS_DEFINITIONVIRT #define ROOT_TATTAXIS_DEFINITIONVIRT(Type)\ int Type ## _GetNdivisions ( Type ## _p p )\ {\ return to_nonconst(p)->GetNdivisions();\ }\ int Type ## _GetAxisColor ( Type ## _p p )\ {\ return to_nonconst(p)->GetAxisColor();\ }\ int Type ## _GetLabelColor ( Type ## _p p )\ {\ return to_nonconst(p)->GetLabelColor();\ }\ int Type ## _GetLabelFont ( Type ## _p p )\ {\ return to_nonconst(p)->GetLabelFont();\ }\ double Type ## _GetLabelOffset ( Type ## _p p )\ {\ return to_nonconst(p)->GetLabelOffset();\ }\ double Type ## _GetLabelSize ( Type ## _p p )\ {\ return to_nonconst(p)->GetLabelSize();\ }\ double Type ## _GetTitleOffset ( Type ## _p p )\ {\ return to_nonconst(p)->GetTitleOffset();\ }\ double Type ## _GetTitleSize ( Type ## _p p )\ {\ return to_nonconst(p)->GetTitleSize();\ }\ double Type ## _GetTickLength ( Type ## _p p )\ {\ return to_nonconst(p)->GetTickLength();\ }\ int Type ## _GetTitleFont ( Type ## _p p )\ {\ return to_nonconst(p)->GetTitleFont();\ }\ void Type ## _SetNdivisions ( Type ## _p p, int n, int optim )\ {\ to_nonconst(p)->SetNdivisions(n, optim);\ }\ void Type ## _SetAxisColor ( Type ## _p p, int color )\ {\ to_nonconst(p)->SetAxisColor(color);\ }\ void Type ## _SetLabelColor ( Type ## _p p, int color )\ {\ to_nonconst(p)->SetLabelColor(color);\ }\ void Type ## _SetLabelFont ( Type ## _p p, int font )\ {\ to_nonconst(p)->SetLabelFont(font);\ }\ void Type ## _SetLabelOffset ( Type ## _p p, double offset )\ {\ to_nonconst(p)->SetLabelOffset(offset);\ }\ void Type ## _SetLabelSize ( Type ## _p p, double size )\ {\ to_nonconst(p)->SetLabelSize(size);\ }\ void Type ## _SetTickLength ( Type ## _p p, double length )\ {\ to_nonconst(p)->SetTickLength(length);\ }\ void Type ## _SetTitleOffset ( Type ## _p p, double offset )\ {\ to_nonconst(p)->SetTitleOffset(offset);\ }\ void Type ## _SetTitleSize ( Type ## _p p, double size )\ {\ to_nonconst(p)->SetTitleSize(size);\ }\ void Type ## _SetTitleColor ( Type ## _p p, int color )\ {\ to_nonconst(p)->SetTitleColor(color);\ }\ void Type ## _SetTitleFont ( Type ## _p p, int font )\ {\ to_nonconst(p)->SetTitleFont(font);\ } #undef ROOT_TATTAXIS_DEFINITIONNONVIRT #define ROOT_TATTAXIS_DEFINITIONNONVIRT(Type)\ Type ## _p Type ## _newTAttAxis ( )\ {\ Type * newp = new Type (); \ return to_nonconst(newp);\ } ROOT_DELETABLE_DECLARATIONVIRT(TAttAxis); ROOT_TATTAXIS_DECLARATIONVIRT(TAttAxis); ROOT_TATTAXIS_DECLARATIONNONVIRT(TAttAxis); #ifdef __cplusplus } #endif