diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-22 02:47:36 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-22 02:47:36 +0100 |
commit | 4df98e9ae04dd077e47f0a5539aeb68b96c710c4 (patch) | |
tree | 918950c16bbb6f112309f7c3c8a1e6aca12d3650 /src/core/model/Node.hpp | |
parent | f90a9bf51f300dd277071b1461d00411d7c21b89 (diff) | |
parent | 33008f1110523ae9c9b9e1d2ca24ed642637c40d (diff) |
Merge branch 'master' of somweyr.de:ousia
Diffstat (limited to 'src/core/model/Node.hpp')
-rw-r--r-- | src/core/model/Node.hpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/core/model/Node.hpp b/src/core/model/Node.hpp index 6b13c30..c5761a8 100644 --- a/src/core/model/Node.hpp +++ b/src/core/model/Node.hpp @@ -210,6 +210,13 @@ private: protected: /** + * Sets the parent node. + * + * @param parent is a Handle to the parent node. + */ + void setParent(Handle<Node> parent); + + /** * Function which should be overwritten by derived classes in order to * resolve node names to a list of possible nodes. The implementations of * this function do not need to do anything but call the @@ -451,13 +458,6 @@ public: Rooted<Managed> getParent() const { return parent; } /** - * Sets the parent node. - * - * @param parent is a Handle to the parent node. - */ - void setParent(Handle<Node> parent); - - /** * Returns true, if the node does not have a parent. Root nodes may either * be the root element of the complete DOM tree * @@ -512,6 +512,13 @@ public: * @return true if this Node is valid. */ bool validate(Logger &logger) const; + + /** + * Returns the current ValidationState of this Node. + * + * @return the current ValidationState of this Node. + */ + ValidationState getValidationState() const { return validationState; } }; /** |