Go to the documentation of this file.
33 #ifndef GOOGLE_PROTOBUF_PYTHON_CPP_SCOPED_PYOBJECT_PTR_H__
34 #define GOOGLE_PROTOBUF_PYTHON_CPP_SCOPED_PYOBJECT_PTR_H__
45 template <
typename PyObjectStruct>
76 PyObjectStruct*
get()
const {
return ptr_; }
100 #endif // GOOGLE_PROTOBUF_PYTHON_CPP_SCOPED_PYOBJECT_PTR_H__
PyObjectStruct * reset(PyObjectStruct *p=NULL)
PyObjectStruct * get() const
bool operator!=(const PyObjectStruct *p) const
PyObjectStruct * release()
PyObject * as_pyobject() const
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ScopedPythonPtr)
bool operator==(const PyObjectStruct *p) const
ScopedPythonPtr(PyObjectStruct *py_object=NULL)
ScopedPythonPtr< PyObject > ScopedPyObjectPtr
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58