Class SBMStructuralModelNodeHydrogenBond::IsLinking#
ClassList > SBMStructuralModelNodeHydrogenBond > IsLinking
Inherits the following classes: SBDDataGraphNodePredicate
Public Functions#
| Type | Name |
|---|---|
| SB_SBMSTRUCTURALMODEL_EXPORT | IsLinking (const SBNodeIndexer & nodeIndexer) Constructs a predicate that checks if a node links to any atom in the specified indexer. |
| virtual SB_SBMSTRUCTURALMODEL_EXPORT IsLinking * | clone () override const Creates a copy of this IsLinking predicate. |
| virtual SB_SBMSTRUCTURALMODEL_EXPORT bool | operator() (SBDDataGraphNode const * node) override Evaluates whether the given data graph node contains atoms or bonds linking to the predicate's node indexer. |
| virtual SB_SBMSTRUCTURALMODEL_EXPORT bool | operator() (SBDDataGraphNode const * node) override const Evaluates whether the given data graph node contains atoms or bonds linking to the predicate's node indexer. |
| SB_SBMSTRUCTURALMODEL_EXPORT | ~IsLinking () Destroys the predicate. |
Public Functions Documentation#
function IsLinking#
Constructs a predicate that checks if a node links to any atom in the specified indexer.
SB_SBMSTRUCTURALMODEL_EXPORT SBMStructuralModelNodeHydrogenBond::IsLinking::IsLinking (
const SBNodeIndexer & nodeIndexer
)
Parameters:
nodeIndexerThe node indexer to which linking is tested.
function clone#
Creates a copy of this IsLinking predicate.
virtual SB_SBMSTRUCTURALMODEL_EXPORT IsLinking * SBMStructuralModelNodeHydrogenBond::IsLinking::clone () override const
Returns:
A pointer to a new IsLinking object.
function operator()#
Evaluates whether the given data graph node contains atoms or bonds linking to the predicate's node indexer.
virtual SB_SBMSTRUCTURALMODEL_EXPORT bool SBMStructuralModelNodeHydrogenBond::IsLinking::operator() (
SBDDataGraphNode const * node
) override
Parameters:
nodePointer to a const SBDDataGraphNode to evaluate.
Returns:
true if linking is found; otherwise false.
function operator()#
Evaluates whether the given data graph node contains atoms or bonds linking to the predicate's node indexer.
virtual SB_SBMSTRUCTURALMODEL_EXPORT bool SBMStructuralModelNodeHydrogenBond::IsLinking::operator() (
SBDDataGraphNode const * node
) override const
Parameters:
nodePointer to a const SBDDataGraphNode to evaluate.
Returns:
true if linking is found; otherwise false.
function ~IsLinking#
Destroys the predicate.