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

String Impala::Util::StringParser::GetString ( char  delim = '"',
bool  delimRequired = true 
) [inline]

Definition at line 67 of file StringParser.h.

References mP, mSize, mText, and SkipWhitespace().

Referenced by Impala::Job::Server::AcceptJobStatus(), Impala::Job::Server::AcceptNewJob(), Impala::Job::Server::AcceptRequestForStatus(), Impala::Core::Geometry::DatabaseReadVxRectangle(), Impala::Core::IDash::Href::GetCaseId(), Impala::Core::Feature::GetColorChannels(), Impala::Core::IDash::Server::GetJobs(), Impala::Core::VideoJob::ServerProxy::GetJobState(), GetString2(), Impala::Core::IDash::Href::GetVideoId(), Impala::Core::VideoSet::TestBlocksFile::HandleNewFile(), Impala::Core::VideoSet::ReadBlocksFile::HandleNewFile(), Impala::Core::Geometry::InterestCircle::InterestCircle(), Impala::Core::Feature::InterestPointFeature::InterestPointFeature(), Impala::Core::Geometry::InterestRectangleZ::InterestRectangleZ(), Impala::Core::Trec::SearchResult::Load(), Impala::Core::Trec::SearchJudge::Load(), Impala::Core::Training::ApplyConceptsHelperKernels::LoadInfoFile(), Impala::Application::SDash::AlertWindow::MakeCsv(), Impala::Core::VideoJob::ServerProxy::MonitorJobState(), Impala::Application::Videolympics::ServerConnector::ParsePoll(), Impala::Application::Videolympics::ServerConnector::ParseStat(), Impala::Core::Table::Read(), Impala::Sandbox::Koen::ReadRegionsFromStreamFormatKoen(), Impala::Core::IDash::Server::ScheduleJob(), Impala::Application::Videolympics::VideolympicsClient::SendShot(), and Impala::Core::IDash::Server::StatusJob().

00068     {
00069         SkipWhitespace();
00070         if (mText[mP] == delim)
00071             mP++;
00072         String::size_type end = mText.find(delim, mP);
00073         if ((end == String::npos) && delimRequired)
00074             std::cout << "StringParser::getString: delim not found" <<std::endl;
00075         String str = mText.substr(mP, end - mP);
00076         //std::cout << "str = " << str << std::endl;
00077         mP = (end == String::npos) ? mSize : end+1; // skip delim
00078         return str;
00079     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:41:19 2010 for ImpalaSrc by  doxygen 1.5.1