1
Fork 0
turbonss/cxxmph/mph_table.h

17 lines
393 B
C
Raw Normal View History

#include "mph_index.h"
// String to string map working on mmap'ed memory
2010-06-28 22:01:18 +03:00
class MPHTable {
public:
typedef StringPiece key_type;
typedef StringPiece data_type;
typedef std::pair<StringPiece, StringPiece> value_type;
template <class ForwardIterator>
2010-09-10 10:07:06 +03:00
bool Reset(ForwardIterator begin, ForwardIterator end);
2010-06-28 22:01:18 +03:00
private:
char* data_;
vector<uint64_t> offsets_;
MPHIndex index_;
2010-11-05 08:40:15 +02:00
};