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

FileExists should return a successful result if the file exists, or an error otherwise.

Note: FileExists() fails if a directory of that name is present.

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

Implements CATFileSystem.

Definition at line 57 of file CATFileSystem_Win32.cpp.

References CATFileSystem::BuildPath(), CAT_ERR_FILE_DOES_NOT_EXIST, CAT_ERR_FILE_IS_DIRECTORY, CAT_SUCCESS, CATRESULTFILE, and CATFileSystem::fBasePath.


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