comparison rdf/RDFImporter.cpp @ 935:f960d67ce842 tonioni

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:42:01 +0100
parents 06579b8ffb7b
children b14064bd1f97
comparison
equal deleted inserted replaced
925:3efc20c59a94 935:f960d67ce842
574 } 574 }
575 575
576 RealTime time; 576 RealTime time;
577 RealTime duration; 577 RealTime duration;
578 578
579 bool haveTime = false; 579 // bool haveTime = false;
580 bool haveDuration = false; 580 bool haveDuration = false;
581 581
582 Node at = m_store->complete(Triple(tn, expand("tl:at"), Node())); 582 Node at = m_store->complete(Triple(tn, expand("tl:at"), Node()));
583 583
584 if (at != Node()) { 584 if (at != Node()) {
585 time = RealTime::fromXsdDuration(at.value.toStdString()); 585 time = RealTime::fromXsdDuration(at.value.toStdString());
586 haveTime = true; 586 // haveTime = true;
587 } else { 587 } else {
588 //!!! NB we're using rather old terminology for these things, apparently: 588 //!!! NB we're using rather old terminology for these things, apparently:
589 // beginsAt -> start 589 // beginsAt -> start
590 // onTimeLine -> timeline 590 // onTimeLine -> timeline
591 591
594 if (start != Node() && dur != Node()) { 594 if (start != Node() && dur != Node()) {
595 time = RealTime::fromXsdDuration 595 time = RealTime::fromXsdDuration
596 (start.value.toStdString()); 596 (start.value.toStdString());
597 duration = RealTime::fromXsdDuration 597 duration = RealTime::fromXsdDuration
598 (dur.value.toStdString()); 598 (dur.value.toStdString());
599 haveTime = haveDuration = true; 599 // haveTime = haveDuration = true;
600 } 600 }
601 } 601 }
602 602
603 QString valuestring = valu.value; 603 QString valuestring = valu.value;
604 std::vector<float> values; 604 std::vector<float> values;