Go to the documentation of this file.
   50                 _infoFileStream(infoFileName.c_str()),
 
   51                 _warningFileStream(warningFileName.c_str()),
 
   53                 _warningStream(nullptr)
 
   63                                 throw runtime_error(
string(
"FileLogger::Cannot open info stream to file ") + 
infoFileName);
 
   76                                 throw runtime_error(
string(
"FileLogger::Cannot open warning stream to file ") + 
warningFileName);
 
   99                         _infoStream << 
" (at " << file << 
":" << line << 
" in " << func << 
" )" << endl; 
 
  121                         _warningStream << 
" (at " << file << 
":" << line << 
" in " << func << 
" )" << endl;
 
  
virtual void beginWarningEntry(const char *file, unsigned line, const char *func)
Start a new entry into the warning channel.
virtual void beginInfoEntry(const char *file, unsigned line, const char *func)
Start a new entry into the info channel.
const std::string warningFileName
std::ofstream _infoFileStream
const bool displayLocation
The logger interface, used to output warnings and informations.
virtual std::ostream * warningStream()
Return the warning stream, 0 if hasWarningChannel() returns false.
virtual void finishInfoEntry(const char *file, unsigned line, const char *func)
Finish the entry into the info channel.
virtual std::ostream * infoStream()
Return the info stream, 0 if hasInfoChannel() returns false.
const std::string infoFileName
virtual void finishWarningEntry(const char *file, unsigned line, const char *func)
Finish the entry into the warning channel.
The superclass of classes that are constructed using generic parameters. This class provides the para...
const M::mapped_type & get(const M &m, const typename M::key_type &k)
virtual bool hasWarningChannel() const
Return whether this logger provides the warning channel.
std::ostream _warningStream
std::ofstream _warningFileStream
Functions and classes that are not dependant on scalar type are defined in this namespace.
virtual bool hasInfoChannel() const
Return whether this logger provides the info channel.
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
mp2p_icp
Author(s): 
autogenerated on Mon May 26 2025 02:45:49