Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function is used for obtaining the encoding for a given model.
Header:
#include "sdai.h"
Prototype:
EdmiError edmiGetModelStringEncoding  (SdaiServerContext  serverContextId,
                                                                  SdaiModel              modelId,
                                                                  SdaiInteger            *stringEncoding,
                                                                  SdaiInvocationId    *edmiInvocationId);
Arguments: 

Code Block
languagecpp
themeConfluence
EdmiError edmiGetModelStringEncoding  (SdaiServerContext  serverContextId,
                                       SdaiModel              modelId,
                                       SdaiInteger            *stringEncoding,
                                       SdaiInvocationId    *edmiInvocationId); 




This function is used for obtaining the encoding for a given model.

Arguments

...

TypeNameComment
SdaiServerContext

serverContextId

Remote Server Context

SdaiModel

modelId

A numeric modelID that uniquely identifies the model that holds the instances to be validated. The modelID is returned from the functions: sdaiCreateModel , sdaiCreateModelBN , sdaiOpenModelBN, edmiGetModel , edmiGetModelBN , sdaiGetInstanceModel

SdaiInteger

stringEncoding

CHAR_ENCODING_UTF-8
CHAR_ENCODING_UTF-16
CHAR_ENCODING_ISO-10646-UCS-2
CHAR_ENCODING_ISO-10646-UCS-4
CHAR_ENCODING_ISO-LATIN-1
CHAR_ENCODING_ISO-LATIN-2
CHAR_ENCODING_ISO-8859-3
CHAR_ENCODING_ISO-8859-4
CHAR_ENCODING_ISO-8859-5
CHAR_ENCODING_ISO-8859-6
CHAR_ENCODING_ISO-8859-7
CHAR_ENCODING_ISO-8859-8
CHAR_ENCODING_ISO-8859-9
CHAR_ENCODING_ISO-2022-JP
CHAR_ENCODING_SHIFT_JIS
CHAR_ENCODING_EUC-JP

SdaiInvocationId

edmiInvocationId

When the edmiInvocationId is specified, the actual operation will be asynchronous and a handle (identifier) of the call will be returned in the edmiInvocationId argument.
This handle can be used in later operations for requesting the status (waiting, running, finished ..) and the result of the actual operation.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"