#include <cmconfig.h>
Static Public Member Functions | |
static Config * | config_object (const string &) |
Static Private Member Functions | |
template<class CFG_type> | |
static Config * | new_config (const string &) |
This factory will instantiate and return a class of the correct configuration-file-dependent type, based on filename. In the future, this should likely be based on something else.
Definition at line 121 of file cmconfig.h.
Config * ConfigFactory::config_object | ( | const string & | filename | ) | [static] |
Return the sub-class object appropriate based on the argument filename
Definition at line 260 of file cmconfig.cc.
Referenced by main().
Config * ConfigFactory::new_config | ( | const string & | filename | ) | [inline, static, private] |
Definition at line 303 of file cmconfig.cc.