void for_each(const std::function< void(const std::string &name, const std::string &value, bool read)> &fn) const
std::vector< std::string > instances_with(const std::string &field, const std::string &value) const
static std::vector< std::string > split_csv(const std::string &s)
void mark_all_unread() const
Definition parser.h:73
bool was_read(const std::string &name) const
Definition parser.h:78
std::vector< std::string > unread_parameters() const
static FileContent from_file(const std::string &filename)
const std::string & get_filename() const
Definition parser.h:52
T get_or(const std::string &name, T fallback) const
Definition parser.h:64
void set(const std::string &name, const std::string &value)
std::optional< T > get(const std::string &name) const
std::string get_or(const std::string &name, const char *fallback) const
static bool parse_line(const std::string &line, std::string &name, std::string &value)
FileContent & operator+=(const FileContent &other)