Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
LastIterationReader.h
1#ifndef __LASTITERATIONREADER_H__
2#include <filesystem>
3#include <json/reader.h>
4
5#include "antares-xpansion/xpansion_interfaces/ILogger.h"
6
8{
9public:
10 explicit LastIterationReader(const std::filesystem::path& last_iteration_file);
11 std::pair<LogData, LogData> LastIterationData();
12 bool IsLastIterationFileValid() const;
13
14private:
15 LogData GetIterationData(const std::string& iteration_name);
16 std::filesystem::path last_iteration_file_;
17 Json::Value last_iteration_file_content_;
18};
19
20#define __LASTITERATIONREADER_H__
21#endif // __LASTITERATIONREADER_H__
Definition LastIterationReader.h:8
Definition ILogger.h:51