Public Member Functions

de::softpro::doc::FileOutputStream Class Reference

Class implementing an OutputStream writing to a file. More...

#include <SignDocSDK-cpp.h>

Inheritance diagram for de::softpro::doc::FileOutputStream:
de::softpro::doc::LibraryOutputStream de::softpro::doc::OutputStream

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.

Detailed Description

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.


Constructor & Destructor Documentation

de::softpro::doc::FileOutputStream::FileOutputStream ( FILE *  aFile ) [inline]

Constructor: Write to a C stream.

Parameters:
[in]aFileThe C stream to be wrapped.
de::softpro::doc::FileOutputStream::FileOutputStream ( FILE *  aFile,
const char *  aPath 
) [inline]

Constructor: Write to a C stream.

Parameters:
[in]aFileThe C stream to be wrapped.
[in]aPathThe 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.

Parameters:
[in]aPathThe 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.

Parameters:
[in]aPathThe pathname of the file to be opened.

The documentation for this class was generated from the following file: