9 #ifndef _atm_ModelRegister_h_
10 #define _atm_ModelRegister_h_
27 template<
typename ModelType>
33 void RegisterModel(
const std::string& modelName, ModelType*
const model);
35 ModelType&
Get(
const std::string& name);
36 const ModelType&
Get(
const std::string& name)
const;
47 #endif // _atm_ModelRegister_h_
void RegisterModel(const std::string &modelName, ModelType *const model)
Registry of atmosphere models.
std::map< std::string, ModelType * > InternalCollection
ModelType & Get(const std::string &name)