![]() |
libimgdoc2
|
Class factory creating objects implemented in the imgdoc2-library. More...
#include <ClassFactory.h>
Static Public Member Functions | |
static VersionInfo | GetVersionInfo () |
static imgdoc2::ICreateOptions * | CreateCreateOptionsPtr () |
static std::unique_ptr< imgdoc2::ICreateOptions > | CreateCreateOptionsUp () |
static std::shared_ptr< imgdoc2::ICreateOptions > | CreateCreateOptionsSp () |
static imgdoc2::IOpenExistingOptions * | CreateOpenExistingOptions () |
static std::unique_ptr< imgdoc2::IOpenExistingOptions > | CreateOpenExistingOptionsUp () |
static std::shared_ptr< imgdoc2::IOpenExistingOptions > | CreateOpenExistingOptionsSp () |
static std::shared_ptr< IHostingEnvironment > | CreateStandardHostingEnvironment () |
static std::shared_ptr< IHostingEnvironment > | CreateNullHostingEnvironment () |
static std::shared_ptr< IHostingEnvironment > | CreateHostingEnvironmentForFunctionPointers (std::intptr_t userparam, void(*pfnLog)(std::intptr_t userparam, int level, const char *szMessage), bool(*pfnIsLevelActive)(std::intptr_t userparam, int level), void(*pfnReportFatalErrorAndExit)(std::intptr_t userparam, const char *szMessage)) |
static std::shared_ptr< imgdoc2::IDoc > | CreateNew (imgdoc2::ICreateOptions *create_options, std::shared_ptr< IHostingEnvironment > environment=nullptr) |
static std::shared_ptr< imgdoc2::IDoc > | OpenExisting (imgdoc2::IOpenExistingOptions *open_existing_options, std::shared_ptr< IHostingEnvironment > environment=nullptr) |
Class factory creating objects implemented in the imgdoc2-library.
|
static |
Creates an options-object for creating a new imgdoc2-document.
|
static |
Creates an options-object for creating a new imgdoc2-document.
|
static |
Creates an options-object for creating a new imgdoc2-document.
|
static |
Creates hosting environment which routes the methods to the provided plan C-function pointers.
userparam | The user-parameter (which is passed to the functions). | |
[in] | pfnLog | If non-null, function for the Log method. |
[in] | pfnIsLevelActive | If non-null, function for the IsLogLevelActive method. |
[in] | pfnReportFatalErrorAndExit | If non-null, function for the ReportFatalErrorAndExit method. |
|
static |
Creates a new imgdoc2-document. A new database is constructed.
[in] | create_options | The options controlling the operation. |
environment | (Optional) The hosting environment object. |
|
static |
Creates a "null" hosting environment - which does nothing for logging.
|
static |
Creates an instance of the options-object for opening an existing file.
|
static |
Creates an instance of the options-object for opening an existing file.
|
static |
Creates an instance of the options-object for opening an existing file.
|
static |
Creates a "standard" hosting environment.
|
static |
Gets build-time information about the libimgdoc2 library.
|
static |
Creates a new imgdoc2-document for an existing file.
[in] | open_existing_options | The options controlling the operation. |
environment | (Optional) The hosting environment object. |