comparison rdf/RDFTransformFactory.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents b4a8d8221eaf
children 573d45e9487b
comparison
equal deleted inserted replaced
686:b4a8d8221eaf 687:06f13a3b9e9e
166 } 166 }
167 167
168 m_isRDF = true; 168 m_isRDF = true;
169 169
170 if (transformResults.empty()) { 170 if (transformResults.empty()) {
171 cerr << "RDFTransformFactory: NOTE: No RDF/TTL transform descriptions found in document at <" << m_urlString << ">" << endl; 171 DEBUG << "RDFTransformFactory: NOTE: No RDF/TTL transform descriptions found in document at <" << m_urlString << ">" << endl;
172 return transforms; 172 return transforms;
173 } 173 }
174 174
175 // There are various queries we need to make that might include 175 // There are various queries we need to make that might include
176 // data from either the transform RDF or the model accumulated 176 // data from either the transform RDF or the model accumulated
270 } else if (optional == "step_size") { 270 } else if (optional == "step_size") {
271 transform.setStepSize(v.value.toUInt()); 271 transform.setStepSize(v.value.toUInt());
272 } else if (optional == "block_size") { 272 } else if (optional == "block_size") {
273 transform.setBlockSize(v.value.toUInt()); 273 transform.setBlockSize(v.value.toUInt());
274 } else if (optional == "window_type") { 274 } else if (optional == "window_type") {
275 cerr << "NOTE: can't handle window type yet (value is \"" 275 DEBUG << "NOTE: can't handle window type yet (value is \""
276 << v.value << "\")" << endl; 276 << v.value << "\")" << endl;
277 } else if (optional == "sample_rate") { 277 } else if (optional == "sample_rate") {
278 transform.setSampleRate(v.value.toFloat()); 278 transform.setSampleRate(v.value.toFloat());
279 } else if (optional == "start") { 279 } else if (optional == "start") {
280 transform.setStartTime 280 transform.setStartTime
287 } 287 }
288 } 288 }
289 } 289 }
290 } 290 }
291 291
292 cerr << "RDFTransformFactory: NOTE: Transform is: " << endl; 292 DEBUG << "RDFTransformFactory: NOTE: Transform is: " << endl;
293 cerr << transform.toXmlString() << endl; 293 cerr << transform.toXmlString() << endl;
294 294
295 transforms.push_back(transform); 295 transforms.push_back(transform);
296 } 296 }
297 297