1 #ifndef __FLASHMATCHBASE_CONFIGMANAGER_CXX__
2 #define __FLASHMATCHBASE_CONFIGMANAGER_CXX__
13 std::cerr <<
"Duplicate addition of config fiel: " << cfg_file << std::endl;
14 throw std::exception();
PSet CreatePSetFromFile(std::string fname, std::string cfg_name)
Given a configuration file (full path), create and return flashmatch::PSet.
BEGIN_PROLOG could also be cerr
void add_pset(const PSet &p)
Insert method for a PSet rep.
std::set< std::string > _cfg_files
static ConfigManager * _me
void AddConfigString(const std::string cfg_str)
Adder of configuration from parsed string.
void AddConfigFile(const std::string cfg_file)
Adder of configuration from a file.
Utility functions in Base/PSet.
void add(const std::string &data)
Set data contents.
const PSet & GetConfig(const std::string cfg)
Configuration retrieval method.
Class def header for a class flashmatch::ConfigManager.
const PSet & get_pset(const std::string &key) const
None-template function to retrieve parameter set (deprecated)
A nested configuration parameter set holder for flashmatch framework.