strus  0.17
Public Member Functions | List of all members
strus::VectorStorageDumpInterface Class Referenceabstract

Interface for fetching the dump of a strus vector storage. More...

#include <vectorStorageDumpInterface.hpp>

Public Member Functions

virtual ~VectorStorageDumpInterface ()
 Destructor. More...
 
virtual bool nextChunk (const char *&chunk, std::size_t &chunksize)=0
 Fetch the next chunk of the dump. More...
 

Detailed Description

Interface for fetching the dump of a strus vector storage.

Constructor & Destructor Documentation

virtual strus::VectorStorageDumpInterface::~VectorStorageDumpInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual bool strus::VectorStorageDumpInterface::nextChunk ( const char *&  chunk,
std::size_t &  chunksize 
)
pure virtual

Fetch the next chunk of the dump.

Parameters
[out]chunkpointer to the chunk
[out]chunksizesize of the chunk in bytes
Returns
true, if there are more chunks left to return, false if EOF has been reached and no chunk is returned

The documentation for this class was generated from the following file: