This function is used for obtaining the encoding for a given model.
Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetModelStringEncoding (SdaiMode modelId,
SdaiInteger *stringEncoding);
Arguments:
modelId |
A numeric modelID that uniquely identifies the model that holds the instances to be validated. |
stringEncoding |
CHAR_ENCODING_UTF-8 |
Returns:
A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0 : Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterface error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE