Segment Event

Fires whenever a data segment in a transaction set is read.


class X12TranslatorSegmentEventParams {
  const QString &Tag();
  const QString &Name();
  const QString &LoopName();
  const QString &FullSegment();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
// To handle, connect one or more slots to this signal. void Segment(X12TranslatorSegmentEventParams *e);
// Or, subclass X12Translator and override this emitter function. virtual int FireSegment(X12TranslatorSegmentEventParams *e) {...}


The Segment event will fire when a data segment is read. The Tag parameter contains the tag of the segment. Name contains the name of the segment as defined in the associated transaction set schema. LoopName contains the name of the loop or group this segment is present in (such as N1Loop1).

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks X12 2020 Qt Edition - Version 20.0 [Build 7721]