#include <Config.h>
Inheritance diagram for Config::FileWriter:
Definition at line 114 of file Config.h.
Public Member Functions | |
FileWriter () | |
Creates a new file writer. | |
bool | Open (const char *fileName) |
Opens a file for the writer. | |
virtual bool | Write (const char *string) |
Writes a string to the writer's target. | |
virtual bool | Write (char character) |
Writes a character to the writer's target. | |
virtual | ~FileWriter () |
Destroys the file writer. | |
Private Attributes | |
FILE * | File |
The file to write to. |
|
Creates a new file writer.
|
|
Destroys the file writer. This also closes the open file, if any. |
|
Opens a file for the writer. The method fails if you try this twice.
|
|
Writes a string to the writer's target.
Reimplemented from Config::Writer. |
|
Writes a character to the writer's target.
Reimplemented from Config::Writer. |
|
The file to write to.
|