Definition at line 201 of file TrecTopic.h. References Impala::Util::StringParser::AdvanceP(), Impala::Util::StringParser::GetDouble(), and Impala::Util::StringParser::GetInt(). Referenced by GetVideoExampleDuration(), and ParseTimeFrame(). 00202 { 00203 Util::StringParser p(str); 00204 int minutes = p.GetInt('m'); 00205 p.AdvanceP(); // skip the 'm' 00206 double seconds = p.GetDouble('s'); 00207 seconds += minutes * 60; 00208 return seconds; 00209 }
Here is the call graph for this function:
|