All the methods related to nodes managed by GenApi.
◆ 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] | hNode | Handle to Node instance, should be a Category node. |
[out] | pNumOfFeaturs | Number 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] | hNode | Handle to Node instance, should be a Category node. |
[in] | index | Index of the feature. |
[out] | phFeature | Handle to feature Node instance. |
- Returns
- ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.