From 20f8542d2730654ba7140dc59240c8d477476e77 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Tue, 21 Apr 2020 00:54:38 +0200 Subject: Add cc4group.getName and cc4group.getFullName --- src/cppc4group.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cppc4group.hpp') diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 7ede7ae..639fbf4 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -194,6 +194,9 @@ public: // to get the child group out of the optional in case of success, construct a new CppC4Group with the move constructor: CppC4Group child{std::move(*optionalChild)}; std::optional openAsChild(const std::string& path); bool isChild(); + + std::string getName() const; + std::string getFullName() const; }; inline bool operator&(CppC4Group::AllowedEntryTypes lhs, CppC4Group::AllowedEntryTypes rhs) -- cgit v1.2.3-54-g00ecf