Blame view

src/ParamOutputImpl/Plot/InstantPlot/plotFunctionElements/Abscisse.hh 700 Bytes
edef04ea   Menouard AZIB   Creating Abscisse...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef ABSCISSE_HH_
#define ABSCISSE_HH_

#include <string>

namespace plot
{
    class Abscisse
    {
    public:
        enum Abscisse_Type
        {
            FREQUENCY,
            PERIOD,
07bf1e7c   Menouard AZIB   EveryThing works ...
15
16
            TIME,
            ENERGY
edef04ea   Menouard AZIB   Creating Abscisse...
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
43
        };

        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