From b339a6b5129d40ea733e2d0a911c27dec41f10c8 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Wed, 11 Aug 2021 01:26:25 +0200
Subject: [PATCH] EHN: implement Parent::GetDescription()

---
 src/caosdb/entity.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp
index 1d61666..987f216 100644
--- a/src/caosdb/entity.cpp
+++ b/src/caosdb/entity.cpp
@@ -47,6 +47,10 @@ auto Parent::SetName(const std::string &name) -> void {
   this->wrapped->set_name(name);
 }
 
+auto Parent::GetDescription() const -> const std::string & {
+  return this->wrapped->description();
+}
+
 auto Parent::SetId(const std::string &id) -> void { this->wrapped->set_id(id); }
 
 [[nodiscard]] auto Parent::GetId() const -> const std::string & {
-- 
GitLab