diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2020-04-20 22:06:11 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2020-04-20 22:06:11 +0200 |
| commit | 830ee22b85f1e91c547354435af2b6a79578f7ce (patch) | |
| tree | 5eb5e9ba8c7d1e76dca5869d50a5b88fc54102a6 /src/cppc4group.hpp | |
| parent | 4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886 (diff) | |
| download | cc4group-830ee22b85f1e91c547354435af2b6a79578f7ce.tar.gz cc4group-830ee22b85f1e91c547354435af2b6a79578f7ce.zip | |
Add cc4group.isChild
Diffstat (limited to 'src/cppc4group.hpp')
| -rw-r--r-- | src/cppc4group.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<CppC4Group> openAsChild(const std::string& path); + bool isChild(); }; inline bool operator&(CppC4Group::AllowedEntryTypes lhs, CppC4Group::AllowedEntryTypes rhs) |
