Data source. More...
#include <SignDocSDK-cpp.h>
Public Member Functions | |
Source (struct SIGNDOC_Source *aImpl) | |
Constructor. | |
virtual | ~Source () |
Destructor. | |
int | fetch (const void *&aPtr, int aMaxSize) |
Fetch data from the document. |
Data source.
Interface for getting byte ranges from a document.
de::softpro::doc::Source::Source | ( | struct SIGNDOC_Source * | aImpl ) | [inline] |
Constructor.
[in] | aImpl | A pointer to the C structure. |
virtual de::softpro::doc::Source::~Source | ( | ) | [inline, virtual] |
Destructor.
int de::softpro::doc::Source::fetch | ( | const void *& | aPtr, |
int | aMaxSize | ||
) | [inline] |
Fetch data from the document.
[out] | aPtr | A pointer to the first byte will be stored here. |
[in] | aMaxSize | Fetch up to this many bytes. Must be positive. |