SerUt
|
A serializer for writing to and reading from files. More...
#include <fileserializer.h>
Public Types | |
enum | OpenMode { ReadOnly, WriteOnly, ReadWrite } |
Specifies the mode in which a file can be opened. More... | |
Public Member Functions | |
bool | open (const std::string &filename, OpenMode m) |
Open a file. | |
bool | close () |
Close a previously opened file. |
bool serut::FileSerializer::close | ( | ) |
bool serut::FileSerializer::open | ( | const std::string & | filename, |
OpenMode | m | ||
) |
Open a file.
filename | The name of the file to open |
m | The mode in which the file should be opened. |