| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | Private Attributes | List of all members
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 18 of file CallbackStreamBuf.h.

## Constructor & Destructor Documentation

## ◆ PyObject_t()

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

Definition at line 22 of file CallbackStreamBuf.h.

22 : m_obj( obj ) {
23 if ( m_obj ) Py_INCREF( m_obj );
24 }
GaudiPython::CallbackStreamBuf::PyObject_t::m_obj
PyObject * m_obj
Definition: CallbackStreamBuf.h:19

## ◆ ~PyObject_t()

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

Definition at line 25 of file CallbackStreamBuf.h.

25 {
26 if ( m_obj ) Py_DECREF( m_obj );
27 }
GaudiPython::CallbackStreamBuf::PyObject_t::m_obj
PyObject * m_obj
Definition: CallbackStreamBuf.h:19

## Member Function Documentation

## ◆ get()

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

Definition at line 28 of file CallbackStreamBuf.h.

28 { return m_obj; }
GaudiPython::CallbackStreamBuf::PyObject_t::m_obj
PyObject * m_obj
Definition: CallbackStreamBuf.h:19

## Member Data Documentation

## ◆ m_obj

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

Definition at line 19 of file CallbackStreamBuf.h.

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

- GaudiPython/GaudiPython/CallbackStreamBuf.h