TuttleOFX  1
FileGlobal Class Reference

Output datas in the same file from anywhere. More...

#include <FileGlobal.hpp>

Inheritance diagram for FileGlobal:
Collaboration diagram for FileGlobal:

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 >

Detailed Description

Output datas in the same file from anywhere.

Definition at line 13 of file FileGlobal.hpp.


Constructor & Destructor Documentation

FileGlobal::FileGlobal ( ) [inline, private]

Definition at line 19 of file FileGlobal.hpp.

FileGlobal::~FileGlobal ( ) [inline, private]

Definition at line 20 of file FileGlobal.hpp.


Member Function Documentation

void FileGlobal::closeFile ( ) [inline]

File close.

Definition at line 42 of file FileGlobal.hpp.

References _flux.

void FileGlobal::openFile ( std::string  fileName) [inline]

File creation.

Parameters:
[in]fileName: file to create

Definition at line 28 of file FileGlobal.hpp.

References _flux.


Friends And Related Function Documentation

friend class Singleton< FileGlobal > [friend]

Definition at line 16 of file FileGlobal.hpp.


Field Documentation

std::ofstream FileGlobal::_flux

Definition at line 23 of file FileGlobal.hpp.

Referenced by closeFile(), and openFile().


The documentation for this class was generated from the following file: