*/
void InsertText(uchar const *);
void MakeStatic();
+ bool EmptyText(DocId) const;
uchar* GetText(DocId) const;
uchar* GetText(DocId, TextPosition, TextPosition) const;
// full_result is inherited from SXSI::TextCollection.
full_result FullContains(uchar const *) const;
- // TODO implement:
+ // Index from/to disk
void Load(FILE *, unsigned);
- void Save(FILE *);
+ void Save(FILE *) const;
private:
class TCodeEntry {
uchar * BWT(uchar *);
uchar * LoadFromFile(const char *);
void SaveToFile(const char *, uchar *);
+ void makewavelet(uchar *);
void maketables();
// Following are not part of the public API