|
imebra
build 2011-09-18_22-24-41
|
This class derives from the baseStream class and implements a file stream. More...
#include <stream.h>
Public Member Functions | |
| void | openFile (const std::string &fileName, const int mode) |
| Open a file. | |
This class derives from the baseStream class and implements a file stream.
This class can be used to read/write on physical files in the mass storage.
| void puntoexe::stream::openFile | ( | const std::string & | fileName, |
| const int | mode | ||
| ) |
Open a file.
The function uses the standard library function fopen to open the specified file.
The created file object will be automatically closed and destroyed when one of the following events will occur:
| fileName | the name of the file to be opened |
| mode | the opening mode. Can be the combination of one or more of the following values:
|