Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_NameSpaces / src / cpp / core / namespace / 02_classes / bd / Invention.h
1 #ifndef INVENTION_H_
2 #define INVENTION_H_
3
4 #include <string>
5 using std::string;
6
7 /*----------------------------------------------------------------------*\
8 |* Declaration *|
9 \*---------------------------------------------------------------------*/
10
11 /*--------------------------------------*\
12 |* Public *|
13 \*-------------------------------------*/
14
15 class Invention
16 {
17
18 /*-------------------------------------*\
19 |* Constructor *|
20 \*-------------------------------------*/
21
22 public:
23
24 Invention(string name)
25 {
26 //rien
27 }
28
29 virtual ~Invention()
30 {
31 //rien
32 }
33
34 /*--------------------------------------*\
35 |* Methodes *|
36 \*-------------------------------------*/
37
38 public:
39
40 string getInventeur()
41 {
42 return name;
43 }
44
45 /*--------------------------------------*\
46 |* Methodes *|
47 \*-------------------------------------*/
48
49 private:
50
51 // Input
52 string name;
53
54 };
55
56 #endif
57
58 /*----------------------------------------------------------------------*\
59 |* End *|
60 \*---------------------------------------------------------------------*/