From 830ee22b85f1e91c547354435af2b6a79578f7ce Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 20 Apr 2020 22:06:11 +0200 Subject: Add cc4group.isChild --- src/cppc4group.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cppc4group.hpp') diff --git a/src/cppc4group.hpp b/src/cppc4group.hpp index 33cf2cc..7ede7ae 100644 --- a/src/cppc4group.hpp +++ b/src/cppc4group.hpp @@ -193,6 +193,7 @@ 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(); }; inline bool operator&(CppC4Group::AllowedEntryTypes lhs, CppC4Group::AllowedEntryTypes rhs) -- cgit v1.2.3-54-g00ecf