OEIsAmideBond
class OEIsAmideBond : public OESystem::OEUnaryPredicate<OEChem::OEBondBase>
This class represents the OEIsAmideBond functor that identifies amide bonds.
The following methods are publicly inherited from OEUnaryPredicate:
The following methods are publicly inherited from OEUnaryFunction:
Constructors
OEIsAmideBond(includeCappingGroups: bool = True) -> OEIsAmideBond
Default constructor.
operator()
__call__(bond: OEBondBase) -> bool
Returns true if the bond is an interresidue amide bond; otherwise, it returns false.
CreateCopy
CreateCopy() -> OEIsAmideBond
Deep copy constructor that returns a copy of the object. The memory for the returned OEIsAmideBond object is dynamically allocated and owned by the caller.