From: Menno Fraters Date: Thu, 13 Jun 2024 20:30:15 +0000 (-0400) Subject: Make ParameterHandler get path function public. X-Git-Tag: v9.6.0-rc1~190^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=251949ebe6b8b693ead4db742f5d90114539fbc4;p=dealii.git Make ParameterHandler get path function public. --- diff --git a/include/deal.II/base/parameter_handler.h b/include/deal.II/base/parameter_handler.h index e4db023b97..c8ff5a2dfe 100644 --- a/include/deal.II/base/parameter_handler.h +++ b/include/deal.II/base/parameter_handler.h @@ -1272,6 +1272,32 @@ public: bool subsection_path_exists(const std::vector &sub_path) const; + /** + * Return the string that identifies the current path into the property + * tree. This is only a path, i.e. it is not terminated by the + * path_separator character. + * + * This function simply calls collate_path_string() with + * @p subsection_path as argument + */ + std::string + get_current_path() const; + + /** + * Given the name of an entry as argument, the function computes a full path + * into the parameter tree using the current subsection. + */ + std::string + get_current_full_path(const std::string &name) const; + + /** + * This function computes a full path into the parameter tree given a path + * from the current subsection and the name of an entry. + */ + std::string + get_current_full_path(const std::vector &sub_path, + const std::string &name) const; + /** * Return value of entry @p entry_string. If the entry was changed, * then the changed value is returned, otherwise the default value. If the @@ -1785,32 +1811,6 @@ private: */ std::vector> actions; - /** - * Return the string that identifies the current path into the property - * tree. This is only a path, i.e. it is not terminated by the - * path_separator character. - * - * This function simply calls collate_path_string() with - * @p subsection_path as argument - */ - std::string - get_current_path() const; - - /** - * Given the name of an entry as argument, the function computes a full path - * into the parameter tree using the current subsection. - */ - std::string - get_current_full_path(const std::string &name) const; - - /** - * This function computes a full path into the parameter tree given a path - * from the current subsection and the name of an entry. - */ - std::string - get_current_full_path(const std::vector &sub_path, - const std::string &name) const; - /** * Scan one line of input. input_filename and * current_line_n are the name of the input file and the number of