![]() |
|
PhoenixDebug
1.0.0
Tool to ease debugging
|
Class able to treat Map of ofstream. More...
#include <PDebugAssistant.h>
Public Member Functions | |
| void | clearBin () |
| Clear the file stream Map by closing all the binary files. | |
| void | clearTxt () |
| Clear the file stream Map by closing all the files. | |
| PStream & | getBinFile (const PPath &fileName=PPath("default.bin")) |
| Returns a file stream for the given file name. | |
| std::ofstream & | getTxtFile (const PPath &fileName=PPath("default.txt")) |
| Returns a file stream for the given file name. | |
| PDebugAssistant () | |
| Constructor of PDebugAssistant. | |
| virtual | ~PDebugAssistant () |
| Destructor of PDebugAssistant. | |
Private Attributes | |
| PMapBinstream | p_mapBinStream |
| Map of binary stream. | |
| PMapOfstream | p_mapFileStreamTxt |
| Map of text file streams. | |
Class able to treat Map of ofstream.
Definition at line 24 of file PDebugAssistant.h.
| PDebugAssistant::PDebugAssistant | ( | ) |
|
virtual |
Destructor of PDebugAssistant.
Definition at line 16 of file PDebugAssistant.cpp.
References clearTxt().
Here is the call graph for this function:| void PDebugAssistant::clearBin | ( | ) |
Clear the file stream Map by closing all the binary files.
Definition at line 31 of file PDebugAssistant.cpp.
References p_mapBinStream.
| void PDebugAssistant::clearTxt | ( | ) |
Clear the file stream Map by closing all the files.
Definition at line 21 of file PDebugAssistant.cpp.
References p_mapFileStreamTxt.
Referenced by ~PDebugAssistant().
Here is the caller graph for this function:| PStream & PDebugAssistant::getBinFile | ( | const PPath & | fileName = PPath("default.bin") | ) |
Returns a file stream for the given file name.
| fileName | : file name we want to write in |
Definition at line 63 of file PDebugAssistant.cpp.
References getBinFile(), and p_mapBinStream.
Referenced by getBinFile().
Here is the call graph for this function:
Here is the caller graph for this function:| std::ofstream & PDebugAssistant::getTxtFile | ( | const PPath & | fileName = PPath("default.txt") | ) |
Returns a file stream for the given file name.
| fileName | : file name we want to write in |
Definition at line 44 of file PDebugAssistant.cpp.
References getTxtFile(), and p_mapFileStreamTxt.
Referenced by getTxtFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Map of binary stream.
Definition at line 40 of file PDebugAssistant.h.
Referenced by clearBin(), and getBinFile().
|
private |
Map of text file streams.
Definition at line 38 of file PDebugAssistant.h.
Referenced by clearTxt(), and getTxtFile().