|
Open Babel
3.0
|
#include <openbabel/parsmart.h>
Public Member Functions | |
| OBSmartsMatcher () | |
| virtual | ~OBSmartsMatcher () |
| bool | match (OBMol &mol, const Pattern *pat, std::vector< std::vector< int > > &mlist, bool single=false) |
Protected Member Functions | |
| bool | EvalAtomExpr (AtomExpr *expr, OBAtom *atom) |
| bool | EvalBondExpr (BondExpr *expr, OBBond *bond) |
| void | SetupAtomMatchTable (std::vector< std::vector< bool > > &ttab, const Pattern *pat, OBMol &mol) |
| void | FastSingleMatch (OBMol &mol, const Pattern *pat, std::vector< std::vector< int > > &mlist) |
Protected Attributes | |
| std::vector< std::pair< const Pattern *, std::vector< bool > > > | RSCACHE |
| std::vector< const Pattern * > | Fragments |
Friends | |
| class | OBSSMatch |
Internal class: performs matching; a wrapper around previous C matching code to make it thread safe.
|
inline |
|
inlinevirtual |
Referenced by OBSSMatch::Match().
Referenced by OBSSMatch::Match().
|
protected |
|
protected |
| bool match | ( | OBMol & | mol, |
| const Pattern * | pat, | ||
| std::vector< std::vector< int > > & | mlist, | ||
| bool | single = false |
||
| ) |
Referenced by OBSmartsPattern::Match(), and OBSmartsPattern::RestrictedMatch().
|
friend |
|
protected |
|
protected |
1.8.13