Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamSub::SeekAbsolute
CATResult CATStreamSub::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 238 of file CATStreamSub.cpp.

References CAT_ERR_FILE_SEEK, CAT_ERR_SEEK_PAST_SPECIFIED_END, CAT_ERR_SUBSTREAM_NO_PARENT, CAT_SUCCESS, CATASSERT, CATRESULT, CATRESULTFILE, fCurPos, and fLength.

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


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