![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <FilterMatchers.h>
Public Member Functions | |
| ExclusionList () | |
| ExclusionList (const std::vector< boost::shared_ptr< FilterMatcherBase > > &offPatterns) | |
| virtual std::string | getName () const |
| bool | isValid () const |
| void | addPattern (const FilterMatcherBase &base) |
| void | setExclusionPatterns (const std::vector< boost::shared_ptr< FilterMatcherBase > > &offPatterns) |
| virtual bool | getMatches (const ROMol &mol, std::vector< FilterMatch > &) const |
| getMatches More... | |
| virtual bool | hasMatch (const ROMol &mol) const |
| hasMatches More... | |
| virtual boost::shared_ptr< FilterMatcherBase > | Clone () const |
| Clone. More... | |
Public Member Functions inherited from RDKit::FilterMatcherBase | |
| FilterMatcherBase (const std::string &name=DEFAULT_FILTERMATCHERBASE_NAME) | |
| FilterMatcherBase (const FilterMatcherBase &rhs) | |
| virtual | ~FilterMatcherBase () |
Definition at line 370 of file FilterMatchers.h.
|
inline |
Definition at line 374 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 384 of file FilterMatchers.h.
|
inline |
Definition at line 404 of file FilterMatchers.h.
References RDKit::FilterMatcherBase::Clone(), RDKit::FilterMatcherBase::isValid(), and PRECONDITION.
|
inlinevirtual |
Clone.
Implements RDKit::FilterMatcherBase.
Definition at line 436 of file FilterMatchers.h.
References RDUNUSED_PARAM.
|
inlinevirtual |
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 414 of file FilterMatchers.h.
References RDKit::FilterMatchOps::And::isValid(), and PRECONDITION.
|
inlinevirtual |
Reimplemented from RDKit::FilterMatcherBase.
Definition at line 388 of file FilterMatchers.h.
References RDKit::FilterMatcherBase::getName().
|
inlinevirtual |
hasMatches
Does the given molecule contain this filter pattern
| mol | readonly const molecule being searched |
Implements RDKit::FilterMatcherBase.
Definition at line 425 of file FilterMatchers.h.
References RDKit::FilterMatchOps::And::isValid(), and PRECONDITION.
|
inlinevirtual |
Implements RDKit::FilterMatcherBase.
Definition at line 398 of file FilterMatchers.h.
References RDKit::FilterMatchOps::And::isValid().
|
inline |
Definition at line 409 of file FilterMatchers.h.