OEIsComplementaryScreenTypeΒΆ

Attention

PRELIMINARY-IMAGE This is a preliminary API until Fall 2021 and may be improved based on user feedback. It is currently available in C++ and Python.

bool OEIsComplementaryScreenType(const OEQMolBase &qmol,
                                 const unsigned stype)
bool OEIsComplementaryScreenType(const OEQMolBase &qmol,
                                 const OESubSearchScreenTypeBase *stype)

Returns whether the given query molecule can be used with a certain screen type. The function determines this by examining all the atom and bond expressions of the query molecule. For more explanation, see the OESubSearchScreenType namespace.

qmol

The query molecule (OEQMolBase)

stype

The type of the screen (either from the OESubSearchScreenType namespace or as an internal OESubSearchScreenTypeBase type).