CloudBuilder  2.8.4
Making social games is easy !
Public Member Functions | List of all members
CloudBuilder::COutputFile Class Referenceabstract

#include <CFilesystem.h>

Public Member Functions

virtual void Close ()=0
 
virtual bool IsOpen ()=0
 
virtual size_t Write (const void *aSourceBuffer, size_t aNumBytes)=0
 

Detailed Description

Represents a file open for writing. Getting an instance of COutputFile does not guarantee the file has actually been opened. Check isOpen() or the result of the writes functions.

Member Function Documentation

virtual void CloudBuilder::COutputFile::Close ( )
pure virtual

Should close the file for use by other processes. If already done, should have effect.

virtual bool CloudBuilder::COutputFile::IsOpen ( )
pure virtual

Should tell whether the file has been opened successfully.

Returns
true if the file is ready for write, false otherwise.
virtual size_t CloudBuilder::COutputFile::Write ( const void *  aSourceBuffer,
size_t  aNumBytes 
)
pure virtual

Should write a chunk of data at the end of the file.

Parameters
aSourceBufferdata to write.
aNumBytesnumber of bytes to write.

The documentation for this class was generated from the following file: