Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / BilatTools_CPP / src / core / tools / header / namespace_cpu / IntervalF_CPU.h
1 #ifndef INTERVAL_F_CPU_H_
2 #define INTERVAL_F_CPU_H_
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 /*--------------------------------------*\
9 |* Public *|
10 \*-------------------------------------*/
11
12 namespace cpu
13 {
14
15 /**
16 * F Pour Float
17 */
18 class IntervalF
19 {
20
21 /*--------------------------------------*\
22 |* Constructor *|
23 \*-------------------------------------*/
24
25 public:
26
27 IntervalF(float a, float b)
28 {
29 this->a = a;
30 this->b = b;
31 }
32
33 /*--------------------------------------*\
34 |* Methode *|
35 \*-------------------------------------*/
36
37 public:
38
39 float getA(void)
40 {
41 return this->a;
42 }
43
44 float getB(void)
45 {
46 return this->b;
47 }
48
49 /*--------------------------------------*\
50 |* Attribut *|
51 \*-------------------------------------*/
52
53 public:
54
55 float a;
56 float b;
57 };
58
59 }
60 #endif
61
62 /*----------------------------------------------------------------------*\
63 |* End *|
64 \*---------------------------------------------------------------------*/