21 #ifndef __ANTARES_LIBS_STUDY_HEADER_H__
22 #define __ANTARES_LIBS_STUDY_HEADER_H__
27 #include <yuni/yuni.h>
28 #include <yuni/core/string.h>
30 #include <antares/inifile/inifile.h>
35 #define STUDYHEADER_DEFAULT_AUTHOR "Unknown"
37 #define STUDYHEADER_DEFAULT_CAPTION "No title"
39 namespace Antares::Data
84 bool loadFromFile(
const std::filesystem::path& filename,
bool warnings =
true);
95 bool saveToFile(
const AnyString& filename,
bool upgradeVersion =
true);
109 bool validateVersion();
128 bool internalLoadFromINIFile(
const IniFile& ini,
bool warnings);
131 static bool internalFindVersionFromFile(
const IniFile& ini, std::string&
version);
Version of a study.
Definition: version.h:36
Data for an INI file.
Definition: inifile.h:34