IntervalTickProperties.cc
1006 Bytes
/*
* IntervalTickProperties.cc
*
* Created on: Jan 26, 2015
* Author: AKKA
*/
#include "IntervalTickProperties.hh"
namespace plot {
std::ostream& operator<<(std::ostream& out_, const IntervalTickProperties& prop_) {
out_ << "[INTERVALTICK PROPERTIES]" << std::endl;
out_ << "{" << std::endl;
out_ << " mode =" << (int)prop_._mode << std::endl;
out_ << " color =" << prop_._color << std::endl;
out_ << " font =" << prop_.getFont() << std::endl;
out_ << " symbol =" << prop_._symbol << std::endl;
out_ << "}" << std::endl;
return out_;
}
/*
* Dumps properties for test.
*/
void IntervalTickProperties::dump(std::ostream& out_, std::string& prefix_) {
out_ << "[INTERVALTICK PROPERTIES]" << std::endl;
out_ << prefix_ << "intervalTick.mode=" << (int)_mode << std::endl;
out_ << prefix_ << "intervalTick.color=" << _color << std::endl;
std::string subPrefix = prefix_ + "intervalTick.";
_font.dump(out_, subPrefix);
_symbol.dump(out_, subPrefix);
}
} /* namespace plot */