RWFile
Class RWFile is an abstraction of a file system’s file. The interface for this class is based on class PFile of the Interviews Class Library (Stanford University, 1987), but has been modernized by Rogue Wave to use const modifiers, and to port to various operating systems. The member function names begin with upper case letters in order to maintain compatibility with class PFile.
There are member functions to flush the file, and to test whether the file operation has an error, is empty, or at the end-of-file.