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.
function SB_DECLARE_DATA#
function getNSLExpression#
Returns an NSL expression equivalent to the selector, if such expression exists, else returns an empty string.
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.
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.
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.