RDKit
Open-source cheminformatics and machine learning.
|
#include <FilterMatcherBase.h>
Public Member Functions | |
FilterMatcherBase (std::string name=DEFAULT_FILTERMATCHERBASE_NAME) | |
FilterMatcherBase (const FilterMatcherBase &rhs) | |
virtual | ~FilterMatcherBase () |
virtual bool | isValid () const =0 |
virtual std::string | getName () const |
virtual bool | getMatches (const ROMol &mol, std::vector< FilterMatch > &matchVect) const =0 |
getMatches | |
virtual bool | hasMatch (const ROMol &mol) const =0 |
hasMatches | |
virtual boost::shared_ptr< FilterMatcherBase > | Clone () const |
virtual boost::shared_ptr< FilterMatcherBase > | copy () const =0 |
Definition at line 75 of file FilterMatcherBase.h.
|
inline |
Definition at line 82 of file FilterMatcherBase.h.
|
inline |
Definition at line 86 of file FilterMatcherBase.h.
|
inlinevirtual |
Definition at line 90 of file FilterMatcherBase.h.
|
inlinevirtual |
Clone - deprecated Clones the current FilterMatcherBase into one that can be passed around safely.
Definition at line 121 of file FilterMatcherBase.h.
References BOOST_LOG, and rdWarningLog.
|
pure virtual |
copy copies the current FilterMatcherBase into one that can be passed around safely.
Implemented in RDKit::FilterMatchOps::And, RDKit::FilterMatchOps::Or, RDKit::FilterMatchOps::Not, RDKit::SmartsMatcher, RDKit::ExclusionList, and RDKit::FilterHierarchyMatcher.
Referenced by RDKit::ExclusionList::addPattern(), and RDKit::FilterHierarchyMatcher::setPattern().
|
pure virtual |
getMatches
Match the filter against a molecule
mol | readonly const molecule being searched |
matches | output vector of atom index matches found in the molecule |
Implemented in RDKit::FilterMatchOps::Not, RDKit::ExclusionList, RDKit::FilterHierarchyMatcher, RDKit::FilterMatchOps::And, RDKit::FilterMatchOps::Or, and RDKit::SmartsMatcher.
|
inlinevirtual |
Reimplemented in RDKit::FilterMatchOps::And, RDKit::FilterMatchOps::Or, RDKit::FilterMatchOps::Not, RDKit::ExclusionList, and RDKit::FilterHierarchyMatcher.
Definition at line 94 of file FilterMatcherBase.h.
hasMatches
Does the given molecule contain this filter pattern
mol | readonly const molecule being searched |
Implemented in RDKit::FilterMatchOps::And, RDKit::FilterMatchOps::Or, RDKit::FilterMatchOps::Not, RDKit::SmartsMatcher, RDKit::ExclusionList, and RDKit::FilterHierarchyMatcher.