Class to prepare fingerprint index files See FastSearch class for details. More...
#include <openbabel/fingerprint.h>
Public Member Functions | |
FastSearchIndexer (std::string &datafilename, std::ostream *os, std::string &fpid, int FptBits=0, int nmols=0) | |
FastSearchIndexer (FptIndex *pindex, std::ostream *os, int nmols=0) | |
~FastSearchIndexer () | |
bool | Add (OBBase *pOb, std::streampos seekpos) |
Class to prepare fingerprint index files See FastSearch class for details.
FastSearchIndexer | ( | std::string & | datafilename, |
std::ostream * | os, | ||
std::string & | fpid, | ||
int | FptBits = 0 , |
||
int | nmols = 0 |
||
) |
Constructor with a new index.
Starts indexing process
FastSearchIndexer | ( | FptIndex * | pindex, |
std::ostream * | os, | ||
int | nmols = 0 |
||
) |
Constructor using existing index.
~FastSearchIndexer | ( | ) |
Saves index file
bool Add | ( | OBBase * | pOb, |
std::streampos | seekpos | ||
) |
Called for each object.
Adds a fingerprint