The path of a filename : returns "/dir1/dir2" given "/dir1/dir2/base.ext".
Definition at line 117 of file FileName.h. References FileNameLastPathSepPos(). 00118 { 00119 const String::size_type sepPos = FileNameLastPathSepPos(filePath); 00120 if (sepPos == String::npos) 00121 return String(""); 00122 00123 return filePath.substr(0, sepPos); 00124 }
Here is the call graph for this function:
|