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

Public Member Functions

 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)
 

Protected Member Functions

void setHeadersList () override
 
std::vector< std::string > Headers () const override
 
LogDestinationLogsDestination () override
 

Member Function Documentation

◆ display_message() [1/2]

void MathLoggerImplementation::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 MathLoggerImplementation::display_message ( const std::string & str,
LogUtils::LOGLEVEL level,
const std::string & context )
overridevirtual

Implements ILoggerXpansion.

◆ Headers()

std::vector< std::string > MathLoggerImplementation::Headers ( ) const
overrideprotectedvirtual

Implements MathLoggerBehaviour.

◆ LogsDestination()

LogDestination & MathLoggerImplementation::LogsDestination ( )
overrideprotectedvirtual

Implements MathLoggerBehaviour.

◆ Print()

void MathLoggerImplementation::Print ( const CurrentIterationData & data)
overridevirtual

Implements MathLoggerBehaviour.

◆ PrintIterationSeparatorBegin()

void MathLoggerImplementation::PrintIterationSeparatorBegin ( )
overridevirtual

Reimplemented from MathLoggerBehaviour.

◆ PrintIterationSeparatorEnd()

void MathLoggerImplementation::PrintIterationSeparatorEnd ( )
overridevirtual

Reimplemented from MathLoggerBehaviour.

◆ setHeadersList()

void MathLoggerImplementation::setHeadersList ( )
overrideprotectedvirtual

Implements MathLoggerBehaviour.


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