29 #ifndef vtkBufferedArchiver_h
30 #define vtkBufferedArchiver_h
32 #include "vtkCommonArchiveModule.h"
76 const char* GetBuffer();
83 const void* GetBufferAddress();
90 void SetAllocatedSize(std::size_t);
91 std::size_t GetAllocatedSize();
98 std::size_t GetBufferSize();
virtual void CloseArchive()
Close the archive.
Writes an archive to a buffer for vtk-js datasets.
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.