12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef _PARAMLOG_H_
- #define _PARAMLOG_H_
- #include <string>
- #include <fstream>
- #include "core/optimization/blackbox/OptLogBase.h"
- namespace OPTIMIZATION
- {
-
- class ParamLog : public OptLogBase
- {
- public:
-
-
- ParamLog(){};
-
-
- ParamLog( std::string file);
-
- virtual ~ParamLog();
-
- virtual void writeLogError(const char* szMessage);
-
- virtual void writeLogWarning(const char* szMessage);
-
- virtual void writeLogTrace(const char* szMessage);
-
- virtual void writeParamsToFile(OPTIMIZATION::matrix_type& parammatrix);
- private:
-
- std::ofstream m_stream;
- };
- }
- #endif
|