Tools.h++ Class Reference

Table Of Contents
Redefined from class RWvostream. Store the unsigned short s to the output stream using
a portable format.
operator void*();
Inherited via RWvostream from RWvios.
Public Member Functions
int
precision() const;
Returns the currently set precision used for writing float and double data. At construction,
the precision is set to RW_DEFAULT_PRECISION (defined in compiler.h.)
int
precision(int p);
Changes the precision used for writing float and double data. Returns the previously set
precision. At construction, the precision is set to RW_DEFAULT_PRECISION (defined
in compiler.h.)
virtual RWvostream&
flush();
Send the contents of the stream buffer to output immediately.
virtual RWvostream&
put(char c);
Redefined from class RWvostream. Store the char c to the output stream, preserving its
value using a portable format. This member only preserves ASCII numerical codes, not
the coresponding character symbol.
virtual RWvostream&
put(wchar_t wc);
Redefined from class RWvostream. Store the wide character wc to the output stream,
preserving its value using a portable format.
virtual RWvostream&
put(unsigned char c);
Redefined from class RWvostream. Store the unsigned char c to the output stream,
preserving its value using a portable format.
virtual RWvostream&
put(const char* p, size_t N);
Redefined from class RWvostream. Store the vector of chars starting at p to the output
stream, preserving their values using a portable format. Note that the characters will be
treated as literal numbers (i.e., not as a character string).