Skip to content
Snippets Groups Projects
Commit 6ac7567d authored by “KatrinBistreck”'s avatar “KatrinBistreck”
Browse files

add getParent function

parent a7166763
No related branches found
No related tags found
1 merge request!40add getParent function
...@@ -349,6 +349,7 @@ class AIXMLDLLEXPORT node { ...@@ -349,6 +349,7 @@ class AIXMLDLLEXPORT node {
std::string name; std::string name;
auto getChildren() const -> const std::vector<node*>& { return children; } auto getChildren() const -> const std::vector<node*>& { return children; }
auto getParent() const -> const node* { return parent; }
private: private:
std::map<std::string, std::string> attributes; std::map<std::string, std::string> attributes;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment