Category¶
Functions
- ITALA_API_C ItalaError NODE_CategoryGetFeaturesNum (H_NODE hNode, size_t *pNumOfFeaturs)
Get the number of features of the category (including sub-categories).
- Parameters:
hNode – [in] Handle to Node instance, should be a Category node.
pNumOfFeaturs – [out] Number of features.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
- 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:
hNode – [in] Handle to Node instance, should be a Category node.
index – [in] Index of the feature.
phFeature – [out] Handle to feature Node instance.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.