Web Analytics Made Easy - Statcounter
Skip to content

Class SBDDataGraphNodeSelector#

ClassList > SBDDataGraphNodeSelector

This class describes a selector. More...

  • #include <SBDDataGraphNodeSelector.hpp>

Public Functions#

Type Name
SBDDataGraphNodeSelector ()
Constructs a selector.
SB_DECLARE_DATA (SBDDataGraphNodeSelector)
virtual std::string getNSLExpression () const
Returns an NSL expression equivalent to the selector, if such expression exists, else returns an empty string.
virtual std::string getName () const
Returns the selector's name.
virtual void getNodes (SBNodeIndexer & resultNodeIndexer, const SBNodeIndexer & nodeIndexer)
Selects nodes from nodeIndexer and populatesresultNodeIndexer with the result.
virtual bool isSerializable () const
Returns true when the class is serializable.
virtual void serialize (SBCSerializer * serializer, const SBNodeIndexer & nodeIndexer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber & classVersionNumber=SBVersionNumber(1, 0, 0)) const
Serializes the selector.
virtual void unserialize (SBCSerializer * serializer, const SBNodeIndexer & nodeIndexer, const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER, const SBVersionNumber & classVersionNumber=SBVersionNumber(1, 0, 0))
Unserializes the selector.
virtual ~SBDDataGraphNodeSelector ()
Destructs the selector.

Protected Attributes#

Type Name
SBDDataGraphNodeSelectorData * dataPointer

Protected Functions#

Type Name
SBDDataGraphNodeSelector (SBDDataGraphNodeSelectorData * dataPointer)

Detailed Description#

This class describes a selector in SAMSON. Please refer to Selectors for more information.

Short name: SBNodeSelector

See also: Selectors

Public Functions Documentation#

function SBDDataGraphNodeSelector [2/2]#

Constructs a selector.

SBDDataGraphNodeSelector::SBDDataGraphNodeSelector () 


function SB_DECLARE_DATA#

SBDDataGraphNodeSelector::SB_DECLARE_DATA (
    SBDDataGraphNodeSelector
) 

function getNSLExpression#

Returns an NSL expression equivalent to the selector, if such expression exists, else returns an empty string.

virtual std::string SBDDataGraphNodeSelector::getNSLExpression () const

This function returns a Node Specification Language expression that corresponds to the selector, if such expression exists, else it returns an empty string.


function getName#

Returns the selector's name.

virtual std::string SBDDataGraphNodeSelector::getName () const


function getNodes#

Selects nodes from nodeIndexer and populatesresultNodeIndexer with the result.

virtual void SBDDataGraphNodeSelector::getNodes (
    SBNodeIndexer & resultNodeIndexer,
    const SBNodeIndexer & nodeIndexer
) 


function isSerializable#

Returns true when the class is serializable.

virtual bool SBDDataGraphNodeSelector::isSerializable () const


function serialize#

Serializes the selector.

virtual void SBDDataGraphNodeSelector::serialize (
    SBCSerializer * serializer,
    const SBNodeIndexer & nodeIndexer,
    const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER,
    const SBVersionNumber & classVersionNumber=SBVersionNumber (1, 0, 0)
) const


function unserialize#

Unserializes the selector.

virtual void SBDDataGraphNodeSelector::unserialize (
    SBCSerializer * serializer,
    const SBNodeIndexer & nodeIndexer,
    const SBVersionNumber & sdkVersionNumber=SB_SDK_VERSION_NUMBER,
    const SBVersionNumber & classVersionNumber=SBVersionNumber (1, 0, 0)
) 


function ~SBDDataGraphNodeSelector#

Destructs the selector.

virtual SBDDataGraphNodeSelector::~SBDDataGraphNodeSelector () 


Protected Attributes Documentation#

variable dataPointer#

SBDDataGraphNodeSelectorData* dataPointer;

Protected Functions Documentation#

function SBDDataGraphNodeSelector [1/2]#

SBDDataGraphNodeSelector::SBDDataGraphNodeSelector (
    SBDDataGraphNodeSelectorData * dataPointer
)