Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamRAM::SeekAbsolute
CATResult CATStreamRAM::SeekAbsolute ( CATInt64  position  )  [virtual]

SeekAbsolute() seeks from the start of the file to an absolute position.

Parameters:
position - unsigned absolute position to seek to.
Returns:
CATResult - CAT_SUCCESS on success.
See also:
IsSeekable(), SeekRelative(), SeekFromEnd()

Implements CATStream.

Definition at line 298 of file CATStreamRAM.cpp.

References CAT_ERR_FILE_NOT_OPEN, CAT_SUCCESS, CATASSERT, CATFAILED, CATRESULT, fCacheSize, fCurPos, fRamCache, fSize, IsOpen(), and ReallocCache().

Referenced by ReadAbs(), SeekFromEnd(), and WriteAbs().


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