Open Babel: FastSearchIndexer Class Reference

Public Member Functions

# FastSearchIndexer Class Reference

Class to prepare fingerprint index files See FastSearch class for details. More...

`#include <openbabel/fingerprint.h>`

List of all members.

## 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)

## Detailed Description

Class to prepare fingerprint index files See FastSearch class for details.

## Constructor & Destructor Documentation

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

## Member Function Documentation

bool Add | ( | OBBase * | pOb,
|  | std::streampos | seekpos
| ) |  |

Called for each object.

Adds a fingerprint

The documentation for this class was generated from the following files:

- fingerprint.h
- fingerprint.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines