 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkBufferedArchiver_h
27 #define vtkBufferedArchiver_h
29 #include "vtkCommonArchiveModule.h"
73 const char* GetBuffer();
80 const void* GetBufferAddress();
87 void SetAllocatedSize(std::size_t);
88 std::size_t GetAllocatedSize();
95 std::size_t GetBufferSize();
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.
virtual void CloseArchive()
Close the arhive.
Writes an archive to a buffer for vtk-js datasets.
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.