Definition at line 46 of file StringParser.h. References Impala::atof(), mP, mSize, mText, and SkipWhitespace(). Referenced by Impala::Application::Util::DoDumpParameter(), Impala::Core::Feature::GetColorChannels(), Impala::Core::Feature::FeatureTable::ImportAscii(), Impala::Core::Geometry::InterestCircle::InterestCircle(), Impala::Core::Feature::InterestPointFeature::InterestPointFeature(), Impala::Core::Training::ApplyConceptsHelperKernels::LoadInfoFile(), Impala::Application::Videolympics::ServerConnector::ParsePoll(), Impala::Application::Videolympics::ServerConnector::ParseStat(), Impala::Core::Trec::TrecTopic::ParseTime(), and Impala::Sandbox::Koen::ReadRegionsFromStreamFormatKoen(). 00048 { 00049 SkipWhitespace(delim); 00050 String::size_type end = mText.find(delim, mP); 00051 if ((end == String::npos) && delimRequired) 00052 std::cout << "StringParser::getDouble: delim not found" <<std::endl; 00053 String fStr = mText.substr(mP, end - mP); 00054 //std::cout << "fStr = " << fStr << std::endl; 00055 if (eatDelim) 00056 { 00057 mP = (end == String::npos) ? mSize : end+1; 00058 } 00059 else 00060 { 00061 mP = (end == String::npos) ? mSize : end; 00062 } 00063 return atof(fStr); 00064 }
Here is the call graph for this function:
|