Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiCloseExpressionsLog(void);


Close and terminate a running expression logging>, which has previously been defined by the edmiDefineExpressionsLog and started by the edmiStartExpressionsLog functions. Any open expression log file will be flushed and closed by this operation. A new edmiDefineExpressionsLog operation must be performed before the expression logging can be restarted.
Related functions: edmiDefineExpressionsLog , edmiStartExpressionsLog , and edmiStopExpressionsLog
Header:
#include "sdai.h"
Prototype:
EdmiError edmiCloseExpressionsLog(void);
Arguments:
None.
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
EdmiError rstat;
...
If (rstat = edmiDefineExpressionsLog (
"Man2MaleAdult, Woman2FemaleAdult, Child2BoyOrGirl", 
"Child2BoyOrGirl, 200 – 550, 1100 – 1290", 

Arguments

...

 

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 
EdmiError rstat;
 ...
 If (rstat = edmiDefineExpressionsLog (
 "Man2MaleAdult, Woman2FemaleAdult, Child2BoyOrGirl", 
 "Child2BoyOrGirl, 200 - 550, 1100 - 1290", 
 "/usr/hkd/tmp/expressions.log",

...

 
 0,

...

 
 "/usr/hkd/tmp/user_output.text",

...

 
 FULL_LOG | LOG_TO_FILE | USER_OUTPUT_TO_FILE))

...

 { 
  
 /* Error in operation */

...

  
 printf("\nError in edmiDefineExpressionsLog: %s",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 ...

...


 edmiStartExpressionsLog();

...


 . . .

...


 edmiStopExpressionsLog();

...


 . . .

...


 edmiStartExpressionsLog();

...


 . . .

...


 edmiCloseExpressionsLog();

...


 . . . 

 

See also

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