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();
virtual void CloseArchive()
Close the arhive.
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 arhive 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.