#include <filewriter.h>

Public Member Functions | |
| FileWriter () | |
| The constructor. | |
| ~FileWriter () | |
| The destructor. | |
| CrissCross::Errors | Open (const char *_file, FileWriteMode _writeMode=CC_FILE_CREATE, LineEndingType _lnEnding=CC_LN_NATIVE) |
| Opens the provided file. | |
| CrissCross::Errors | Close () |
| Closes the file. | |
Protected Attributes | |
| const char * | m_filePath |
| The path to the file being written. | |
Inherits CoreIO, so functions like CoreIO::Write and CoreIO::WriteLine are accessible to the programmer.
| ~FileWriter | ( | ) |
The destructor.
Flushes the output buffer, closes the file, and deallocates memory used by FileWriter.
| CrissCross::Errors Close | ( | ) |
Closes the file.
Flushes the output buffer, closes the file, and deallocates memory used by FileWriter.
| CrissCross::Errors Open | ( | const char * | _file, | |
| FileWriteMode | _writeMode = CC_FILE_CREATE, |
|||
| LineEndingType | _lnEnding = CC_LN_NATIVE | |||
| ) |
Opens the provided file.
Opens the file for reading.
| _file | The path of the file to be read. | |
| _writeMode | The mode with which to open the file. | |
| _lnEnding | The line ending type to use. |
1.5.8