CloudBuilder C++ SDK  v3.0.0
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

◆ Close()

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

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

◆ IsOpen()

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.

◆ Write()

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: