/* * LayoutProperties.cc * * Created on: Sep, 2, 2014 * Author: AKKA */ #include "LayoutProperties.hh" namespace plot { std::ostream& operator<<(std::ostream& out_, const LayoutProperties& lprop_){ out_ << "[LAYOUT PROPERTIES]" << std::endl; out_ << "{"<<std::endl; out_ << " type =" << static_cast<int>(lprop_._type) << std::endl; out_ << " panelHeight =" << lprop_._panelHeight << std::endl; out_ << " panelSpacing =" << lprop_._panelSpacing << std::endl; out_ << " expand =" << lprop_._expand << std::endl; out_ << "}" << std::endl; return out_; } /* * Dumps properties for test. */ void LayoutProperties::dump(std::ostream& out_, std::string& prefix_){ out_ << "[LAYOUT PROPERTIES]" << std::endl; out_ << prefix_ << "layout.type=" << static_cast<int>(_type) << std::endl; out_ << prefix_ << "layout.panelHeight=" << _panelHeight << std::endl; out_ << prefix_ << "layout.panelSpacing=" << _panelSpacing << std::endl; out_ << prefix_ << "layout.expand=" << _expand << std::endl; } } /* namespace plot */