11#ifndef LIMA_COMMON_ABSTRACTACCESBYSTRING_H
12#define LIMA_COMMON_ABSTRACTACCESBYSTRING_H
53 virtual std::pair<AccessSubWordIterator,AccessSubWordIterator>
64 virtual std::pair<AccessSuperWordIterator,AccessSuperWordIterator>
define abstract interface for access method
virtual ~AbstractAccessByString()
virtual uint64_t getIndex(const Lima::LimaString &word) const =0
get key index
virtual uint64_t getSize() const =0
gives the number of entries
virtual Lima::LimaString getSpelling(const uint64_t index) const =0
get string from index
virtual std::pair< AccessSubWordIterator, AccessSubWordIterator > getSubWords(const uint64_t offset, const Lima::LimaString &word) const =0
get subwords from a string A subword is a word in the key string that begin at the given offset.
virtual std::pair< AccessSuperWordIterator, AccessSuperWordIterator > getSuperWords(const Lima::LimaString &word) const =0
get superWords from a string A superword entry is an entry that begins with the given key