55ContainerImplBase::ContainerImplBase(
bool readOnly):
61const std::string ContainerImplBase::repr()
const
66 const TPyObjPtr rep(PyObject_Repr(obj.get()));
68 if (pyGetSimpleObject(rep.get(), result) != 0)
70 impl::fetchAndThrowPythonException(LASS_PRETTY_FUNCTION);
76bool ContainerImplBase::isReadOnly()
const
82bool ContainerImplBase::checkWritable()
const
87 PyErr_SetString(PyExc_TypeError,
"Container is read-only");
PyObjectPtr< PyObject >::Type TPyObjPtr
PyObjectPtr to a PyObject.
Comprehensive C++ to Python binding library.
Library for Assembled Shared Sources.