ItalaApiC  1.3.3
Functions
Category

Functions

ITALA_API_C ItalaError NODE_CategoryGetFeaturesNum (H_NODE hNode, size_t *pNumOfFeaturs)
 
ITALA_API_C ItalaError NODE_CategoryGetFeatureByIndex (H_NODE hNode, size_t index, H_NODE *phFeature)
 

Detailed Description

All the methods related to nodes managed by GenApi.

Function Documentation

◆ NODE_CategoryGetFeaturesNum()

ITALA_API_C ItalaError NODE_CategoryGetFeaturesNum ( H_NODE  hNode,
size_t *  pNumOfFeaturs 
)

Get the number of features of the category (including sub-categories).

Parameters
[in]hNodeHandle to Node instance, should be a Category node.
[out]pNumOfFeatursNumber of features.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.

◆ NODE_CategoryGetFeatureByIndex()

ITALA_API_C ItalaError NODE_CategoryGetFeatureByIndex ( H_NODE  hNode,
size_t  index,
H_NODE *  phFeature 
)

Get the feature node of the category (including sub-categories), given its index.

Parameters
[in]hNodeHandle to Node instance, should be a Category node.
[in]indexIndex of the feature.
[out]phFeatureHandle to feature Node instance.
Returns
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.