Tools.h++ Manual
3-8 104011 Tandem Computers Incorporated
3
operations on objects shared across threads. Tools.h++ does enough internal
locking to maintain its own internal integrity and uses appropriate
multithread-safe systems calls.
3.7 Eight-bit clean
All classes in Tools.h++ are eight-bit clean. This means that they can be used
with eight-bit code sets such as ISO Latin-1.
3.8 Embedded nulls
All classes in Tools.h++, including
RWCString
and
RWWString
, support
character sets with embedded nulls. This allows them to be used with
multibyte character sets.
3.9 Indexing
Indexes have type
size_t
, an unsigned integral type defined by your
compiler, usually in
<stddef.h>
. Because it is unsigned, this allows indexes
up to 64k minus one under 16 bit DOS.
Invalid indexes are signified by the special value
RW_NPOS
, defined in
<rw/defs.h>
.
3.10 Version
The version of Tools.h++ is given by the macro
RWTOOLS
, expressed as a
hexadecimal number. For example, version 6.0.1 would be 0x601. This can be
used for conditional compilations.
If the version is needed at run time, it can be obtained via the function
rwToolsVersion()
, declared in header file
<rw/tooldefs.h>
.
The following list is the public class hierarchy of the Tools.h++ classes. Classes
which use multiple inheritance are shown in italics.
Note – this is the public class hierarchy—the class implementations may use
private inheritance.