/* * InstantSpectroProperties.hh * * Created on: 18 déc. 2014 * Author: AKKA */ #ifndef INSTANTSPECTROPROPERTIES_HH_ #define INSTANTSPECTROPROPERTIES_HH_ #include #include #include #include #include #include "SpectroProperties.hh" namespace plot { /** * Instant Serie properties for InstantPlot */ class InstantSpectroProperties: public SpectroProperties { public: InstantSpectroProperties() : SpectroProperties(), _dimOnXAxis(0) { } InstantSpectroProperties(const SpectroProperties& ref_) : SpectroProperties(ref_), _dimOnXAxis(0) { } InstantSpectroProperties(const InstantSpectroProperties& pParamDrawingProperties_) : SpectroProperties(pParamDrawingProperties_), _dimOnXAxis(pParamDrawingProperties_._dimOnXAxis) { } InstantSpectroProperties& operator=(const InstantSpectroProperties& ref_) { SpectroProperties::operator=(ref_); _dimOnXAxis = ref_._dimOnXAxis; return *this; } virtual ~InstantSpectroProperties() { } int getDimOnXAxis() const { return _dimOnXAxis; } void setDimOnXAxis(int dimOnXAxis) { _dimOnXAxis = dimOnXAxis; } /* * Dumps properties for test. */ void dump(std::ostream& out_, std::string& prefix_); private : /** * dimension to draw on X Axis */ int _dimOnXAxis; }; } /* namespace plot */ #endif /* INSTANTSPECTROPROPERTIES_HH_ */