Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamFile::Size
CATResult CATStreamFile::Size ( CATInt64 filesize  )  [virtual]

Size() returns the size of the object in filesize.

This may not be supported on all stream types.

Parameters:
filesize - 64-bit length of file.
Returns:
CATResult - CAT_SUCCESS on success

Implements CATStream.

Definition at line 236 of file CATStreamFile.cpp.

References CAT_ERR_FILE_GET_POSITION, CAT_ERR_FILE_NOT_OPEN, CAT_ERR_FILE_SEEK, CAT_ERR_FILE_SET_POSITION, CAT_SUCCESS, CATASSERT, CATRESULT, CATRESULTFILE, fFileHandle, fFilename, and IsOpen().

Referenced by CATStreamRAM::FromFile().


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