Mercurial > hg > svcore
comparison transform/CSVFeatureWriter.cpp @ 1172:59ae7e04f7e9
Merge
author | Chris Cannam |
---|---|
date | Fri, 04 Mar 2016 12:29:35 +0000 |
parents | d094598f84bd |
children | 4a2bc07ec0fb |
comparison
equal
deleted
inserted
replaced
1171:fa1bec83441e | 1172:59ae7e04f7e9 |
---|---|
97 FileFeatureWriter::setParameters(params); | 97 FileFeatureWriter::setParameters(params); |
98 | 98 |
99 SVDEBUG << "CSVFeatureWriter::setParameters" << endl; | 99 SVDEBUG << "CSVFeatureWriter::setParameters" << endl; |
100 for (map<string, string>::iterator i = params.begin(); | 100 for (map<string, string>::iterator i = params.begin(); |
101 i != params.end(); ++i) { | 101 i != params.end(); ++i) { |
102 cerr << i->first << " -> " << i->second << endl; | 102 SVDEBUG << i->first << " -> " << i->second << endl; |
103 if (i->first == "separator") { | 103 if (i->first == "separator") { |
104 m_separator = i->second.c_str(); | 104 m_separator = i->second.c_str(); |
105 cerr << "m_separator = " << m_separator << endl; | 105 SVDEBUG << "m_separator = " << m_separator << endl; |
106 if (m_separator == "\\t") { | 106 if (m_separator == "\\t") { |
107 m_separator = QChar::Tabulation; | 107 m_separator = QChar::Tabulation; |
108 } | 108 } |
109 } else if (i->first == "sample-timing") { | 109 } else if (i->first == "sample-timing") { |
110 m_sampleTiming = true; | 110 m_sampleTiming = true; |