Class implementing an OutputStream writing to a file. More...
#include <SignDocSDK-cpp.h>
Public Member Functions | |
FileOutputStream (FILE *aFile) | |
Constructor: Write to a C stream. | |
FileOutputStream (FILE *aFile, const char *aPath) | |
Constructor: Write to a C stream. | |
FileOutputStream (const char *aPath) | |
Constructor: Open a file in binary mode. | |
FileOutputStream (const wchar_t *aPath) | |
Constructor: Open a file in binary mode. |
Class implementing an OutputStream writing to a file.
If possible, any exception thrown by member functions of this class contain the pathname. Note that the pathname will be UTF-8 encoded.
de::softpro::doc::FileOutputStream::FileOutputStream | ( | FILE * | aFile ) | [inline] |
Constructor: Write to a C stream.
[in] | aFile | The C stream to be wrapped. |
de::softpro::doc::FileOutputStream::FileOutputStream | ( | FILE * | aFile, |
const char * | aPath | ||
) | [inline] |
Constructor: Write to a C stream.
[in] | aFile | The C stream to be wrapped. |
[in] | aPath | The pathname (native encoding), used in exceptions, can be NULL. |
de::softpro::doc::FileOutputStream::FileOutputStream | ( | const char * | aPath ) | [inline] |
Constructor: Open a file in binary mode.
If the named file already exists, it will be truncated. Throws an exception on error.
[in] | aPath | The pathname of the file to be opened (native encoding). |
de::softpro::doc::FileOutputStream::FileOutputStream | ( | const wchar_t * | aPath ) | [inline] |
Constructor: Open a file in binary mode.
If the named file already exists, it will be truncated. Throws an exception on error.
[in] | aPath | The pathname of the file to be opened. |