OEReceptorGetProteinConstraints

OEIterBase<OEProteinConstraint>*
OEReceptorGetProteinConstraint(const OEChem::OEMolBase& receptor,
                               bool enabledOnly = true)

Returns an iterator over the receptor’s protein constraints. If enabledOnly is true then only enabled constraints will be returned.

It is only valid to call this function if receptor is a valid receptor (i.e., OEIsReceptor returns true).