X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FBilatTools_CPP%2Fsrc%2Fcore%2Ftools%2Fheader%2Fnamespace_cpu%2FIntervalF_CPU.h;fp=WCudaMSE%2FBilatTools_CPP%2Fsrc%2Fcore%2Ftools%2Fheader%2Fnamespace_cpu%2FIntervalF_CPU.h;h=a4b83cec4ac4dd81698dbadc1f6ea58db228ea93;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_CPP/src/core/tools/header/namespace_cpu/IntervalF_CPU.h b/WCudaMSE/BilatTools_CPP/src/core/tools/header/namespace_cpu/IntervalF_CPU.h new file mode 100755 index 0000000..a4b83ce --- /dev/null +++ b/WCudaMSE/BilatTools_CPP/src/core/tools/header/namespace_cpu/IntervalF_CPU.h @@ -0,0 +1,64 @@ +#ifndef INTERVAL_F_CPU_H_ +#define INTERVAL_F_CPU_H_ + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +namespace cpu + { + + /** + * F Pour Float + */ + class IntervalF + { + + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + + public: + + IntervalF(float a, float b) + { + this->a = a; + this->b = b; + } + + /*--------------------------------------*\ + |* Methode *| + \*-------------------------------------*/ + + public: + + float getA(void) + { + return this->a; + } + + float getB(void) + { + return this->b; + } + + /*--------------------------------------*\ + |* Attribut *| + \*-------------------------------------*/ + + public: + + float a; + float b; + }; + + } +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/