Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagecpp
themeConfluence
EdmiError  edmiMakeExpressXlongForm (SdaiInteger      schemaType,
                                     SdaiString       expressXprojectFile,
                                     SdaiString       diagnosticFile,
                                     SdaiInteger      options,
                                     SdaiString       expressXlongFormFile);



This function makes a long form schema from the specified EDMcompilerProject file specified in the parameter "expressXprojectFile". The resulting long form schema will be written to the file specified in the "expressXlongFormFile" parameter. See also EDMcompilerProject, EDMcompiler directives
Header:
#include "sdai.h"
Prototype:
edmiMakeExpressXlongForm (SdaiInteger              schemaType,
                          SdaiString               expressXprojectFile,
                          SdaiString               diagnosticFile,
                          SdaiInteger              options,
                          SdaiString               expressXlongFormFile);
 
 
Arguments:
Argument NameDefinition
schemaTypeMust The parameter "schemaType" must be one of the following: •MAPPING

  1. MAPPING_SCHEMA_TYPE (alias is: EXPRESS_X_SCHEMA_TYPE)

...

  1. QUERY_SCHEMA_TYPE

...

  1. RULE_SCHEMA_TYPE

...

 

Arguments

...

Insert excerpt
US:_a_schemaType_EDMI
US:_a_schemaType_EDMI
nopaneltrue
Insert excerpt
US:_a_expressXprojectFile_EDMI
US:_a_expressXprojectFile_EDMI
nopaneltrue
Insert excerpt
US:_a_diagnosticFile_EDMI
US:_a_diagnosticFile_EDMI
nopaneltrue
Insert excerpt
US:_a_options_EDMI
US:_a_options_EDMI
nopaneltrue
 
Insert excerpt
US:_a_expressXlongFormFile_EDMI
US:_a_expressXlongFormFile_EDMI
nopaneltrue
  

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

  

TypeComment

INSERT_FILE_BEGINNING_ENDING_MARK

The resulting longForm file will contain a "FILE_BEGINNING" and a "FILE_END" mark as comment for each shortForm file,
 i  i.e., to show (to mark) the start and end of each shortForm file.

INSERT_LONG_FORM_LINE_NUMBERS

The resulting longForm file will have line numbers as comment

INSERT_SHORT_FORM_LINE_NUMBERS

The resulting longForm file will have line numbers starting from line number 1 for each shortForm file.

INSERT_SHORT_FORM_FILE_NAMES_LIST

The resulting longForm file will have a an ordered list of all shortFiles that constitutes the longForm file.
This list will be in comments.

INSERT_PROJECT_FILE

The actual project file will be listed as comments in the beginning of the resulting longForm file.

MAKE_SHORT_FORM_FILE_NAMES_LIST

When this option is enabled, all other options will be overruled, i.e. they will have no effect.
The resulting longForm file will only content the "SHORT_FORM_FILE_NAMES_LIST", i.e. the same list as produced by the
INSERT_SHORT_FORM_FILE_NAMES_LIST  options.

DIAGNOSTICS_IN_XML_FORMAT

The actual dignosticFile will be in XML format that is specified by the X-IDE application.format 

GET_METHODS_SIGNATURE

Only valid for EDM internal use.

METHODS_SIGNATURE_IN_XML

Used in the edmiGetSourceMethodSignatures() and edmiRemoteGetSourceMethodSignatures() to specify that the resulting method signatures
will be in XML format, i.e., to be more easily handeled handled by applications (X-IDE)

   
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

...

 

Code Block
languagecpp
<missing example>

 

See also

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