summaryrefslogtreecommitdiff
path: root/src/core/Node.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2014-12-19 15:36:41 +0100
committerAndreas Stöckel <andreas@somweyr.de>2014-12-19 15:36:41 +0100
commit2eda4f5ba1e3ed0577e3804110debf102abc9d43 (patch)
treef7f823e10d32ebc96aba8d9014a148bd6a6d3a9b /src/core/Node.hpp
parent6fa81636f088654f154534fd939421a5b25d9c5c (diff)
parent3654efa59547d23b3c27715483999570daedc0b3 (diff)
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'src/core/Node.hpp')
-rw-r--r--src/core/Node.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Node.hpp b/src/core/Node.hpp
index 4bc95be..516da03 100644
--- a/src/core/Node.hpp
+++ b/src/core/Node.hpp
@@ -350,6 +350,11 @@ public:
* Returns the name of the node.
*/
std::string getName() const { return name; }
+
+ /**
+ * Returns a reference to the name of the node.
+ */
+ const std::string& getNameRef() const { return name; }
/**
* Specifies whether the node has a name, e.g. whether the current name is