std::string ParameterPath::get_node_path()

in aws_common/src/sdk_utils/parameter_path.cpp [33:44]


std::string ParameterPath::get_node_path(char node_namespace_separator) const
{
  std::string resolved_path;
  /* Construct the node's path by the provided lists of keys */
  for (const auto & node_namespace : node_namespaces_) {
    resolved_path += node_namespace + node_namespace_separator;
  }
  if (!resolved_path.empty() && resolved_path.back() == node_namespace_separator) {
    resolved_path.pop_back();
  }
  return resolved_path;
}