Mercurial > hg > svcore
comparison rdf/RDFFeatureWriter.cpp @ 602:02d9664906e8
* Fixes to gcc-4.4 thanks to Michel Salim
author | Chris Cannam |
---|---|
date | Mon, 24 Aug 2009 16:07:23 +0000 |
parents | f3211e01b315 |
children | 133418f4e74c |
comparison
equal
deleted
inserted
replaced
601:5eb5449432f5 | 602:02d9664906e8 |
---|---|
317 } | 317 } |
318 } | 318 } |
319 | 319 |
320 // Note reviewFileForAppending above (when opening in append mode) | 320 // Note reviewFileForAppending above (when opening in append mode) |
321 | 321 |
322 uint64_t signalCount = m_count++; | 322 unsigned long signalCount = m_count++; |
323 | 323 |
324 if (m_trackSignalURIs.find(trackId) == m_trackSignalURIs.end()) { | 324 if (m_trackSignalURIs.find(trackId) == m_trackSignalURIs.end()) { |
325 m_trackSignalURIs[trackId] = QString(":signal_%1").arg(signalCount); | 325 m_trackSignalURIs[trackId] = QString(":signal_%1").arg(signalCount); |
326 } | 326 } |
327 QString signalURI = m_trackSignalURIs[trackId]; | 327 QString signalURI = m_trackSignalURIs[trackId]; |
535 // iterate through FeatureLists | 535 // iterate through FeatureLists |
536 | 536 |
537 for (int i = 0; i < featureList.size(); ++i) { | 537 for (int i = 0; i < featureList.size(); ++i) { |
538 | 538 |
539 const Plugin::Feature &feature = featureList[i]; | 539 const Plugin::Feature &feature = featureList[i]; |
540 uint64_t featureNumber = m_count++; | 540 unsigned long featureNumber = m_count++; |
541 | 541 |
542 stream << ":event_" << featureNumber << " a "; | 542 stream << ":event_" << featureNumber << " a "; |
543 | 543 |
544 if (m_fixedEventTypeURI != "") { | 544 if (m_fixedEventTypeURI != "") { |
545 stream << m_fixedEventTypeURI << " ;\n"; | 545 stream << m_fixedEventTypeURI << " ;\n"; |
669 QTextStream stream(&str); | 669 QTextStream stream(&str); |
670 | 670 |
671 bool plain = (m_plain || !desc.haveDescription()); | 671 bool plain = (m_plain || !desc.haveDescription()); |
672 QString outputId = od.identifier.c_str(); | 672 QString outputId = od.identifier.c_str(); |
673 | 673 |
674 uint64_t featureNumber = m_count++; | 674 unsigned long featureNumber = m_count++; |
675 | 675 |
676 // need to write out feature timeline map -- for this we need | 676 // need to write out feature timeline map -- for this we need |
677 // the sample rate, window length and hop size from the | 677 // the sample rate, window length and hop size from the |
678 // transform | 678 // transform |
679 | 679 |