Web Analytics Made Easy - Statcounter
Skip to content

Class SBMStructuralModelNodeBond::IsLinking#

ClassList > SBMStructuralModelNodeBond > IsLinking

Inherits the following classes: SBDDataGraphNodePredicate

Public Functions#

Type Name
SB_SBMSTRUCTURALMODEL_EXPORT IsLinking (const SBNodeIndexer & nodeIndexer)
Constructs an IsLinking predicate with a given node indexer.
SB_SBMSTRUCTURALMODEL_EXPORT IsLinking * clone () override const
Creates a copy of this IsLinking predicate.
SB_SBMSTRUCTURALMODEL_EXPORT bool operator() (SBDDataGraphNode const * node) override
Evaluates whether the given node links to any node in the stored indexer.
SB_SBMSTRUCTURALMODEL_EXPORT bool operator() (SBDDataGraphNode const * node) override const
Evaluates whether the given node links to any node in the stored indexer (const overload).
SB_SBMSTRUCTURALMODEL_EXPORT ~IsLinking ()
Destroys the IsLinking predicate.

Public Functions Documentation#

function IsLinking#

Constructs an IsLinking predicate with a given node indexer.

SB_SBMSTRUCTURALMODEL_EXPORT SBMStructuralModelNodeBond::IsLinking::IsLinking (
    const SBNodeIndexer & nodeIndexer
) 

The predicate will use the provided nodeIndexer to test whether a node links to any node in the indexer.

Parameters:

  • nodeIndexer The node indexer used for linking checks.

function clone#

Creates a copy of this IsLinking predicate.

SB_SBMSTRUCTURALMODEL_EXPORT IsLinking * SBMStructuralModelNodeBond::IsLinking::clone () override const

The returned pointer is a newly allocated clone that the caller is responsible for managing.

Returns:

A pointer to the cloned predicate.


function operator()#

Evaluates whether the given node links to any node in the stored indexer.

SB_SBMSTRUCTURALMODEL_EXPORT bool SBMStructuralModelNodeBond::IsLinking::operator() (
    SBDDataGraphNode const * node
) override

The predicate returns true if the supplied node links to any node in the stored nodeIndexer, otherwise false.

Parameters:

  • node The node to be evaluated.

Returns:

true if the node links to any node in the stored indexer; otherwise false.


function operator()#

Evaluates whether the given node links to any node in the stored indexer (const overload).

SB_SBMSTRUCTURALMODEL_EXPORT bool SBMStructuralModelNodeBond::IsLinking::operator() (
    SBDDataGraphNode const * node
) override const

This overload can be called on const IsLinking predicate objects.

Parameters:

  • node The node to be evaluated.

Returns:

true if the node links to any node in the stored indexer; otherwise false.


function ~IsLinking#

Destroys the IsLinking predicate.

SB_SBMSTRUCTURALMODEL_EXPORT SBMStructuralModelNodeBond::IsLinking::~IsLinking ()