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

Open() opens a stream from a pathname.

Call close when done.

Parameters:
pathname - Ptr to path string. Platform-specific issues should be taken care of by child classes if needed.
mode - combination of OPEN_MODE enumerated flags.
Returns:
CATResult - CAT_SUCCESS on success.
See also:
Close()

Implemented in CATStreamFile, CATStreamRAM, and CATStreamSub.

Referenced by CATFileSystem_Win32::OpenFile().


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