OECationPiInteractionHint
class OECationPiInteractionHint : public OEInteractionHintTypeBase
The OECationPiInteractionHint class represents a built-in type that identifies interactions stored in an OEInteractionHintContainer object as cation-Pi interactions (inter- and intramolecular).
See also
OECationPiInteractionHintTypenamespace for specific cation-Pi interaction typesOEIsCationPiInteractionHint predicate
OEInteractionHint class
To perceive cation-Pi interactions:
The following methods are publicly inherited from OEInteractionHintTypeBase:
Constructors
OECationPiInteractionHint(type: int) -> OECationPiInteractionHint
Creates an OECationPiInteractionHint object with the given type.
- type
This value has to be from the
OECationPiInteractionHintTypenamespace.
Note
Two OECationPiInteractionHint objects with different
types from the OECationPiInteractionHintType
namespace are considered to be different.
OECationPiInteractionHint(rhs: OECationPiInteractionHint) -> OECationPiInteractionHint
Copy constructor.
CreateCopy
CreateCopy() -> OEInteractionHintTypeBase
Deep copy constructor that returns a copy of the object. The memory for the returned OECationPiInteractionHint object is dynamically allocated and owned by the caller.
IsValid
IsValid(arg2: OEInteractionHintFragment,
arg3: OEInteractionHintFragment) -> bool
Evaluates whether the two given fragments would form a valid cation-Pi interaction when added to an OEInteractionHintContainer object.
It checks that each fragment contains at least one atom, and the fragments belong to different molecules i.e. it is an intermolecular interaction.