IPWorks EDIFACT 2020 C++ Edition

Questions / Feedback?

InputFormat Property

The format of the input data.

Syntax

ANSI (Cross Platform)
int GetInputFormat();
int SetInputFormat(int iInputFormat); Unicode (Windows) INT GetInputFormat();
INT SetInputFormat(INT iInputFormat);

Possible Values

EIF_XML(0), 
EIF_JSON(1),
EIF_EDIFACT(2)
@property (nonatomic,readwrite,assign,getter=inputFormat,setter=setInputFormat:) int inputFormat;
- (int)inputFormat;
- (void)setInputFormat:(int)newInputFormat;

Possible Values

EIF_XML(0), 
EIF_JSON(1),
EIF_EDIFACT(2)
#define PID_EDIFACTTRANSLATOR_INPUTFORMAT 3

IPWORKSEDIFACT_EXTERNAL void* IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTTranslator_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDIFACT_EXTERNAL int IPWORKSEDIFACT_CALL IPWorksEDIFACT_EDIFACTTranslator_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

2

Remarks

This property specifies the format of the input data. The value set here, along with OutputFormat, determines how the data is converted when Translate is called.

Possible values are:

  • 0 (ifXML)
  • 1 (ifJSON)
  • 2 (ifEDIFACT)
Before calling Translate, both InputFormat and OutputFormat must be specified. Translation from XML or JSON to EDI and vice versa are supported. If InputFormat is ifXML or ifJSON, OutputFormat must be an EDI format. Similarly, if InputFormat is an EDI format, OutputFormat must be ofXML or ofJSON.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDIFACT 2020 C++ Edition - Version 20.0 [Build 8209]