From 251949ebe6b8b693ead4db742f5d90114539fbc4 Mon Sep 17 00:00:00 2001 From: Menno Fraters Date: Thu, 13 Jun 2024 16:30:15 -0400 Subject: [PATCH] Make ParameterHandler get path function public. --- include/deal.II/base/parameter_handler.h | 52 ++++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) 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 -- 2.39.5