7 #ifndef CHECKSUMINDEXOUTPUT_H
8 #define CHECKSUMINDEXOUTPUT_H
10 #include <boost/crc.hpp>
31 virtual void writeByte(uint8_t b);
37 virtual void writeBytes(
const uint8_t* b, int32_t offset, int32_t length);
40 int64_t getChecksum();
50 virtual int64_t getFilePointer();
54 virtual void seek(int64_t pos);
65 virtual int64_t length();
boost::shared_ptr< IndexOutput > IndexOutputPtr
Definition: LuceneTypes.h:494
boost::crc_32_type checksum
Definition: ChecksumIndexOutput.h:26
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
Abstract base class for output to a file in a Directory. A random-access output stream. Used for all Lucene index output operations.
Definition: IndexOutput.h:18
Writes bytes through to a primary IndexOutput, computing checksum. Note that you cannot use seek()...
Definition: ChecksumIndexOutput.h:17