Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

String Impala::FileNamePath2 ( CString  filePath  )  [inline]

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:


Generated on Fri Mar 19 10:35:19 2010 for ImpalaSrc by  doxygen 1.5.1