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