Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamRAM::Open
CATResult CATStreamRAM::Open ( const CATWChar name,
OPEN_MODE  mode 
) [virtual]

Open() opens a file from a pathname.

Call close when done.

Parameters:
name - not really critical, but you're welcome to name ram files.
mode - currently ignored.
Returns:
CATResult - CAT_SUCCESS on success.
See also:
Close()

Implements CATStream.

Definition at line 57 of file CATStreamRAM.cpp.

References CAT_ERR_OUT_OF_MEMORY, CAT_SUCCESS, CATASSERT, CATRESULT, fCacheSize, fRamCache, fStreamName, and kCATSTREAM_DEFSIZE.


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