Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
MathLoggerFile Class Reference
Inheritance diagram for MathLoggerFile:
MathLoggerImplementation MathLoggerBehaviour ILoggerXpansion

Public Member Functions

 MathLoggerFile (const BENDERSMETHOD &method, const std::filesystem::path &log_file, std::streamsize width=30)
 
void display_message (const std::string &msg) override
 pure virtual method to display a std::string message
 
void display_message (const std::string &msg, LogUtils::LOGLEVEL level, const std::string &context) override
 
virtual void PrintIterationSeparatorBegin () override
 
virtual void PrintIterationSeparatorEnd () override
 
- Public Member Functions inherited from MathLoggerImplementation
 MathLoggerImplementation (const BENDERSMETHOD &method, const std::filesystem::path &file_path, std::streamsize width=40, HEADERSTYPE type=HEADERSTYPE::LONG)
 
 MathLoggerImplementation (const BENDERSMETHOD &method, std::streamsize width=40, HEADERSTYPE type=HEADERSTYPE::LONG)
 
 MathLoggerImplementation (std::shared_ptr< MathLogger > implementation)
 
void display_message (const std::string &str) override
 pure virtual method to display a std::string message
 
void display_message (const std::string &str, LogUtils::LOGLEVEL level, const std::string &context) override
 
void Print (const CurrentIterationData &data) override
 
void PrintIterationSeparatorBegin () override
 
void PrintIterationSeparatorEnd () override
 
- Public Member Functions inherited from MathLoggerBehaviour
void write_header ()
 
- Public Member Functions inherited from ILoggerXpansion
void display_message (const std::ostringstream &msg)
 

Additional Inherited Members

- Protected Member Functions inherited from MathLoggerImplementation
void setHeadersList () override
 
std::vector< std::string > Headers () const override
 
LogDestinationLogsDestination () override
 

Member Function Documentation

◆ display_message() [1/2]

void MathLoggerFile::display_message ( const std::string & str)
overridevirtual

pure virtual method to display a std::string message

Parameters
strthe message to be displayed

Implements ILoggerXpansion.

◆ display_message() [2/2]

void MathLoggerFile::display_message ( const std::string & msg,
LogUtils::LOGLEVEL level,
const std::string & context )
overridevirtual

Implements ILoggerXpansion.

◆ PrintIterationSeparatorBegin()

void MathLoggerFile::PrintIterationSeparatorBegin ( )
overridevirtual

Reimplemented from MathLoggerBehaviour.

◆ PrintIterationSeparatorEnd()

void MathLoggerFile::PrintIterationSeparatorEnd ( )
overridevirtual

Reimplemented from MathLoggerBehaviour.


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