iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > C++ Support > Deprecation of iostream Library Support |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
iNTERFACEWARE has a fine tradition of maintaining 100% backward compatibility in our products. In builds prior to Chameleon Version 3.212 Build 313 the CHM library made use of the standard iostream library. Unfortunately the standard has changed. The old iostream library has been deprecated by the ANSI C++ committee in favor of the new standard C++ library. This is a factor that was outside our control. After much consideration and consultation with our existing customer base it was decided that the best long term solution to this problem was to remove the dependency of the CHM library on the iostream library completely. In this way we can guarantee that the long term maintainability of the CHM library will be easy and therefore minimize the maintenance costs of both iNTERFACEWARE and our valued customers. Unfortunately this means that C++ projects from Chameleon versions prior to Version 3.212, Build 313 will need to be altered. The functionality that used to be provided by iostream has been replaced by equivalent methods that make use of the CHMstring class in the library. This section of the manual show the changes required in detail and also suggests some migration strategies to minimize the amount of effort required to upgrade older code. As of Chameleon Version 3.212 Build 313 the IOostream, CHMostream, CHMstrstream, and CHMfstream classes have been removed from the CHM library. As a result the PrintOn(IOostream& Stream) and associated IOostream& operator<< methods of several CHM classes have been deprecated and removed. The functionality has been replaced by CHMstring Dump() methods. In addition, OutputStream(IOstream& Stream) methods have been removed. The affected classes are: The CHMlineFeedConverter class has also been removed from CHM. It has been replaced by the CHMstring CHMlineFeedConvert(COLchar* pMessage) function in CHMutil. |