|
CartoType C++ API 7.8.2, 2022-03-25
for Windows, Linux, Qt and other platforms supporting C++ development
|
#include <cartotype_stream.h>
Public Member Functions | |
| CFileOutputStream (const std::string &aFileName) | |
Public Member Functions inherited from CartoType::COpenFileOutputStream | |
| COpenFileOutputStream (void *aFile) | |
| void | Write (const uint8_t *aBuffer, size_t aBytes) override |
| int64_t | Position () |
| COpenFileOutputStream (const COpenFileOutputStream &)=delete | |
| COpenFileOutputStream (COpenFileOutputStream &&)=delete | |
| void | operator= (const COpenFileOutputStream &)=delete |
| void | operator= (COpenFileOutputStream &&)=delete |
Public Member Functions inherited from CartoType::MOutputStream | |
| virtual | ~MOutputStream () |
| virtual void | Write (const uint8_t *aBuffer, size_t aBytes)=0 |
| void | WriteString (const char *aString) |
| void | WriteString (const MString &aString) |
| void | WriteXmlText (const MString &aString) |
Static Public Member Functions | |
| static std::unique_ptr< CFileOutputStream > | New (TResult &aError, const std::string &aFileName) |
Additional Inherited Members | |
Protected Attributes inherited from CartoType::COpenFileOutputStream | |
| void * | iFD |
An output stream to write to a file. The New function opens the file and the destructor closes it.
| CartoType::CFileOutputStream::CFileOutputStream | ( | const std::string & | aFileName | ) |
Creates a CFileOutputStream to write to the file aFileName. Throws an exception if the file cannot be opened.
|
static |
Creates a CFileOutputStream to write to the file aFileName. Returns the result in aError.