C/C++ Programmer's Guide (G06.25+)
Accessing Middleware Using HP C and C++ for
NonStop Systems
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
6-2
User Documentation
User Documentation
•
Version 6.1: Tools.h++ Manual
•
Version 7: Tools.h++ User’s Guide and Tools.h++ Class Reference
These manuals are available on the HP NonStop user documentation disc using the
HP NonStop Technical Library (NTL) software.
Contents of the Tools.h++ Class Library (Version 7)
Tools.h++ version 7 is built on the Standard C++ Library, which is also available to HP
NonStop users (for more information, see Section 5, Using the Standard C++ Library).
The Tools.h++ package for version 7 includes:
•
Powerful single, multibyte, and wide character support
•
Extended regular expressions
•
Time and date handling classes
•
Internationalization support
•
Endian streams
•
Multithread safe
•
Persistent store
•
Template-based classes
•
Generic collection classes
•
Smalltalk-like collection classes
•
XDR streams for the OSS environment
•
Other features of interest include:
°
RWFile class encapsulates standard file operations.
°
B-tree disk retrieval uses B-trees for efficient keyed access to disk records.
°
File Space Manager allocates, deallocates, and coalesces free space within a
file.
°
A complete error handling facility takes advantage of C++ exceptions.
°
Additional classes include bit vectors, virtual I/O streams, cache managers,
and virtual arrays.
°
Support has been added for IEEE floating-point arithmetic in version 7 of
Tools.h++. Any routines that use float variables will automatically use the
correct floating-point format, determined by the floating-point format you have
specified (for more information, see pragma IEEE_FLOAT on page 13-45).
Migration Considerations for Version 7
Version 7 and version 6.1 are significantly different and are binarily incompatible. The
collection class templates were reengineered between the two versions to make the
templates compatible with the Standard C++ Library (VERSION2).
If you choose to move to version 7 and you have applications that were built using any
earlier version of Tools.h++, you must recompile those programs.