int ZCE_Conf_PropertyTree::path_get_leaf(const std::string &path_str, const std::string &key_str, ZCE_Sockaddr_In &val) const { std::string value_str; int ret = path_get_leaf<std::string>(path_str, key_str, value_str); if (0 != ret) { return ret; } val.set(value_str.c_str()); return 0; }
ZCE_Sockaddr_In str_to_value(const char *str) { ZCE_Sockaddr_In val; val.set(str); return val; }