5 // 5 January 2007 -- tds
8 #ifndef GALAGO_DOCUMENTNAMEREADER_HPP
9 #define GALAGO_DOCUMENTNAMEREADER_HPP
13 #include "indri/indri-platform.h"
14 #include "lemur/RVLCompress.hpp"
15 #include "indri/RVLDecompressStream.hpp"
16 #include "indri/File.hpp"
17 #include "UncompressedRead.hpp"
19 class DocumentNameReader
{
25 std::vector
<int> footers
;
28 std::vector
<NameSlot
> _slots
;
32 void getInSlot( std::string
& result
, const NameSlot
& slot
, int footerIndex
) const;
33 std::string
operator[] ( int index
) const;
34 std::string
get( int index
) const;
35 void read( const std::string
& filename
);
38 #endif // GALAGO_DOCUMENTNAMEREADER_HPP