Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Doxy / src / cpp / core / Cat.cpp
diff --git a/WCudaMSE/Tuto_Doxy/src/cpp/core/Cat.cpp b/WCudaMSE/Tuto_Doxy/src/cpp/core/Cat.cpp
new file mode 100755 (executable)
index 0000000..6eee0a0
--- /dev/null
@@ -0,0 +1,52 @@
+#include <iostream>
+
+#include "Cat.h"
+
+using std::cout;
+using std::endl;
+
+
+/*----------------------------------------------------------------------*\
+ |*                    Declaration                                     *|
+ \*---------------------------------------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Public                  *|
+ \*-------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Private                 *|
+ \*-------------------------------------*/
+
+/*----------------------------------------------------------------------*\
+ |*                    Implementation                                  *|
+ \*---------------------------------------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Public                  *|
+ \*-------------------------------------*/
+
+Cat::Cat(int poids) :
+       Animals(poids)
+    {
+    //not appear in doxy doc
+    }
+
+Cat::~Cat()
+    {
+    ///With tripe ///, comment appear in doxy doc
+    }
+
+void Cat::eat()
+    {
+    cout<<"Fish"<<endl;
+    }
+
+/*--------------------------------------*\
+ |*            Private                 *|
+ \*-------------------------------------*/
+
+/*----------------------------------------------------------------------*\
+ |*                    End                                             *|
+ \*---------------------------------------------------------------------*/
+