Replace subFrom with subTo within src.
Definition at line 195 of file String.h. Referenced by Impala::Core::Feature::CalculateFISTDescriptors(), Impala::Core::Feature::CalculateSurfDescriptors(), Impala::Util::ChannelAuthorization::ChannelAuthorization(), GetFeatures(), Impala::Core::ImageSet::InterestPointProc::HandleDoneDir(), Impala::Core::VideoSet::InterestPointProc::HandleDoneFile(), Impala::Core::VideoSet::ExportKeyframes::HandleNewFrame(), Impala::Core::VideoSet::InterestPointProc::HandleNewFrame(), Impala::Core::Stream::RgbDataSrcCam::Init(), Impala::Core::Feature::InterestPointFeature::InterestPointFeature(), PathJoin(), and Impala::Core::VideoSet::Keyframes::WriteImageSets(). 00197 { 00198 String::size_type start = src.find(subFrom); 00199 if (start == String::npos) 00200 return src; 00201 return src.replace(start, subFrom.size(), subTo); 00202 }
|