RDKit
Open-source cheminformatics and machine learning.
|
#include <FilterMatchers.h>
Public Member Functions | |
ExclusionList () | |
ExclusionList (std::vector< boost::shared_ptr< FilterMatcherBase > > offPatterns) | |
std::string | getName () const override |
bool | isValid () const override |
void | addPattern (const FilterMatcherBase &base) |
void | setExclusionPatterns (const std::vector< boost::shared_ptr< FilterMatcherBase > > &offPatterns) |
bool | getMatches (const ROMol &mol, std::vector< FilterMatch > &) const override |
getMatches | |
bool | hasMatch (const ROMol &mol) const override |
hasMatches | |
boost::shared_ptr< FilterMatcherBase > | copy () const override |
Public Member Functions inherited from RDKit::FilterMatcherBase | |
FilterMatcherBase (std::string name=DEFAULT_FILTERMATCHERBASE_NAME) | |
FilterMatcherBase (const FilterMatcherBase &rhs) | |
virtual | ~FilterMatcherBase () |
virtual boost::shared_ptr< FilterMatcherBase > | Clone () const |
Definition at line 383 of file FilterMatchers.h.
|
inline |
Definition at line 387 of file FilterMatchers.h.
|
inline |
Constructs an ExclusionList true if non of the FilterMatcherBases are true Syntactic sugar for using FilterMatchOps; And(Not(SmartsMatcher(pat1), And(Not(SmartsMatcher(pat2)), And(Not(Single...
Definition at line 397 of file FilterMatchers.h.
|
inline |
Definition at line 420 of file FilterMatchers.h.
References RDKit::FilterMatcherBase::copy(), RDKit::FilterMatcherBase::isValid(), and PRECONDITION.
|
inlineoverridevirtual |
copy copies the current FilterMatcherBase into one that can be passed around safely.
Implements RDKit::FilterMatcherBase.
Definition at line 452 of file FilterMatchers.h.
|
inlineoverridevirtual |
getMatches
Match the filter against a molecule
mol | readonly const molecule being searched |
matches | output vector of atom index matches found in the molecule |
Implements RDKit::FilterMatcherBase.
Definition at line 430 of file FilterMatchers.h.
References PRECONDITION.
|
inlineoverridevirtual |
Reimplemented from RDKit::FilterMatcherBase.
Definition at line 401 of file FilterMatchers.h.
hasMatches
Does the given molecule contain this filter pattern
mol | readonly const molecule being searched |
Implements RDKit::FilterMatcherBase.
Definition at line 441 of file FilterMatchers.h.
References PRECONDITION.
|
inlineoverridevirtual |
Implements RDKit::FilterMatcherBase.
Definition at line 411 of file FilterMatchers.h.
|
inline |
Definition at line 425 of file FilterMatchers.h.