Tools.h++ Class Reference

Table Of Contents
const char*
GetName();
Returns the file name.
FILE*
GetStream();
Returns the FILE* that underlies the RWFile interface. Provided for users who need to
"get under the hood" for system-dependent inquiries, etc. Do not use to alter the state of
the file!
RWBoolean
IsEmpty();
Returns TRUE if the file contains no data, FALSE otherwise.
RWBoolean
isValid() const;
Returns TRUE if the file was successfully opened, FALSE otherwise.
RWBoolean
Read(char& c);
RWBoolean
Read(wchar_t& wc);
RWBoolean
Read(short& i);
RWBoolean
Read(int& i);
RWBoolean
Read(long& i);
RWBoolean
Read(unsigned char& c);
RWBoolean
Read(unsigned short& i);
RWBoolean
Read(unsigned int& i);
RWBoolean
Read(unsigned long& i);
RWBoolean
Read(float& f);
RWBoolean
Read(double& d);
Reads the indicated built-in type. Returns TRUE if the read is successful.
RWBoolean
Read(char* i, size_t count);
RWBoolean