{
class YACSRUNTIMESALOME_EXPORT PythonEntry
{
+ public:
+ static bool IsProxy( PyObject *ob );
+ /*! return true only if ob is a proxy and destroy flag set to true*/
+ static bool GetDestroyStatus( PyObject *ob );
+ static void DoNotTouchFileIfProxy( PyObject *ob );
+ static void UnlinkOnDestructorIfProxy( PyObject *ob );
+ static void IfProxyDoSomething( PyObject *ob, const char *meth );
protected:
PythonEntry();
~PythonEntry();
PyObject *_pyfuncSer;
PyObject *_pyfuncUnser;
PyObject *_pyfuncSimpleSer;
+ static PyObject *_pyClsBigObject;
std::string _imposedResource;
std::string _imposedContainer;
public:
void setSqueezeStatus(bool sqStatus) { _autoSqueeze=sqStatus; }
bool getSqueezeStatus() const { return _autoSqueeze; }
void squeezeMemorySafe();
+ private:
+ void executeLocalInternal(const std::string& codeStr);
protected:
void squeezeMemory();
void squeezeMemoryRemote();