18#ifndef vtkPartitionedArchiver_h 
   19#define vtkPartitionedArchiver_h 
   21#include "vtkCommonArchiveModule.h"  
   25VTK_ABI_NAMESPACE_BEGIN
 
   52    const std::string& relativePath, 
const char* data, std::size_t size) 
override;
 
   59  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 archive 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 archive.
 
static vtkPartitionedArchiver * New()