 |
VTK
9.0.1
|
Go to the documentation of this file.
26 #ifndef vtkBufferedArchiver_h
27 #define vtkBufferedArchiver_h
29 #include "vtkCommonArchiveModule.h"
const void * GetBufferAddress()
Access the address of the buffer.
std::size_t GetAllocatedSize()
~vtkBufferedArchiver() override
void CloseArchive() override
Close the arhive.
void SetAllocatedSize(std::size_t)
Set/Get the allocated buffer size.
Writes an archive to a buffer for vtk-js datasets.
bool Contains(const std::string &relativePath) override
Checks if relativePath represents an entry in the archive.
std::size_t GetBufferSize()
Get the buffer used size.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
static vtkBufferedArchiver * New()
const char * GetBuffer()
Access the buffer.
void OpenArchive() override
Open the arhive for writing.
void InsertIntoArchive(const std::string &relativePath, const char *data, std::size_t size) override
Insert data of size size into the archive at relativePath.