Class implementing an InputStream reading from a file. More...
#include <SignDocSDK-cpp.h>
Public Member Functions | |
| FileInputStream (FILE *aFile) | |
| Constructor: Read from a C stream. | |
| FileInputStream (FILE *aFile, const char *aPath) | |
| Constructor: Read from a C stream. | |
| FileInputStream (const char *aPath) | |
| Constructor: Open a file in binary mode. | |
| FileInputStream (const wchar_t *aPath) | |
| Constructor: Open a file in binary mode. | |
Class implementing an InputStream reading from 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::FileInputStream::FileInputStream | ( | FILE * | aFile ) | [inline] |
Constructor: Read from a C stream.
| [in] | aFile | The C stream to be wrapped. |
| de::softpro::doc::FileInputStream::FileInputStream | ( | FILE * | aFile, |
| const char * | aPath | ||
| ) | [inline] |
Constructor: Read from 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::FileInputStream::FileInputStream | ( | const char * | aPath ) | [inline] |
Constructor: Open a file in binary mode.
Throws an exception on error.
| [in] | aPath | The pathname of the file to be opened (native encoding). |
| de::softpro::doc::FileInputStream::FileInputStream | ( | const wchar_t * | aPath ) | [inline] |
Constructor: Open a file in binary mode.
Throws an exception on error.
| [in] | aPath | The pathname of the file to be opened. |
1.7.2