The tail of a filename : returns "base.ext" given "/dir1/dir2/base.ext".
Definition at line 90 of file FileName.h.
References FileNameLastPathSepPos().
Referenced by Impala::Core::Test::TestImage::Compare(), Impala::Core::Stream::RgbDataSrcLavc_old::DetermineInfoName(), Impala::Core::Stream::RgbDataSrcLavc::DetermineInfoName(), Impala::Application::Util::DoImportAnnotations(), Impala::Application::Table::DoImportSimilarityTableSet(), Impala::Application::FileClient::DoPut(), Impala::Visualization::AppControlSrc::ExportFrame(), Impala::Core::VideoSet::Walker::LoadQuids(), Impala::Core::Table::SimilarityTableSet::MakeFromFile(), Impala::Application::IDash::ScreenPlay::PlayFile(), Impala::Core::Trec::Collection::ReadKeyframesClips(), Impala::Visualization::VideoTimeLine::ShowTitle(), Impala::Visualization::SimilarityTimeLineVideo::ShowTitle(), and Impala::Core::Stream::RgbDataSrcInfo::WriteInfo().
00091 {
00092 const String::size_type sepPos = FileNameLastPathSepPos(filePath);
00093 if (sepPos == String::npos)
00094 return filePath;
00095
00096 if (sepPos + 1 == filePath.size())
00097 return String("");
00098
00099 return filePath.substr(sepPos + 1);
00100 }
Here is the call graph for this function: