Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATFileSystem_Win32::PathExists
CATResult CATFileSystem_Win32::PathExists ( const CATString pathname  )  [virtual]

PathExists should return a successful result if a dir or a file of that name exists.

If it is a file, returns CAT_STAT_PATH_IS_FILE. IF it is a dir, returns CAT_STAT_PATH_IS_DIRECTORY

Note: DirExists() fails if a file of the specified name exists.

Parameters:
pathname - path to dir to check for existance.
Returns:
CATResult - successful result if the file is found.

Implements CATFileSystem.

Definition at line 168 of file CATFileSystem_Win32.cpp.

References CATFileSystem::BuildPath(), CAT_ERR_PATH_DOES_NOT_EXIST, CAT_STAT_PATH_IS_DIRECTORY, CAT_STAT_PATH_IS_FILE, CATRESULTFILE, and CATFileSystem::fBasePath.


Generated on Mon Feb 11 04:10:29 2008 for Game Accessibility Suite by doxygen 1.5.4