C++ Implementation

The following C++ source and header files implement the base classes described in the chapter. As with the Java implementation, we'll also include our standard error handling routines as well as some standard header files.

  • Converter.cpp

  • Converter.h

  • SourceConverter.cpp

  • SourceConverter.h

  • TargetConverter.cpp

  • TargetConverter.h

  • DataCell.cpp

  • DataCell.h

  • RecordHandler.cpp

  • RecordHandler.h

  • RecordReader.cpp

  • RecordReader.h

  • RecordWriter.cpp

  • RecordWriter.h

  • handleCOMError.cpp

  • handleParseError.cpp

  • BlasterIncludes.h

  • BlasterPrototypes.h

  • TextConstants.h

A few words are in order about string handling beyond what I noted in Chapter 1. Since C++ handles bytes for I/O as character arrays, we won't have some of Java's complexities in converting to and from bytes and ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.