summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppc4group.cpp')
-rw-r--r--src/cppc4group.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/cppc4group.cpp b/src/cppc4group.cpp
index 31dab62..35b589a 100644
--- a/src/cppc4group.cpp
+++ b/src/cppc4group.cpp
@@ -492,3 +492,26 @@ bool CppC4Group::isChild()
{
return cc4group.isChild(p->g);
}
+
+std::string CppC4Group::getName() const
+{
+ std::string ret;
+ const auto result = cc4group.getName(p->g);
+ if(result != nullptr)
+ {
+ ret = result;
+ }
+ return result;
+}
+
+std::string CppC4Group::getFullName() const
+{
+ const auto result = cc4group.getFullName(p->g);
+ std::string ret;
+ if(result != nullptr)
+ {
+ ret = result;
+ free(result);
+ }
+ return result;
+}