Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_NameSpaces / src / cpp / core / namespace / 02_classes / film / PersonnageFilm.h
1 #ifndef PERSONNAGE_FILM_H_
2 #define PERSONNAGE_FILM_H_
3
4 #include <string>
5
6 using std::string;
7
8 // les noms des namespace peuvent ĂȘtre assigner grace a un define, mais pas forcĂ©ment
9 #define NS_FILM film
10
11 /*----------------------------------------------------------------------*\
12 |* Declaration *|
13 \*---------------------------------------------------------------------*/
14
15 /*--------------------------------------*\
16 |* Public *|
17 \*-------------------------------------*/
18
19 namespace NS_FILM
20 {
21 class Personnage
22 {
23
24 /*-------------------------------------*\
25 |* Constructor *|
26 \*-------------------------------------*/
27
28 public:
29
30 Personnage(string name);
31
32 virtual ~Personnage();
33
34 /*-------------------------------------*\
35 |* Methode *|
36 \*-------------------------------------*/
37
38 public:
39
40 string getName() const;
41
42 /*-------------------------------------*\
43 |* Attributs *|
44 \*-------------------------------------*/
45
46 private:
47
48 //Input
49 string name;
50 };
51 }
52 #endif
53
54 /*----------------------------------------------------------------------*\
55 |* End *|
56 \*---------------------------------------------------------------------*/