TuttleOFX
1
|
Output datas in the same file from anywhere. More...
#include <FileGlobal.hpp>
Public Member Functions | |
void | openFile (std::string fileName) |
File creation. | |
void | closeFile () |
File close. | |
Data Fields | |
std::ofstream | _flux |
Private Member Functions | |
FileGlobal () | |
~FileGlobal () | |
Friends | |
class | Singleton< FileGlobal > |
Output datas in the same file from anywhere.
Definition at line 13 of file FileGlobal.hpp.
FileGlobal::FileGlobal | ( | ) | [inline, private] |
Definition at line 19 of file FileGlobal.hpp.
FileGlobal::~FileGlobal | ( | ) | [inline, private] |
Definition at line 20 of file FileGlobal.hpp.
void FileGlobal::closeFile | ( | ) | [inline] |
void FileGlobal::openFile | ( | std::string | fileName | ) | [inline] |
File creation.
[in] | fileName | : file to create |
Definition at line 28 of file FileGlobal.hpp.
References _flux.
friend class Singleton< FileGlobal > [friend] |
Definition at line 16 of file FileGlobal.hpp.
std::ofstream FileGlobal::_flux |
Definition at line 23 of file FileGlobal.hpp.
Referenced by closeFile(), and openFile().