COPASI API
4.40.278
|
#include <COptLog.h>
Public Member Functions | |
std::vector< COptLogEntry >::const_iterator | begin () const |
COptLog () | |
std::vector< COptLogEntry >::const_iterator | end () const |
void | enterLogEntry (COptLogEntry entry) |
size_t | getElementCount () const |
std::string | getPlainLog () const |
std::string | getRichLog () const |
virtual | ~COptLog () |
Private Attributes | |
std::vector< COptLogEntry > | mLogEntries |
COptLog::COptLog | ( | ) |
Default constructor.
COptLog class Container for a log of events registed by the copasi optimization methods. Stores a list of COptLogItems and has methods for generation of a complete log string.
|
virtual |
Destructor
std::vector< COptLogEntry >::const_iterator COptLog::begin | ( | ) | const |
References mLogEntries.
std::vector< COptLogEntry >::const_iterator COptLog::end | ( | ) | const |
References mLogEntries.
void COptLog::enterLogEntry | ( | COptLogEntry | entry | ) |
Enter a log message
COptLogEntry | entry |
References mLogEntries.
Referenced by COptMethodEP::creation(), COptMethodSRES::creation(), COptMethodDE::initialize(), COptMethodGASR::initialize(), COptMethodPS::initialize(), COptMethodSRES::initialize(), CTruncatedNewton::lmqnbc_(), lsout_(), CTruncatedNewton::modlnp_(), monit_(), COptMethodCoranaWalk::optimise(), COptMethodDE::optimise(), COptMethodEP::optimise(), COptMethodGA::optimise(), COptMethodGASR::optimise(), COptMethodHookeJeeves::optimise(), COptMethodLevenbergMarquardt::optimise(), COptMethodNelderMead::optimise(), COptMethodNL2SOL::optimise(), COptMethodPraxis::optimise(), COptMethodPS::optimise(), COptMethodSA::optimise(), COptMethodSRES::optimise(), COptMethodSteepestDescent::optimise(), COptMethodTruncatedNewton::optimise(), CRandomSearch::optimise(), and COptMethodTruncatedNewton::sFun().
size_t COptLog::getElementCount | ( | ) | const |
std::string COptLog::getPlainLog | ( | ) | const |
Retrieve the method log as plain text. Uses html tables for detailed log.
References mLogEntries.
std::string COptLog::getRichLog | ( | ) | const |
Retrieve the method log as rich text. Uses html headings, divs and tables.
References mLogEntries.
|
private |
A vector of all log entries
Referenced by begin(), end(), enterLogEntry(), getElementCount(), getPlainLog(), and getRichLog().