strus  0.17
storageDumpInterface.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_STORAGE_DUMP_INTERFACE_HPP_INCLUDED
11 #define _STRUS_STORAGE_DUMP_INTERFACE_HPP_INCLUDED
12 #include "strus/index.hpp"
13 #include <string>
14 #include <vector>
15 
16 namespace strus
17 {
18 
21 {
22 public:
25 
30  virtual bool nextChunk( const char*& chunk, std::size_t& chunksize)=0;
31 };
32 }
33 #endif
34 
Interface for fetching the dump of a strus IR storage.
Definition: storageDumpInterface.hpp:20
virtual bool nextChunk(const char *&chunk, std::size_t &chunksize)=0
Fetch the next chunk of the dump.
Numeric types used for local and global indices.
virtual ~StorageDumpInterface()
Destructor.
Definition: storageDumpInterface.hpp:24