27#ifndef vtkPartitionedArchiver_h
28#define vtkPartitionedArchiver_h
30#include "vtkCommonArchiveModule.h"
60 const std::string& relativePath,
const char* data, std::size_t size)
override;
67 bool Contains(
const std::string& relativePath)
override;
a simple class to control print indentation
Writes an archive to several buffers.
const char * GetBufferName(std::size_t i)
Get the name of buffer i.
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.
const char * GetBuffer(const char *relativePath)
Access the buffer.
void OpenArchive() override
Open the arhive for writing.
~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 void * GetBufferAddress(const char *relativePath)
Access the address of the buffer.
bool Contains(const std::string &relativePath) override
Checks if relativePath represents an entry in the archive.
void CloseArchive() override
Close the arhive.
static vtkPartitionedArchiver * New()