Tools.h++ Manual

104011 Tandem Computers Incorporated 21-113
21
RWBoolean Write(float f);
RWBoolean Write(double d);
Writes the appropriate built-in type. Returns
TRUE
if the write is successful.
RWBoolean Write(const char* i, size_t
count);
RWBoolean Write(const wchar_t* i, size_t
count);
RWBoolean Write(const short* i, size_t
count);
RWBoolean Write(const int* i, size_t
count);
RWBoolean Write(const long* i, size_t
count);
RWBoolean Write(const unsigned char* i,
size_t count);
RWBoolean Write(const unsigned int* i,
size_t count);
RWBoolean Write(const float* i, size_t
count);
RWBoolean Write(const double* i, size_t
count);
Writes
count
instances of the indicated built-in type from a block pointed to
by
i
. Returns
TRUE
if the write is successful.
RWBoolean Write(const char* string);
Writes a character string, including the terminating null character, from a block
pointed to by
string
. Returns
TRUE
if the write is successful.
Caution – Beware of non-terminated strings when using this function.
Static public
member functions
static RWBoolean Exists(const char* filename);
Returns
TRUE
if an
RWFile
with name
filename
exists, with read/write
permission.
!