OESubSearch

class OESubSearch

This class represents OESubSearch.

Constructors

OESubSearch()
OESubSearch(const OEQMolBase &)
OESubSearch(const OESubSearch &)
OESubSearch(const char *, bool allowReorderAtoms=false)
OESubSearch(const OEMolBase &, unsigned int, unsigned int)

Default and copy constructors.

operator=

OESubSearch &operator=(const OESubSearch &)

operator bool

operator bool() const

AddConstraint

bool AddConstraint(const OEMatchPair<OEAtomBase> &)
bool AddConstraint(const OEMatchPair<OEBondBase> &)

AtomMatch

bool AtomMatch(const OEAtomBase *) const
bool AtomMatch(const OEQAtomBase *) const

ClearConstraints

void ClearConstraints()

GetMaxMatches

unsigned int GetMaxMatches() const

GetPattern

const OEQMolBase &GetPattern() const

Init

bool Init(const OEQMolBase &)
bool Init(const char *, bool allowReorderAtoms=false)
bool Init(const OEMolBase &, unsigned int, unsigned int)

Match

OESystem::OEIterBase<OEMatchBase> *Match(const OEMolBase &,
                                         bool uniquematch=false) const
OESystem::OEIterBase<OEMatchBase> *Match(const OEQMolBase &,
                                         bool uniquematch=false) const

SetMaxMatches

bool SetMaxMatches(unsigned int m)

SingleMatch

bool SingleMatch(const OEMolBase &) const
bool SingleMatch(const OEQMolBase &) const