/* * ResamplingProperties.cc * * Created on: Aug 19, 2014 * Author: AKKA */ #include "ResamplingProperties.hh" namespace plot { std::ostream& operator<<(std::ostream& out_, const ResamplingProperties& lprop_){ out_ << "[RESAMPLING PROPERTIES]" << std::endl; out_ << "{"<<std::endl; out_ << " type =" << static_cast<int>(lprop_._type) << std::endl; out_ << " value =" << lprop_._value << std::endl; out_ << "}" << std::endl; return out_; } /* * Dumps properties for test. */ void ResamplingProperties::dump(std::ostream& out_, std::string& prefix_){ out_ << "[RESAMPLING PROPERTIES]" << std::endl; out_ << prefix_ << "resampling.type=" << static_cast<int>(_type) << std::endl; out_ << prefix_ << "resampling.value=" << _value << std::endl; } } /* namespace plot */