7#ifndef __DEBUG_ASSISTANT_H__
8#define __DEBUG_ASSISTANT_H__
16# ifndef DISABLE_DEBUG_ASSISTANT
32 std::ofstream &
getTxtFile(
const PPath & fileName = PPath(
"default.txt"));
33 PStream &
getBinFile(
const PPath & fileName = PPath(
"default.bin"));
std::map< PPath, PStream * > PMapBinstream
Defines a PMap of PStream (for binary output)
std::map< PPath, std::ofstream * > PMapOfstream
Defines a PMap of ofstream.
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.