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

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

#include <storageDumpInterface.hpp>

Public Member Functions

virtual ~StorageDumpInterface ()
 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 IR storage.

Constructor & Destructor Documentation

virtual strus::StorageDumpInterface::~StorageDumpInterface ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual bool strus::StorageDumpInterface::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: