Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012

CallbackStreamBuf.h

Go to the documentation of this file.
00001 #ifndef GAUDIPYTHON_CALLBACKSTREAMBUF_H
00002 #define GAUDIPYTHON_CALLBACKSTREAMBUF_H
00003 // ============================================================================
00004 #include <sstream>    //included for stringbuf
00005 // ============================================================================
00006 #include "Python.h"   //included for the python API
00007 // ============================================================================
00008 #include "GaudiPython/GaudiPython.h"
00009 // ============================================================================
00010 
00011 namespace GaudiPython
00012 {
00013   int GAUDI_API call_python_method(PyObject* self, const char* method, char* buf);
00014 
00015   class GAUDI_API CallbackStreamBuf: public std::stringbuf
00016   {
00017     private:
00018       PyObject* m_self;
00019       char* m_callbackBuff;
00020 
00021     public:
00022       CallbackStreamBuf(PyObject* self);
00023       ~CallbackStreamBuf();
00024       virtual int sync() ;
00025   }; //CallbackStreamBuf
00026 
00027 } //namespace GaudiPython
00028 
00029 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:27 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004