Blame view

src/ParamOutputImpl/Plot/ResamplingProperties.cc 797 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * 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 */