#ifndef ROOT_TPyDispatcher
#define ROOT_TPyDispatcher
#ifndef ROOT_TObject
#include "TObject.h"
#endif
struct _object;
typedef _object PyObject;
class TPyDispatcher : public TObject {
public:
TPyDispatcher( PyObject* callable );
TPyDispatcher( const TPyDispatcher& );
TPyDispatcher& operator=( const TPyDispatcher& );
~TPyDispatcher();
public:
#ifndef __CINT__
PyObject* DispatchVA( const char* format = 0, ... );
#else
PyObject* DispatchVA( const char* format, ... );
#endif
PyObject* Dispatch() { return DispatchVA( 0 ); }
PyObject* Dispatch( const char* param ) { return DispatchVA( "s", param ); }
PyObject* Dispatch( Double_t param ) { return DispatchVA( "d", param ); }
PyObject* Dispatch( Long_t param ) { return DispatchVA( "l", param ); }
PyObject* Dispatch( Long64_t param ) { return DispatchVA( "L", param ); }
ClassDef( TPyDispatcher, 1 );
private:
PyObject* fCallable;
};
#endif
Last change: Wed Jun 25 08:51:34 2008
Last generated: 2008-06-25 08:51
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.