Selector#
Functions
-
ITALA_API_C ItalaError NODE_SelectorIsSelector(H_NODE hNode, bool *pIsSelector)#
Check if the node is actually a selector Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a Selector node.
pIsSelector – [out] Retrieves if node is selector.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_SelectorGetSelectedFeaturesNum(H_NODE hNode, size_t *pNumOfFeatureSelected)#
Get the number of selected feature in a selector Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a Selector node.
pNumOfFeatureSelected – [out] Number of feature selected.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_SelectorGetSelectedFeatureByIndex(H_NODE hNode, size_t index, H_NODE *phFeature)#
Get a selected feature in a selector Node, given a specific index.
- Parameters:
hNode – [in] Handle to Node instance, should be a Selector node.
index – [in] Index of the valid value.
phFeature – [out] Handle to feature Node instance.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_SelectorGetSelectingFeaturesNum(H_NODE hNode, size_t *pNumOfFeatureSelecting)#
Get the number of selecting feature in a selector Node.
- Parameters:
hNode – [in] Handle to Node instance, should be a Selector node.
pNumOfFeatureSelecting – [out] Number of feature selecting.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
-
ITALA_API_C ItalaError NODE_SelectorGetSelectingFeatureByIndex(H_NODE hNode, size_t index, H_NODE *phFeature)#
Get a selecting feature in a selector Node, given a specific index.
- Parameters:
hNode – [in] Handle to Node instance, should be a Selector node.
index – [in] Index of the valid value.
phFeature – [out] Handle to feature Node instance.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.