X-Git-Url: https://git.piment-noir.org/?p=lsystem3d.git;a=blobdiff_plain;f=src%2Fxmlstructure.h;fp=src%2Fxmlstructure.h;h=c07dd2f4fde56b96ef04849098a0c471b3034b43;hp=0e5cd2a1b5cab20ac1a18b14ae231f8054985de8;hb=68a7b857d7778c1a7b33d916d062de317fdd5069;hpb=b983918b252749f97e0fe2a85dd86bb3306921cc diff --git a/src/xmlstructure.h b/src/xmlstructure.h index 0e5cd2a..c07dd2f 100644 --- a/src/xmlstructure.h +++ b/src/xmlstructure.h @@ -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