Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

double Impala::Core::Trec::TrecTopic::ParseTime ( String  str  )  [inline, private]

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:


Generated on Thu Jan 13 09:21:34 2011 for ImpalaSrc by  doxygen 1.5.1