Tools.h++ Manual

104011 Tandem Computers Incorporated 21-215
21
void toUpper()
;
Changes all lower-case letters in self to upper-case. Uses the C library function
towupper()
.
Static public
member functions
static size_t initialCapacity(size_t ic = 15);
Sets the minimum initial capacity of an
RWWString
, and returns the old value.
The initial setting is 15 characters. Larger values will use more memory, but
result in fewer resizes when concatenating or reading strings. Smaller values
will waste less memory, but result in more resizes.
static size_t maxWaste(size_t mw = 15);
Sets the maximum amount of unused space allowed in a string should it
shrink, and returns the old value. The initial setting is 15 characters. If more
than
mw
characters are wasted, then excess space will be reclaimed.
static size_t resizeIncrement(size_t ri = 16);
Sets the resize increment when more memory is needed to grow a string.
Returns the old value. The initial setting is 16 characters.
Related global operators
RWBoolean operator==(const RWWString&, const
wchar_t* );
RWBoolean operator==(const wchar_t*, const
RWWString&);
RWBoolean operator==(const RWWString&, const
RWWString&);
RWBoolean operator!=(const RWWString&, const
wchar_t* );
RWBoolean operator!=(const wchar_t*, const
RWWString&);
RWBoolean operator!=(const RWWString&, const
RWWString&);
Logical equality and inequality. Case sensitivity is exact.
RWBoolean operator< (const RWWString&, const
wchar_t* );
RWBoolean operator< (const wchar_t*, const
RWWString&);
RWBoolean operator< (const RWWString&, const
RWWString&);
RWBoolean operator> (const RWWString&, const