BinsProperties.hh 1.25 KB
/*
 * BinsProperties.hh
 *
 *  Created on: Jan 30, 2023
 *      Author: AKKODIS
 */

#ifndef BINSPROPERTIES_HH_
#define BINSPROPERTIES_HH_

#include <iostream>
#include <map>
#include <string>
#include "Matrix.hh"

namespace plot {

/**
 * Properties saved after reading 'bins' tag from xml request
 */

class BinsProperties
{
    public:
		
		BinsProperties() : _xBinNumber(0){}
        BinsProperties(unsigned int xBinNumber)
            : _xBinNumber(xBinNumber) {}

        ~BinsProperties() {}

		// No need to comment, I guess 
        void setXBinNumber(unsigned int xBinNumber) { _xBinNumber = xBinNumber; }
        unsigned int getXBinNumber() const { return _xBinNumber; }

        void setYBinNumber(unsigned int yBinNumber) { _yBinNumber = yBinNumber; }
        unsigned int getYBinNumber() const { return _yBinNumber; }

        void setStairs(bool hasStairs){
		_stairs = hasStairs;
        }
        bool hasStairs() const{
            return _stairs;
        }

        
    private:
        unsigned int _xBinNumber;
		unsigned int _yBinNumber; 
        bool _stairs;
};

/**
 * Properties saved after reading 'manual' tag from xml request
 */


class ManualProperties : public BinsProperties {
  	public:
};

} /* namespace plot */

#endif /* BINSPROPERTIES_HH_ */