Minor cleanup.
[lsystem3d.git] / src / xmlstructure.h
index 0e5cd2a1b5cab20ac1a18b14ae231f8054985de8..c07dd2f4fde56b96ef04849098a0c471b3034b43 100644 (file)
@@ -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