Web Analytics Made Easy - Statcounter
Skip to content

Class SBDDataGraphNode::DescendsFrom#

ClassList > SBDDataGraphNode > DescendsFrom

This node predicate returns true if the node descends from a given node or node indexerMore...

Inherits the following classes: SBCFunctorPredicate1< SBDDataGraphNode const * >

Public Functions#

Type Name
DescendsFrom (SBDDataGraphNode * node)
Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.
DescendsFrom (const SBNodeIndexer & nodeIndexer)
Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.
DescendsFrom (SBPointerIndexer< SBDDataGraphNode > * nodePointerIndexer)
Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.
virtual DescendsFrom * 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.
~DescendsFrom ()
Destructor.

Detailed Description#

This node predicate returns true if the node descends from a given node or node indexer.

See also: Node predicates

Public Functions Documentation#

function DescendsFrom [1/3]#

Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.

SBDDataGraphNode::DescendsFrom::DescendsFrom (
    SBDDataGraphNode * node
) 


function DescendsFrom [2/3]#

Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.

SBDDataGraphNode::DescendsFrom::DescendsFrom (
    const SBNodeIndexer & nodeIndexer
) 


function DescendsFrom [3/3]#

Builds a predicate that will call the corresponding SBDDataGraphNode::descendsFrom function.

SBDDataGraphNode::DescendsFrom::DescendsFrom (
    SBPointerIndexer< SBDDataGraphNode > * nodePointerIndexer
) 


function clone#

Clones the predicate.

virtual DescendsFrom * SBDDataGraphNode::DescendsFrom::clone () override const

Implements SBCFunctor::clone


function operator()#

Performs the predicate's operation and returns the result.

virtual bool SBDDataGraphNode::DescendsFrom::operator() (
    SBDDataGraphNode const * node
) override


function operator()#

Performs the predicate's operation and returns the result.

virtual bool SBDDataGraphNode::DescendsFrom::operator() (
    SBDDataGraphNode const * node
) override const


function ~DescendsFrom#

Destructor.

SBDDataGraphNode::DescendsFrom::~DescendsFrom ()