19 #ifndef _ALG_CONFIG_POOL_H_ 20 #define _ALG_CONFIG_POOL_H_ 74 bool LoadRegistries (
string key_base,
string file_name,
string root);
102 #endif // _ALG_CONFIG_POOL_H_ vector< string > fConfigKeyList
list of all available configuration keys
void DummyMethodAndSilentCompiler()
THE MAIN GENIE PROJECT NAMESPACE
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
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 LoadRegistries(string key_base, string file_name, string root)
map< string, string > fConfigFiles
algorithm -> XML config file
bool LoadMasterConfig(void)
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
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