32 void AddFile(std::string
const& name,
bool verbose_errors =
true);
46 std::string
FindFile(std::string name,
bool verbose_errors =
true);
static std::string GetConfigInstallationPrefix()
std::deque< std::string > m_directories
Stack of directories to search for a file.
std::deque< std::string > m_files
Stack of file names to parse.
ConfigFileReader(std::string_view name="config", bool set_default_dirs=true)
void PrintDirectories(Logger::Level const level=Logger::info)
void AddFile(std::string const &name, bool verbose_errors=true)
std::string FindFile(std::string name, bool verbose_errors=true)
void AddDirectory(std::string const &dir)
Object(std::string_view name="", Logger::Level lev=Logger::DEFAULT_LEVEL)