Class for writing files.
More...
#include <FS_Writer.h>
Class for writing files.
Definition at line 32 of file FS_Writer.h.
FS_Writer::FS_Writer |
( |
const char * |
dest | ) |
|
Use this constructor to create a new writer. The specified file is created immediately.
FS_Writer::~FS_Writer |
( |
| ) |
|
void FS_Writer::close |
( |
| ) |
|
Closes the stream. After calling this function, the getStream() function will always return NULL
.
virtual int64 FS_Writer::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
virtual |
Get the amount of memory owned by this FS_Writer.
std::ostream* FS_Writer::getStream |
( |
| ) |
const |
This function retrieves the C++ stream object which you can interact with in the normal ways. If this function returns NULL
, the file specified in the constructor could not be created.
bool FS_Writer::removeFile |
( |
| ) |
|
The documentation for this class was generated from the following file: