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

DirExists should return a successful result if the dir exists, or an error otherwise.

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 84 of file CATFileSystem_Win32.cpp.

References CATFileSystem::BuildPath(), CAT_ERR_DIR_DOES_NOT_EXIST, CAT_ERR_DIR_IS_FILE, CAT_SUCCESS, CATRESULTFILE, and CATFileSystem::fBasePath.

Referenced by CreateDir().


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