![]() |
XMP Toolkit SDK
6.0.0
|
Version1 of a interface that represents a factory to create various artifacts defined within AdobeXMPCommon namespace. More...
#include <IObjectFactory.h>
Public Member Functions | |
virtual pIUTF8String_base APICALL | CreateUTF8String (const char *buf, sizet count, pcIError_base &error) __NOTHROW__=0 |
Creates an IUTF8String object. More... | |
virtual pIError_base APICALL | CreateError (uint32 domain, uint32 code, uint32 severity, pcIError_base &error) __NOTHROW__=0 |
Creates an IError object. More... | |
virtual | ~IObjectFactory_v1 () __NOTHROW__ |
REQ_FRIEND_CLASS_DECLARATION () | |
![]() | |
template<typename requestedInterface > | |
XMP_PRIVATE requestedInterface * | GetInterfacePointer () |
Get the raw pointer to an interface object implementing the requested version. More... | |
template<typename requestedInterface > | |
const XMP_PRIVATE requestedInterface * | GetInterfacePointer () const |
Get the raw pointer to a const interface object implementing the requested version. More... | |
Static Public Member Functions | |
static XMP_PRIVATE uint64 | GetInterfaceID () |
Returns the unique ID assigned to the interface. More... | |
static XMP_PRIVATE uint32 | GetInterfaceVersion () |
Returns the version of the interface. More... | |
static XMP_PRIVATE pIObjectFactory | MakeObjectFactory (pIObjectFactory_base ptr) |
static XMP_PRIVATE pcIObjectFactory | MakeObjectFactory (pcIObjectFactory_base ptr) |
Additional Inherited Members | |
![]() | |
virtual | ~IVersionable () |
REQ_FRIEND_CLASS_DECLARATION () | |
Version1 of a interface that represents a factory to create various artifacts defined within AdobeXMPCommon namespace.
Provides all the functions to create instances of various artifacts defined with AdobeXMPCommon namespace. This is the interface through which clients of the library actually get access to all other interfaces.
Definition at line 27 of file IObjectFactory.h.
|
inlinevirtual |
Definition at line 82 of file IObjectFactory.h.
|
pure virtual |
Creates an IError object.
[in] | domain | An unsigned 32 bit integer value representing the error domain. |
[in] | code | An unsigned 32 bit integer value representing the error code. |
[in] | severity | An unsigned 32 bit integer value representing the severity of the error. |
[out] | error | A reference to a pointer to const IError object which will be filled with the error object in case of any error. |
|
pure virtual |
Creates an IUTF8String object.
[in] | buf | pointer to a constant char buffer containing content. It can be null terminated or not. NULL pointer will be treated as empty string. |
[in] | count | A value of #AdobeXMPCommon::sizet indicating the length in case buf is not null terminated. In case buf is null terminated it can be set to npos. |
[out] | error | A reference to a pointer to const IError object which will be filled with the error object in case of any error. |
|
inlinestatic |
Returns the unique ID assigned to the interface.
Definition at line 74 of file IObjectFactory.h.
References AdobeXMPCommon::kIObjectFactoryID().
|
inlinestatic |
Returns the version of the interface.
Definition at line 80 of file IObjectFactory.h.
|
inlinestatic |
Definition at line 64 of file IObjectFactory.h.
|
inlinestatic |
Convert raw pointer to shared pointer. The raw pointer is of version 1 interface where as the returned returned pointer depends on the version client is interested in.
Definition at line 61 of file IObjectFactory.h.
References AdobeXMPCommon::IVersionable::GetInterfacePointer().
AdobeXMPCommon::IObjectFactory_v1::REQ_FRIEND_CLASS_DECLARATION | ( | ) |