17 #ifndef vtkBufferedArchiver_h
18 #define vtkBufferedArchiver_h
20 #include "vtkCommonArchiveModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
65 const char* GetBuffer();
72 const void* GetBufferAddress();
79 void SetAllocatedSize(std::size_t);
80 std::size_t GetAllocatedSize();
87 std::size_t GetBufferSize();
102 VTK_ABI_NAMESPACE_END
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.