Tools.h++ Class Reference

Table Of Contents
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&);
Comparisons are done lexicographically, byte by byte. Case sensitivity is exact. Use member collate() or
strxfrm() for locale sensitivity.
RWWString
operator+(const RWWString&, const RWWString&);
RWWString
operator+(const wchar_t*, const RWWString&);
RWWString
operator+(const RWWString&, const wchar_t* );
Concatenation operators.
ostream&
operator<<(ostream& s, const RWWString& str);
Output an RWWString on ostream s. Each character of str is first converted to a multibyte character before
being shifted out to s.
istream&
operator>>(istream& s, RWWString& str);
Calls str.readToken(s). That is, a token is read from the input stream s.
RWvostream&
operator<<(RWvostream&, const RWWString& str);
RWFile&
operator<<(RWFile&, const RWWString& str);
Saves string str to a virtual stream or RWFile, respectively.
RWvistream&
operator>>(RWvistream&, RWWString& str);
RWFile&
operator>>(RWFile&, RWWString& str);
Restores a wide character string into str from a virtual stream or RWFile, respectively, replacing the previous
contents of str.
Related Global Functions
RWWString
strXForm(const RWWString&);
Returns a string transformed by ::wsxfrm(), to allow quicker collation than RWWString::collate().
RWWString
toLower(const RWWString& str);
Returns a version of str where all upper-case characters have been replaced with lower-case characters. Uses
the C library function towlower().