Abscisse.hh
680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef ABSCISSE_HH_
#define ABSCISSE_HH_
#include <string>
namespace plot
{
class Abscisse
{
public:
enum Abscisse_Type
{
FREQUENCY,
PERIOD,
TIME
};
Abscisse(std::string label_, std::string unit_, Abscisse::Abscisse_Type type_);
std::string getUnit()
{
return unit;
};
std::string getLabel()
{
return label;
};
Abscisse::Abscisse_Type getType()
{
return type;
};
private:
std::string label;
std::string unit;
Abscisse::Abscisse_Type type;
};
}
#endif