X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fxmlstructure.h;h=c07dd2f4fde56b96ef04849098a0c471b3034b43;hb=HEAD;hp=6f3f6586100644bbf69ae54b79ec67fadd35425c;hpb=15c82487a77555b040f3f4e03bc11da8b9bc5905;p=lsystem3d.git diff --git a/src/xmlstructure.h b/src/xmlstructure.h index 6f3f658..c07dd2f 100644 --- a/src/xmlstructure.h +++ b/src/xmlstructure.h @@ -1,6 +1,6 @@ // Copyright (C) 2006 Erik Dahlberg // -// This file is part of LSystem3d. +// This file is part of LSystem3D. // // LSystem3D is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -39,6 +39,7 @@ using namespace std; class XMLStructure { public: + /** * Constructor */ @@ -52,7 +53,6 @@ public: protected: // Saver - // ----- /** * Create new document with root node @@ -93,7 +93,6 @@ protected: // Loader - // ------ /** * Load document from file @@ -133,6 +132,14 @@ protected: */ string getAttribute(string name); + + /** + * Convert double to string + * @param doubleValue the double value + * @return the corresponding string + */ + string doubleToString(double doubleValue); + private: // Saver