summaryrefslogtreecommitdiff
path: root/src/core/XML.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/XML.hpp')
-rw-r--r--src/core/XML.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/XML.hpp b/src/core/XML.hpp
index 67489f1..a1021d3 100644
--- a/src/core/XML.hpp
+++ b/src/core/XML.hpp
@@ -150,6 +150,11 @@ public:
{
children.insert(children.end(), c.begin(), c.end());
}
+
+ const std::map<std::string, std::string> &getAttributes() const
+ {
+ return attributes;
+ }
};
class Text : public Node {
@@ -176,4 +181,4 @@ extern const Rtti XMLElement;
extern const Rtti XMLText;
}
}
-#endif
+#endif \ No newline at end of file