The path of a filename : returns "/dir1/dir2/" given "/dir1/dir2/base.ext".
Definition at line 105 of file FileName.h.
References FileNameLastPathSepPos().
Referenced by Impala::Core::Stream::RgbDataSrcLavc_old::DetermineInfoName(), Impala::Core::Stream::RgbDataSrcLavc::DetermineInfoName(), Impala::Application::Util::DoImportAnnotations(), Impala::Application::Table::DoScaleFeatureTable(), Impala::Application::WindowTrecSearch::InitDataConceptRanking(), Impala::Application::WindowTrecSearch::InitDataThreadFile(), Impala::Core::VideoSet::Walker::LoadQuids(), Impala::Application::mainConstructCodebook(), Impala::Core::Trec::Collection::ReadData(), and Impala::Core::Feature::Computor::ReadFeatureTableSet().
00106 {
00107 const String::size_type sepPos = FileNameLastPathSepPos(filePath);
00108 if (sepPos == String::npos)
00109 return String("");
00110
00111 return filePath.substr(0, sepPos + 1);
00112 }
Here is the call graph for this function: