X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_NameSpaces%2Fsrc%2Fcpp%2Fcore%2Fnamespace%2F02_classes%2Fbd%2FInvention.h;fp=WCudaMSE%2FTuto_NameSpaces%2Fsrc%2Fcpp%2Fcore%2Fnamespace%2F02_classes%2Fbd%2FInvention.h;h=cdaa2ff49ca6dca715db0a95057167de1515bad1;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git 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 index 0000000..cdaa2ff --- /dev/null +++ b/WCudaMSE/Tuto_NameSpaces/src/cpp/core/namespace/02_classes/bd/Invention.h @@ -0,0 +1,60 @@ +#ifndef INVENTION_H_ +#define INVENTION_H_ + +#include +using std::string; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class Invention + { + + /*-------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + public: + + Invention(string name) + { + //rien + } + + virtual ~Invention() + { + //rien + } + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + public: + + string getInventeur() + { + return name; + } + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + private: + + // Input + string name; + + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/