17 std::ifstream measurements_file;
18 measurements_file.open(measurement_filename.c_str(), std::ios::in);
19 if(!measurements_file) {
21 "Error opening file " + measurement_filename);
24 std::copy(std::istream_iterator<Measurement>(measurements_file),
25 std::istream_iterator<Measurement>(),
28 measurements_file.close();
and give any other recipients of the Program a copy of this License along with the Program You may charge a fee for the physical act of transferring a copy
std::vector< Measurement > measurements_
static const std::string name
std::istream & operator>>(std::istream &, Tps< T > &x)
Extract from stream.
void parseMeasurements(std::string measurement_filename)