27 #ifndef vtkPartitionedArchiver_h
28 #define vtkPartitionedArchiver_h
30 #include "vtkCommonArchiveModule.h"
a simple class to control print indentation
Writes an archive to several buffers.
std::size_t GetNumberOfBuffers()
Get the number of buffers in the archive.
std::size_t GetBufferSize(const char *relativePath)
Get the buffer used size.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPartitionedArchiver * New()
void OpenArchive() override
Open the arhive for writing.
const char * GetBufferName(std::size_t i)
Get the name of buffer i.
~vtkPartitionedArchiver() override
void InsertIntoArchive(const std::string &relativePath, const char *data, std::size_t size) override
Insert data of size size into the archive at relativePath.
const char * GetBuffer(const char *relativePath)
Access the buffer.
bool Contains(const std::string &relativePath) override
Checks if relativePath represents an entry in the archive.
const void * GetBufferAddress(const char *relativePath)
Access the address of the buffer.
void CloseArchive() override
Close the arhive.