diff base/RealTime.cpp @ 494:81963c51b488

* Add ability to export a transform structure as RDF -- for use when exporting data from runner, so as to refer back to the generating transform from the audio features rdf * some improvements to pane & layer management when importing rdf, but it's all still a big hack here
author Chris Cannam
date Tue, 25 Nov 2008 17:46:02 +0000
parents beb2948baa77
children 75f154085a4d
line wrap: on
line diff
--- a/base/RealTime.cpp	Tue Nov 25 13:43:56 2008 +0000
+++ b/base/RealTime.cpp	Tue Nov 25 17:46:02 2008 +0000
@@ -342,6 +342,13 @@
     return s;
 }
 
+std::string
+RealTime::toXsdDuration() const
+{
+    std::string s = "PT" + toString(false) + "S";
+    return s;
+}
+
 RealTime
 RealTime::operator*(int m) const
 {