OEIsCationPiInteractionHint
class OEIsCationPiInteractionHint : public OESystem::OEUnaryPredicate<OEInteractionHint>
This class represents OEIsCationPiInteractionHint functor that identifies cation-Pi interactions.
See also
OECationPiInteractionHintTypenamespaceOEInteractionHint class
Constructors
OEIsCationPiInteractionHint(includeIntra: bool = True) -> OEIsCationPiInteractionHint
OEIsCationPiInteractionHint(arg2: OEIsCationPiInteractionHint) -> OEIsCationPiInteractionHint
Constructor.
- param includeIntra:
If
true(default), intramolecular cation-pi interactions are included in the results.
operator()
__call__(i: OEInteractionHint) -> bool
Returns true, if the given interaction has a cation-pi
type i.e. the OEInteractionHint.GetInteractionType
method returns an OECationPiInteractionHint
type.
CreateCopy
CreateCopy() -> OEUnaryInteractionHintBoolFunc
Deep copy constructor that returns a copy of the object. The memory for the returned OEIsCationPiInteractionHint object is dynamically allocated and owned by the caller.