22 #ifndef _BINARYINDEX_HPP_ 23 #define _BINARYINDEX_HPP_ 44 virtual void create(std::vector<Entry>& entries);
45 virtual size_t size()
const;
46 virtual EntryPtr find(
const std::string&
id)
const;
47 virtual EntryPtr find(
size_t index)
const;
51 boost::shared_ptr<Impl>
impl_;
59 #endif // _BINARYINDEX_HPP_
boost::shared_ptr< Impl > impl_
boost::shared_ptr< Entry > EntryPtr
index implementation in a stream (intended for fstreams but any iostream works); find(string id) is O...
generic interface for creating and using an index on a stream of serialized objects ...