Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATFileSystem::OpenCachedFile
virtual CATResult CATFileSystem::OpenCachedFile ( const CATString filename,
CATStream *&  stream 
) [inline, virtual]

OpenCachedFile() opens a file into a memory stream if possible. By default, it just routes to OpenFile, but child classes may override.

Parameters:
filename - path to file.
stream - ref to receive opened file stream
Returns:
CATResult - CAT_SUCCESS on success.
See also:
ReleaseStream()

Reimplemented in CATFileSystem_Win32.

Definition at line 137 of file CATFileSystem.h.

References OpenFile(), and CATStream::READ_ONLY.


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