#pragma once
#include "core/service/parameter/simulation_parameters.h"
#include <optional>
namespace simulation_framework
{
namespace core
{
class CliParser final
{
public:
bool Parse(int argc, const char** argv);
std::string GetParserMessage() const;
const SimulationParameters& GetSimulationParameters() const;
std::optional<std::string> GetInputFileByName(const std::string& name) const;
std::string GetSimulationConfig() const;
private:
bool ConvertFileStringIntoFiles(const std::vector<std::string>& input_args, std::vector<File>& files);
SimulationParameters core_parameters_{};
std::string parser_message_{};
};
} // namespace core
} // namespace simulation_framework
cli_parser.h
Was this page helpful?