26 const std::filesystem::path& areaFile,
27 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger);
30 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger):
35 std::vector<IntercoFileData> ReadAntaresIntercoFile(
36 const std::filesystem::path& antaresIntercoFile)
const;
37 std::vector<IntercoFileData> ReadAntaresIntercoFile(
38 std::istringstream& antaresIntercoFileInStringStream)
const;
40 std::vector<IntercoFileData> ReadLineByLineInterco(std::istream& stream)
const;
41 std::vector<CandidateData> readCandidateData(
const std::filesystem::path& candidateFile)
const;
45 using LogUtils::XpansionError<std::runtime_error>::XpansionError;
49 bool checkArea(
const std::string& areaName_p)
const;
50 CandidateData readCandidateSection(
const std::filesystem::path& candidateFile,
52 const std::string& sectionName,
53 std::ostringstream& err_msg)
const;
55 std::map<std::string, int> _intercoIndexMap;
56 std::vector<IntercoFileData> _intercoFileData;
57 std::vector<std::string> _areaNames;
58 std::shared_ptr<ProblemGenerationLog::ProblemGenerationLogger> logger_;
59 void ProcessAreaFile(
const std::filesystem::path& areaFile);