#include <SALOMESDS_Auto.hxx>
Public Member Functions | |
AutoPyRef (PyObject *pyobj=nullptr) | |
~AutoPyRef () | |
AutoPyRef (const AutoPyRef &other) | |
AutoPyRef (AutoPyRef &&other) | |
AutoPyRef & | operator= (const AutoPyRef &other) |
AutoPyRef & | operator= (AutoPyRef &&other) |
operator PyObject * () | |
void | set (PyObject *pyobj) |
PyObject * | get () |
bool | isNull () const |
PyObject * | retn () |
Private Member Functions | |
void | release () |
Private Attributes | |
PyObject * | _pyobj |
SALOME::AutoPyRef::AutoPyRef | ( | PyObject * | pyobj = nullptr | ) |
SALOME::AutoPyRef::~AutoPyRef | ( | ) |
References release().
SALOME::AutoPyRef::AutoPyRef | ( | AutoPyRef && | other | ) |
PyObject* SALOME::AutoPyRef::get | ( | ) |
References _pyobj.
Referenced by SALOME_PyNode.BigObjectOnDiskBase::__float__(), SALOME_PyNode.BigObjectOnDiskListElement::__getitem__(), SALOME_PyNode.BigObjectOnDiskBase::__int__(), SALOME_PyNode.BigObjectOnDiskListElement::__len__(), SALOME_PyNode.BigObjectOnDiskBase::__str__(), KERNEL_PY.salome_notebook.NoteBook::check(), SALOMESDS::Sha1Keeper::checkSame(), KERNEL_PY.salome_notebook.NoteBook::get(), SALOMESDS::DataScopeServerBase::getValueOfVarWithTypeDict(), and KERNEL_PY.salome_notebook.NoteBook::setAs().
bool SALOME::AutoPyRef::isNull | ( | ) | const |
References _pyobj.
Referenced by SALOMESDS::Sha1Keeper::checkSame(), and SALOMESDS::DataScopeServerTransaction::createRdExtVarFreeStyleInternal().
SALOME::AutoPyRef::operator PyObject * | ( | ) |
References _pyobj.
|
private |
References _pyobj.
Referenced by operator=(), set(), and ~AutoPyRef().
PyObject* SALOME::AutoPyRef::retn | ( | ) |
References _pyobj.
|
private |
Referenced by AutoPyRef(), get(), isNull(), operator PyObject *(), operator=(), release(), retn(), and set().