19 #ifndef _ALG_CONFIG_POOL_H_
20 #define _ALG_CONFIG_POOL_H_
38 ostream &
operator << (ostream & stream,
const AlgConfigPool & cp);
57 void Print(ostream & stream)
const;
75 bool LoadRegistries (
string key_base,
string file_name,
string root);
105 #endif // _ALG_CONFIG_POOL_H_
vector< string > fConfigKeyList
list of all available configuration keys
void DummyMethodAndSilentCompiler()
bool LoadGlobalParamLists(void)
void Print(ostream &stream) const
A singleton class holding all configuration registries built while parsing all loaded XML configurati...
Algorithm abstract base class.
void AddConfigParameter(Registry *r, string pt, string pn, string pv)
bool LoadSingleAlgConfig(string alg_name, string file_name)
Registry * CommonList(const string &file_id, const string &set_name) const
int AddParameterMatrix(Registry *r, string pt, string pn, string pv, const string &rowdelim, const string &coldelim)
void AddRootObjParameter(Registry *r, string pt, string pn, string pv)
static AlgConfigPool * fInstance
Registry * TuneGeneratorList(void) const
void AddBasicParameter(Registry *r, string pt, string pn, string pv)
bool LoadTuneGeneratorList(void)
const vector< string > & ConfigKeyList(void) const
Registry * GlobalParameterList(void) const
Algorithm ID (algorithm name + configuration set name)
int AddParameterVector(Registry *r, string pt, string pn, string pv, const string &delim=";")
bool LoadMasterConfigs(void)
bool LoadRegistries(string key_base, string file_name, string root)
map< string, string > fConfigFiles
algorithm -> XML config file
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
A registry. Provides the container for algorithm configuration parameters.
map< string, Registry * > fRegistryPool
algorithm/param_set -> Registry
bool LoadMasterConfig(std::string configname)
Registry * FindRegistry(string key) const
friend ostream & operator<<(ostream &stream, const AlgConfigPool &cp)
string BuildConfigKey(string alg_name, string param_set) const
bool LoadCommonLists(const string &file_id)
static AlgConfigPool * Instance()
string fMasterConfig
lists config files for all algorithms