The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
GaudiPython::CallbackStreamBuf::PyObject_t Class Reference

Public Member Functions

 PyObject_t (PyObject *obj=nullptr)
 ~PyObject_t ()
PyObject * get ()

Private Attributes

PyObject * m_obj

Detailed Description

Definition at line 27 of file CallbackStreamBuf.h.

Constructor & Destructor Documentation

◆ PyObject_t()

GaudiPython::CallbackStreamBuf::PyObject_t::PyObject_t ( PyObject * obj = nullptr)
inline

Definition at line 31 of file CallbackStreamBuf.h.

31 : m_obj( obj ) {
32 if ( m_obj ) Py_INCREF( m_obj );
33 }

◆ ~PyObject_t()

GaudiPython::CallbackStreamBuf::PyObject_t::~PyObject_t ( )
inline

Definition at line 34 of file CallbackStreamBuf.h.

34 {
35 if ( m_obj ) Py_DECREF( m_obj );
36 }

Member Function Documentation

◆ get()

PyObject * GaudiPython::CallbackStreamBuf::PyObject_t::get ( )
inline

Definition at line 37 of file CallbackStreamBuf.h.

37{ return m_obj; }

Member Data Documentation

◆ m_obj

PyObject* GaudiPython::CallbackStreamBuf::PyObject_t::m_obj
private

Definition at line 28 of file CallbackStreamBuf.h.


The documentation for this class was generated from the following file: