Added some build rules for miniswig and the wrapper file
authorIngo Ruhnke <grumbel@gmx.de>
Sat, 21 Nov 2009 14:33:59 +0000 (14:33 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Sat, 21 Nov 2009 14:33:59 +0000 (14:33 +0000)
SVN-Revision: 6078

tools/miniswig/create_docu.hpp

index 0345de4..d5c60dc 100644 (file)
@@ -11,16 +11,20 @@ public:
     std::ostream& out;
     XmlWriter writer;
 
-    DocuCreator(std::ostream& _out = std::cout)
-        : out(_out), writer(out)
-    {
-        ind = "  ";
-    }
+    DocuCreator(std::ostream& _out = std::cout) :
+        ind("  "),
+        out(_out), 
+        writer(out)
+    }
 
     void create_docu(Namespace* ns);
     void create_class_docu(Class* _class);
     void create_function_docu(Class* _class, Function* function);
     std::string get_type(const Type& type);
+
+private:
+    DocuCreator(const DocuCreator&);
+    DocuCreator& operator=(const DocuCreator&);
 };
 
 #endif