vector<string> b;
split (b, time, is_any_of (":"));
if (b.size() != 4) {
- throw DCPReadError ("unrecognised time specification");
+ boost::throw_exception (DCPReadError ("unrecognised time specification"));
}
h = lexical_cast<int> (b[0]);
return float (at) / bt;
}
+/** @return A string of the form h:m:s:t */
string
Time::to_string () const
{
return str.str ();
}
+/** @return This time in ticks */
int64_t
Time::to_ticks () const
{