![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <FilterMatcherBase.h>
Public Member Functions | |
FilterMatcherBase (const 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 More... | |
virtual bool | hasMatch (const ROMol &mol) const =0 |
hasMatches More... | |
virtual boost::shared_ptr< FilterMatcherBase > | Clone () const |
Clone - deprecated. More... | |
virtual boost::shared_ptr< FilterMatcherBase > | copy () const =0 |
copy More... | |
Definition at line 77 of file FilterMatcherBase.h.
|
inline |
Definition at line 84 of file FilterMatcherBase.h.
|
inline |
Definition at line 88 of file FilterMatcherBase.h.
|
inlinevirtual |
Definition at line 92 of file FilterMatcherBase.h.
|
inlinevirtual |
Clone - deprecated.
Definition at line 123 of file FilterMatcherBase.h.
References BOOST_LOG, RDUNUSED_PARAM, and rdWarningLog.
|
pure virtual |
copy
Implemented in RDKit::FilterHierarchyMatcher, RDKit::ExclusionList, RDKit::SmartsMatcher, RDKit::FilterMatchOps::Not, RDKit::FilterMatchOps::Or, and RDKit::FilterMatchOps::And.
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::FilterHierarchyMatcher, RDKit::ExclusionList, RDKit::SmartsMatcher, RDKit::FilterMatchOps::Not, RDKit::FilterMatchOps::Or, and RDKit::FilterMatchOps::And.
|
inlinevirtual |
Reimplemented in RDKit::FilterHierarchyMatcher, RDKit::ExclusionList, RDKit::FilterMatchOps::Not, RDKit::FilterMatchOps::Or, and RDKit::FilterMatchOps::And.
Definition at line 96 of file FilterMatcherBase.h.
Referenced by RDKit::FilterMatchOps::And::getName(), RDKit::FilterMatchOps::Or::getName(), RDKit::FilterMatchOps::Not::getName(), and RDKit::ExclusionList::getName().
|
pure virtual |
hasMatches
Does the given molecule contain this filter pattern
mol | readonly const molecule being searched |
Implemented in RDKit::FilterHierarchyMatcher, RDKit::ExclusionList, RDKit::SmartsMatcher, RDKit::FilterMatchOps::Not, RDKit::FilterMatchOps::Or, and RDKit::FilterMatchOps::And.
|
pure virtual |