OEBroodQuery

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

class OEBroodQuery

This class defines objects that represents a Brood Query.

The OEBroodQuery class defines the following public methods:

Constructors

OEBroodQuery()
OEBroodQuery(const OEBroodQuery &)

Default and copy constructors.

operator=

OEBroodQuery &operator=(const OEBroodQuery &)

Assignment operator.

GetAttachCount

unsigned GetAttachCount() const

returns the number of attachments points in the Query fragment.

GetHeavyCount

unsigned GetHeavyCount() const

returns the number of heavy atoms in the Query fragment.

HasProtein

bool HasProtein() const

returns if the Query contains an associated protein.

Init

unsigned Init(const OEChem::OEMCMolBase &queryMol)

Initializes the Query from contents in the specified Query molecule. A Query molecule is a OEMol containing a set of specific data tags. Method returns OEBroodStatusCode.Success if the initialization is successful, otherwise returns an error code from the OEBroodStatusCode namespace.