Foxit PDF SDK
|
File writing interface. More...
Public Member Functions | |
virtual FX_BOOL | Flush ()=0 |
Flush internal buffer of the file. More... | |
virtual FX_INT64 | GetSize ()=0 |
Get total size of the file. More... | |
virtual void | Release ()=0 |
Called when to release everything. | |
virtual FX_BOOL | WriteBlock (const void *pData, FX_INT64 offset, size_t size)=0 |
Write a block data. More... | |
virtual FX_BOOL | WriteBlock (const void *pData, size_t size) |
Write a block data to the end. More... | |
File writing interface.
|
pure virtual |
Flush internal buffer of the file.
Reimplemented from IFX_StreamWrite.
Implemented in CFX_CachedFileRead, and IFX_FileStream.
|
pure virtual |
Get total size of the file.
Implemented in CFX_CachedFileRead, and IFX_FileStream.
|
pure virtual |
Write a block data.
[in] | pData | The block data. |
[in] | offset | Byte offset from beginning of the file |
[in] | size | The length in bytes of the block data. |
Implemented in CFX_CachedFileRead, and IFX_FileStream.
|
inlinevirtual |
Write a block data to the end.
[in] | pData | The block data. |
[in] | size | The length in bytes of the block data. |
Implements IFX_StreamWrite.
Reimplemented in IFX_FileStream.