From 5c7511e4dc36dc25301c276e5e7a74ecebaf9063 Mon Sep 17 00:00:00 2001
From: renchao_lu <renchao.lu@gmail.com>
Date: Tue, 4 Jun 2019 18:23:43 +0200
Subject: [PATCH] [BL] Added a member function to get project file name.

---
 BaseLib/ConfigTree.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/BaseLib/ConfigTree.h b/BaseLib/ConfigTree.h
index 97b5aa72621..5ff3dbd4213 100644
--- a/BaseLib/ConfigTree.h
+++ b/BaseLib/ConfigTree.h
@@ -270,6 +270,9 @@ public:
     //! used anymore!
     ConfigTree& operator=(ConfigTree &&);
 
+    //! Used to get the project file name.
+    std::string const& getProjectFileName() const { return _filename; }
+
     /*! \name Methods for directly accessing parameter values
      *
      */
-- 
GitLab