]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make ParameterHandler get path function public.
authorMenno Fraters <menno.fraters@tutanota.com>
Thu, 13 Jun 2024 20:30:15 +0000 (16:30 -0400)
committerMenno Fraters <menno.fraters@tutanota.com>
Thu, 13 Jun 2024 20:30:15 +0000 (16:30 -0400)
include/deal.II/base/parameter_handler.h

index e4db023b97124920d972a120f12be98a4de92697..c8ff5a2dfea715a286ec77da4726f611914f4151 100644 (file)
@@ -1272,6 +1272,32 @@ public:
   bool
   subsection_path_exists(const std::vector<std::string> &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<std::string> &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<std::function<void(const std::string &)>> 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<std::string> &sub_path,
-                        const std::string              &name) const;
-
   /**
    * Scan one line of input. <tt>input_filename</tt> and
    * <tt>current_line_n</tt> are the name of the input file and the number of

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.