Class SBDDataGraphNode::IsOneOf#
ClassList > SBDDataGraphNode > IsOneOf
This node predicate returns true for nodes in a given node indexerMore...
Inherits the following classes: SBDDataGraphNodePredicate
Public Functions#
| Type | Name |
|---|---|
| IsOneOf (const SBNodeIndexer & nodeIndexer) Builds a predicate that will call the corresponding SBDDataGraphNode::isOneOf function. |
|
| IsOneOf (SBPointerIndexer< SBDDataGraphNode > * nodePointerIndexer) Builds a predicate that will call the corresponding SBDDataGraphNode::isOneOf function. |
|
| virtual IsOneOf * | clone () override const Clones the predicate. |
| virtual bool | operator() (SBDDataGraphNode const * node) override Performs the predicate's operation and returns the result. |
| virtual bool | operator() (SBDDataGraphNode const * node) override const Performs the predicate's operation and returns the result. |
| ~IsOneOf () Destructor. |
Detailed Description#
This node predicate returns true for nodes in a given node indexer.
See also: Node predicates
Public Functions Documentation#
function IsOneOf [1/2]#
Builds a predicate that will call the corresponding SBDDataGraphNode::isOneOf function.
Constructs an IsOneOf predicate using a node indexer.
The predicate will return true for nodes that are present in the given node indexer.
Parameters:
nodeIndexerThe indexer containing the nodes to test against.
function IsOneOf [2/2]#
Builds a predicate that will call the corresponding SBDDataGraphNode::isOneOf function.
Constructs an IsOneOf predicate using a pointer indexer.
The predicate will return true for nodes that are present in the given pointer indexer.
Parameters:
nodePointerIndexerThe pointer indexer containing the nodes to test against.
function clone#
Clones the predicate.
Creates a copy of this predicate.
Returns:
A new IsOneOf predicate that is a copy of this predicate.
function operator()#
Performs the predicate's operation and returns the result.
Evaluates the predicate on the given node.
Parameters:
nodeThe node to test.
Returns:
true if the node is present in the associated indexer, otherwise false.
function operator()#
Performs the predicate's operation and returns the result.
Evaluates the predicate on the given node (const overload).
Parameters:
nodeThe node to test.
Returns:
true if the node is present in the associated indexer, otherwise false.
function ~IsOneOf#
Destructor.