Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_NameSpaces / src / cpp / core / namespace / 02_classes / bd / Invention.h
diff --git a/WCudaMSE/Tuto_NameSpaces/src/cpp/core/namespace/02_classes/bd/Invention.h b/WCudaMSE/Tuto_NameSpaces/src/cpp/core/namespace/02_classes/bd/Invention.h
new file mode 100755 (executable)
index 0000000..cdaa2ff
--- /dev/null
@@ -0,0 +1,60 @@
+#ifndef INVENTION_H_\r
+#define INVENTION_H_\r
+\r
+#include <string>\r
+using std::string;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class Invention\r
+    {\r
+\r
+       /*-------------------------------------*\\r
+       |*              Constructor                 *|\r
+        \*-------------------------------------*/\r
+\r
+    public:\r
+\r
+       Invention(string name)\r
+           {\r
+           //rien\r
+           }\r
+\r
+       virtual ~Invention()\r
+           {\r
+           //rien\r
+           }\r
+\r
+       /*--------------------------------------*\\r
+        |*             Methodes                *|\r
+        \*-------------------------------------*/\r
+\r
+    public:\r
+\r
+       string getInventeur()\r
+           {\r
+           return name;\r
+           }\r
+\r
+       /*--------------------------------------*\\r
+        |*             Methodes                *|\r
+        \*-------------------------------------*/\r
+\r
+    private:\r
+\r
+       // Input\r
+       string name;\r
+\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r