EnumEntry¶
Functions
- ITALA_API_C ItalaError NODE_EnumEntryGetValue (H_NODE hNode, int64_t *pValue)
Get the integer value of the enum entry.
- Parameters:
hNode – [in] Handle to Node instance, should be an EnumEntry node.
pValue – [out] Value of the Node.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
- ITALA_API_C ItalaError NODE_EnumEntryGetSymbolic (H_NODE hNode, char *symbolic, size_t *pSize)
Get the symbolic value of the enum entry.
- Parameters:
hNode – [in] Handle to Node instance, should be an EnumEntry node.
symbolic – [out] Array of char, symbolic value.
pSize – [inout] Maximum element of the array in input, number of element filled in output.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
- ITALA_API_C ItalaError NODE_EnumEntryGetNumericValue (H_NODE hNode, double *pValue)
Get the numerical value of the enum entry.
- Parameters:
hNode – [in] Handle to Node instance, should be an EnumEntry node.
pValue – [out] Value of the Node.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.
- ITALA_API_C ItalaError NODE_EnumEntryIsSelfClearing (H_NODE hNode, bool *pIsSelfClearing)
Get the self clearing property of the enum entry.
- Parameters:
hNode – [in] Handle to Node instance, should be an EnumEntry node.
pIsSelfClearing – [out] Self clearing property.
- Returns:
ItalaError the error code; return ItalaErrorSuccess (0) if no errors occures.