13 #ifndef PARAMETERS_FACTORY_INCLUDED
14 #define PARAMETERS_FACTORY_INCLUDED
88 std::vector<std::string>
string_tokenize(
const std::string& src,
const char delim =
'.');
89 std::string
string_concat(
const std::vector<std::string>& src,
const char delim =
'.');
std::string string_concat(const std::vector< std::string > &src, const char delim= '.')
Parameters * create_parameters(const std::string &realm)
bool register_callback(const std::string &realm, const creator_callback &cb)
void(* creator_callback)(Parameters &)
static Parameters * New(const std::string &realm)
std::map< std::string, creator_callback_list > database_type
static ParametersFactory & Instance()
ParametersFactory & operator=(const ParametersFactory &)
static ParametersFactory * s_instance
static bool Register(const std::string &realm, const creator_callback &cb)
std::list< creator_callback > creator_callback_list
std::vector< std::string > string_tokenize(const std::string &src, const char delim= '.')
static void CreateInstance()