From 6ac7567d9444969ea50bc532cc609911f650d68d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CKatrinBistreck=E2=80=9D?=
 <“katrin.bistreck@tuhh.de”>
Date: Thu, 13 Mar 2025 17:00:24 +0100
Subject: [PATCH] add getParent function

---
 aixml/include/aixml/node.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aixml/include/aixml/node.h b/aixml/include/aixml/node.h
index fcf99e76..441a3e4a 100644
--- a/aixml/include/aixml/node.h
+++ b/aixml/include/aixml/node.h
@@ -349,6 +349,7 @@ class AIXMLDLLEXPORT node {
   std::string name;
 
   auto getChildren() const -> const std::vector<node*>& { return children; }
+  auto getParent() const -> const node* { return parent; }
 
  private:
   std::map<std::string, std::string> attributes;
-- 
GitLab