beautypg.com

HP Integrity NonStop J-Series User Manual

Page 13

background image

Tools.h++ helps you master time.

Internationalization support

You can internationalize your software with the convenient and easy-to-use framework of
class

RWLocale

, and use class RWTimeZone to manipulate time zones and

daylight-saving time. The entire library is eight-bit clean, so you can use it with any
eight-bit character set. Embedded nulls are fully supported.

Endian streams

You can transfer information between operating systems with the efficiency of a binary
stream. The endian streams mechanism, which keeps a record of the operating
environment where information originates, allows the stream to be read on any system
regardless of its native size or byte order.

Multithread safe

You can count on multithread safety. When compiled with a multithread option, the
library uses multithread safe system facilities, with enough internal locking to maintain
its internal integrity. See the release notes for your compiler.

Persistent store

This new version of Tools.h++ enhances an already powerful and sophisticated store
facility. Isomorphic persistence, which maintains an object's pointer relationships, is now
supported for most Tools.h++ collections, including the template-based collections. You
can also implement isomorphic persistence on your own classes. Objects that inherit from

RWCollectable

have polymorphic persistence, which not only maintains

pointer-relationships, but also allows processes to restore objects without knowing their
types.

Template based classes

Twenty-eight new or re-engineered class templates based on the Standard C++ Library
container classes. You can use the full interface to these classes if your development
environment supports the Standard C++ Library. If you don't have the Standard C++
Library, Tools.h++ supplies template-based classes with a subset of the same interfaces.

Generic collection classes

If your compiler does not yet support templates, Tools.h++ includes a set of
template-like classes that use the C++ preprocessor and , a header file
included with most compilers. The interface to these generic classes is similar to the
template-based classes, so you can make an easy transition.

Smalltalk-like collection classes

You get a complete library of collection classes, modeled after the Smalltalk-80
programming environment, including

Set

,

Bag

,

Queue

,

Stack,

, OrderedCollection,

This manual is related to the following products: