|
CartoType API
|
#include <cartotype_stream.h>
Public Member Functions | |
| COpenFileOutputStream (void *aFile) | |
| CT_IMPORT TResult | Write (const uint8 *aBuffer, int32 aBytes) |
Protected Attributes | |
| void * | iFD |
An output stream to write to a file that is already open for writing. The destructor does not close the file.
| CartoType::COpenFileOutputStream::COpenFileOutputStream | ( | void * | aFile | ) | [inline] |
Create a file output stream from a file descriptor (the value returned by fopen). The file must alreay have been opened for writing.
| CT_EXPORT TResult COpenFileOutputStream::Write | ( | const uint8 * | aBuffer, |
| int32 | aBytes | ||
| ) | [virtual] |
Write aBytes bytes from aBuffer to the stream.
Implements CartoType::MOutputStream.
1.7.5.1