int ZCE_Conf_PropertyTree::path_get_leaf(const std::string &path_str, const std::string &key_str, ZCE_Sockaddr_In6 &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_In6 str_to_value(const char *str) { ZCE_Sockaddr_In6 val; val.set(str); return val; }