diff options
author | Wim van Aarle <wimvanaarle@gmail.com> | 2015-02-25 16:46:09 +0100 |
---|---|---|
committer | Wim van Aarle <wimvanaarle@gmail.com> | 2015-02-25 16:46:09 +0100 |
commit | 065d9c6a18f2b8eececc608ce850a9a308ca6356 (patch) | |
tree | 38ced94765ba77e2b710cd66fb4826f55f52250c /src/XMLDocument.cpp | |
parent | 9adc99793653c92d369bb2710b51c3c1a554b362 (diff) | |
download | astra-065d9c6a18f2b8eececc608ce850a9a308ca6356.tar.gz astra-065d9c6a18f2b8eececc608ce850a9a308ca6356.tar.bz2 astra-065d9c6a18f2b8eececc608ce850a9a308ca6356.tar.xz astra-065d9c6a18f2b8eececc608ce850a9a308ca6356.zip |
get_geometry now uses XML config object (for volumes)
Diffstat (limited to 'src/XMLDocument.cpp')
-rw-r--r-- | src/XMLDocument.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/XMLDocument.cpp b/src/XMLDocument.cpp index b39875b..406564f 100644 --- a/src/XMLDocument.cpp +++ b/src/XMLDocument.cpp @@ -109,4 +109,12 @@ void XMLDocument::saveToFile(string sFilename) } //----------------------------------------------------------------------------- +std::string XMLDocument::toString() +{ + std::stringstream ss; + ss << *fDOMDocument->first_node(); + return ss.str(); +} + +//----------------------------------------------------------------------------- |