#include <path.h>
List of all members.
[static]
Return true if the file exists.
Warning: this test will also tell that the file does not exist if you don't have the rights to read it (Unix).
Definition at line 137 of file path.cpp.
Return a new filename that doesn't exists.
It's used for screenshot filename for example. example: findNewFile("foobar.tga"); will try foobar001.tga, if the file exists, try foobar002.tga and so on until it finds an unexistant file.
Definition at line 152 of file path.cpp.
Retrieve the associated file name.
An empty string is returned if the path is invalid
Definition at line 113 of file path.cpp.
Return the position between [begin,end[ of the last separator between path and filename ('/' or '\').
If there's no separator, it returns string::npos.
Definition at line 103 of file path.cpp.
Retrieve the associated file path with the trailing slash.
Returns an empty string if the path is invalid
Definition at line 122 of file path.cpp.
Just to know if it is a directory.
_FileName empty and path not !!!
Definition at line 131 of file path.cpp.