28 #ifndef vtkPythonArchiver_h
29 #define vtkPythonArchiver_h
30 #if !defined(__VTK_WRAP__) || defined(__VTK_WRAP_HIERARCHY__) || defined(__VTK_WRAP_PYTHON__)
32 #include "vtkPython.h"
35 #include "vtkCommonPythonModule.h"
37 VTK_ABI_NAMESPACE_BEGIN
38 class vtkSmartPyObject;
90 int CheckResult(
const char* method,
const vtkSmartPyObject& res);
virtual void CloseArchive()
Close the archive.
A version of vtkArchiver that can be implemented in Python.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual bool Contains(const std::string &relativePath)
Checks if relativePath represents an entry in the archive.
virtual void OpenArchive()
Open the archive for writing.
static vtkArchiver * New()
virtual void InsertIntoArchive(const std::string &relativePath, const char *data, std::size_t size)
Insert data of size size into the archive at relativePath.