Abscisse.hh 680 Bytes
#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