MCPcopy Create free account
hub / github.com/Kitware/VTK / OpenArchive

Method OpenArchive

Common/Python/vtkPythonArchiver.cxx:110–123  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

108
109//------------------------------------------------------------------------------
110void vtkPythonArchiver::OpenArchive()
111{
112 vtkPythonScopeGilEnsurer gilEnsurer;
113 const char* mname = "OpenArchive";
114 VTK_GET_METHOD(method, this->Object, mname, )
115
116 PyObject* vtkself = VTKToPython(this);
117 vtkSmartPyObject args(PyTuple_Pack(1, vtkself));
118 Py_DECREF(vtkself);
119
120 vtkSmartPyObject result(PyObject_Call(method, args, nullptr));
121
122 CheckResult(mname, result);
123}
124
125//------------------------------------------------------------------------------
126void vtkPythonArchiver::CloseArchive()

Callers

nothing calls this directly

Calls 2

VTKToPythonFunction · 0.70
CheckResultFunction · 0.50

Tested by

no test coverage detected