9#ifndef DISABLE_DEBUG_ASSISTANT
45 if(fileName ==
""){
return getTxtFile(PPath(
"default.txt"));}
52 std::ofstream * ptFs =
new std::ofstream;
64 if(fileName ==
""){
return getBinFile(PPath(
"default.bin"));}
71 PStream * ptFs =
new PStream;
72 ptFs->open(fileName,
"w");
PMapBinstream p_mapBinStream
Map of binary stream.
std::ofstream & getTxtFile(const PPath &fileName=PPath("default.txt"))
Returns a file stream for the given file name.
void clearBin()
Clear the file stream Map by closing all the binary files.
PDebugAssistant()
Constructor of PDebugAssistant.
PStream & getBinFile(const PPath &fileName=PPath("default.bin"))
Returns a file stream for the given file name.
void clearTxt()
Clear the file stream Map by closing all the files.
virtual ~PDebugAssistant()
Destructor of PDebugAssistant.
PMapOfstream p_mapFileStreamTxt
Map of text file streams.