diff options
Diffstat (limited to 'src/xmldocument.h')
-rw-r--r-- | src/xmldocument.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmldocument.h b/src/xmldocument.h index f9a8606..1a8eb52 100644 --- a/src/xmldocument.h +++ b/src/xmldocument.h | |||
@@ -148,6 +148,14 @@ public: | |||
148 | XmlNode *getRoot(); | 148 | XmlNode *getRoot(); |
149 | 149 | ||
150 | /** | 150 | /** |
151 | * Get a pointer to the root object of this XmlDocument, and remove the | ||
152 | * ownership from this object. | ||
153 | *@returns A pointer to an internally owned XmlNode. Do not delete this | ||
154 | * XmlNode. | ||
155 | */ | ||
156 | XmlNode *detatchRoot(); | ||
157 | |||
158 | /** | ||
151 | * Get the current context node, which could be the same as the root node. | 159 | * Get the current context node, which could be the same as the root node. |
152 | *@returns A pointer to an internally owned XmlNode. Do not delete this | 160 | *@returns A pointer to an internally owned XmlNode. Do not delete this |
153 | * XmlNode. | 161 | * XmlNode. |