 |
XMP Toolkit SDK
6.0.0
|
Go to the documentation of this file.
2 #define __WXMPMeta_hpp__ 1
27 ok = (*proc) ( context, severity, cause, message );
36 #define zXMPMeta_GetVersionInfo_1(info) \
37 WXMPMeta_GetVersionInfo_1 ( info )
39 #define zXMPMeta_Initialize_1() \
40 WXMPMeta_Initialize_1 ( &wResult )
41 #define zXMPMeta_Terminate_1() \
42 WXMPMeta_Terminate_1 ( )
44 #define zXMPMeta_CTor_1() \
45 WXMPMeta_CTor_1 ( &wResult )
47 #define zXMPMeta_GetGlobalOptions_1() \
48 WXMPMeta_GetGlobalOptions_1 ( &wResult )
50 #define zXMPMeta_SetGlobalOptions_1(options) \
51 WXMPMeta_SetGlobalOptions_1 ( options, &wResult )
53 #define zXMPMeta_DumpNamespaces_1(outProc,refCon) \
54 WXMPMeta_DumpNamespaces_1 ( outProc, refCon, &wResult )
56 #define zXMPMeta_Use_CPP_DOM_APIs_1(useNewCoreAPIs) \
57 WXMPMeta_Use_CPP_DOM_APIs_1( useNewCoreAPIs, &wResult )
58 #define zXMPMeta_RegisterNamespace_1(namespaceURI,suggestedPrefix,actualPrefix,SetClientString) \
59 WXMPMeta_RegisterNamespace_1 ( namespaceURI, suggestedPrefix, actualPrefix, SetClientString, &wResult )
61 #define zXMPMeta_GetNamespacePrefix_1(namespaceURI,namespacePrefix,SetClientString) \
62 WXMPMeta_GetNamespacePrefix_1 ( namespaceURI, namespacePrefix, SetClientString, &wResult )
64 #define zXMPMeta_GetNamespaceURI_1(namespacePrefix,namespaceURI,SetClientString) \
65 WXMPMeta_GetNamespaceURI_1 ( namespacePrefix, namespaceURI, SetClientString, &wResult )
67 #define zXMPMeta_DeleteNamespace_1(namespaceURI) \
68 WXMPMeta_DeleteNamespace_1 ( namespaceURI, &wResult )
70 #define zXMPMeta_GetIXMPMetadata_1() \
71 WXMPMeta_GetIXMPMetadata_1( this->xmpRef, &wResult )
73 #define zXMPMeta_GetProperty_1(schemaNS,propName,propValue,options,SetClientString) \
74 WXMPMeta_GetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, options, SetClientString, &wResult )
76 #define zXMPMeta_GetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,options,SetClientString) \
77 WXMPMeta_GetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, options, SetClientString, &wResult )
79 #define zXMPMeta_GetStructField_1(schemaNS,structName,fieldNS,fieldName,fieldValue,options,SetClientString) \
80 WXMPMeta_GetStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, fieldValue, options, SetClientString, &wResult )
82 #define zXMPMeta_GetQualifier_1(schemaNS,propName,qualNS,qualName,qualValue,options,SetClientString) \
83 WXMPMeta_GetQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, qualValue, options, SetClientString, &wResult )
85 #define zXMPMeta_SetProperty_1(schemaNS,propName,propValue,options) \
86 WXMPMeta_SetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
88 #define zXMPMeta_SetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,options) \
89 WXMPMeta_SetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, options, &wResult )
91 #define zXMPMeta_AppendArrayItem_1(schemaNS,arrayName,arrayOptions,itemValue,options) \
92 WXMPMeta_AppendArrayItem_1 ( this->xmpRef, schemaNS, arrayName, arrayOptions, itemValue, options, &wResult )
94 #define zXMPMeta_SetStructField_1(schemaNS,structName,fieldNS,fieldName,fieldValue,options) \
95 WXMPMeta_SetStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, fieldValue, options, &wResult )
97 #define zXMPMeta_SetQualifier_1(schemaNS,propName,qualNS,qualName,qualValue,options) \
98 WXMPMeta_SetQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, qualValue, options, &wResult )
100 #define zXMPMeta_DeleteProperty_1(schemaNS,propName) \
101 WXMPMeta_DeleteProperty_1 ( this->xmpRef, schemaNS, propName, &wResult )
103 #define zXMPMeta_DeleteArrayItem_1(schemaNS,arrayName,itemIndex) \
104 WXMPMeta_DeleteArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult )
106 #define zXMPMeta_DeleteStructField_1(schemaNS,structName,fieldNS,fieldName) \
107 WXMPMeta_DeleteStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult )
109 #define zXMPMeta_DeleteQualifier_1(schemaNS,propName,qualNS,qualName) \
110 WXMPMeta_DeleteQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult )
112 #define zXMPMeta_DoesPropertyExist_1(schemaNS,propName) \
113 WXMPMeta_DoesPropertyExist_1 ( this->xmpRef, schemaNS, propName, &wResult )
115 #define zXMPMeta_DoesArrayItemExist_1(schemaNS,arrayName,itemIndex) \
116 WXMPMeta_DoesArrayItemExist_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult )
118 #define zXMPMeta_DoesStructFieldExist_1(schemaNS,structName,fieldNS,fieldName) \
119 WXMPMeta_DoesStructFieldExist_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult )
121 #define zXMPMeta_DoesQualifierExist_1(schemaNS,propName,qualNS,qualName) \
122 WXMPMeta_DoesQualifierExist_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult )
124 #define zXMPMeta_GetLocalizedText_1(schemaNS,altTextName,genericLang,specificLang,clientLang,clientValue,options,SetClientString) \
125 WXMPMeta_GetLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, clientLang, clientValue, options, SetClientString, &wResult )
127 #define zXMPMeta_SetLocalizedText_1(schemaNS,altTextName,genericLang,specificLang,itemValue,options) \
128 WXMPMeta_SetLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, itemValue, options, &wResult )
130 #define zXMPMeta_DeleteLocalizedText_1(schemaNS,altTextName,genericLang,specificLang) \
131 WXMPMeta_DeleteLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, &wResult )
132 #define zXMPMeta_GetProperty_Bool_1(schemaNS,propName,propValue,options) \
133 WXMPMeta_GetProperty_Bool_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
135 #define zXMPMeta_GetProperty_Int_1(schemaNS,propName,propValue,options) \
136 WXMPMeta_GetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
138 #define zXMPMeta_GetProperty_Int64_1(schemaNS,propName,propValue,options) \
139 WXMPMeta_GetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
141 #define zXMPMeta_GetProperty_Float_1(schemaNS,propName,propValue,options) \
142 WXMPMeta_GetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
144 #define zXMPMeta_GetProperty_Date_1(schemaNS,propName,propValue,options) \
145 WXMPMeta_GetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
147 #define zXMPMeta_SetProperty_Bool_1(schemaNS,propName,propValue,options) \
148 WXMPMeta_SetProperty_Bool_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
150 #define zXMPMeta_SetProperty_Int_1(schemaNS,propName,propValue,options) \
151 WXMPMeta_SetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
153 #define zXMPMeta_SetProperty_Int64_1(schemaNS,propName,propValue,options) \
154 WXMPMeta_SetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
156 #define zXMPMeta_SetProperty_Float_1(schemaNS,propName,propValue,options) \
157 WXMPMeta_SetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
159 #define zXMPMeta_SetProperty_Date_1(schemaNS,propName,propValue,options) \
160 WXMPMeta_SetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
162 #define zXMPMeta_GetObjectName_1(objName,SetClientString) \
163 WXMPMeta_GetObjectName_1 ( this->xmpRef, objName, SetClientString, &wResult )
165 #define zXMPMeta_SetObjectName_1(name) \
166 WXMPMeta_SetObjectName_1 ( this->xmpRef, name, &wResult )
168 #define zXMPMeta_GetObjectOptions_1() \
169 WXMPMeta_GetObjectOptions_1 ( this->xmpRef, &wResult )
171 #define zXMPMeta_SetObjectOptions_1(options) \
172 WXMPMeta_SetObjectOptions_1 ( this->xmpRef, options, &wResult )
174 #define zXMPMeta_Sort_1() \
175 WXMPMeta_Sort_1 ( this->xmpRef, &wResult )
177 #define zXMPMeta_Erase_1() \
178 WXMPMeta_Erase_1 ( this->xmpRef, &wResult )
180 #define zXMPMeta_Clone_1(options) \
181 WXMPMeta_Clone_1 ( this->xmpRef, options, &wResult )
183 #define zXMPMeta_CountArrayItems_1(schemaNS,arrayName) \
184 WXMPMeta_CountArrayItems_1 ( this->xmpRef, schemaNS, arrayName, &wResult )
186 #define zXMPMeta_DumpObject_1(outProc,refCon) \
187 WXMPMeta_DumpObject_1 ( this->xmpRef, outProc, refCon, &wResult )
189 #define zXMPMeta_ParseFromBuffer_1(buffer,bufferSize,options) \
190 WXMPMeta_ParseFromBuffer_1 ( this->xmpRef, buffer, bufferSize, options, &wResult )
192 #define zXMPMeta_SerializeToBuffer_1(pktString,options,padding,newline,indent,baseIndent,SetClientString) \
193 WXMPMeta_SerializeToBuffer_1 ( this->xmpRef, pktString, options, padding, newline, indent, baseIndent, SetClientString, &wResult )
195 #define zXMPMeta_SetDefaultErrorCallback_1(proc,context,limit) \
196 WXMPMeta_SetDefaultErrorCallback_1 ( WrapErrorNotify, proc, context, limit, &wResult )
198 #define zXMPMeta_SetErrorCallback_1(proc,context,limit) \
199 WXMPMeta_SetErrorCallback_1 ( this->xmpRef, WrapErrorNotify, proc, context, limit, &wResult )
201 #define zXMPMeta_ResetErrorCallbackLimit_1(limit) \
202 WXMPMeta_ResetErrorCallbackLimit_1 ( this->xmpRef, limit, &wResult )
256 void * namespacePrefix,
474 XMP_Int32 * propValue,
482 XMP_Int64 * propValue,
637 #endif // __WXMPMeta_hpp__
void(* SetClientStringProc)(void *clientPtr, XMP_StringPtr valuePtr, XMP_StringLen valueLen)
XMP Toolkit version information.
#define ConvertBoolToXMP_Bool(a)
XMP_Status(* XMP_TextOutputProc)(void *refCon, XMP_StringPtr buffer, XMP_StringLen bufferSize)
The signature of a client-defined callback for text output from XMP Toolkit debugging operations.
const typedef char * XMP_StringPtr
The type for input string parameters. A const char *, a null-terminated UTF-8 string.
struct __XMPMeta__ * XMPMetaRef
An "ABI safe" pointer to the internal part of an XMP object. Use to pass an XMP object across client ...
XMP_Uns32 XMP_StringLen
The type for string length parameters. A 32-bit unsigned integer, as big as will be practically neede...
XMP_Int32 XMP_Index
The type for offsets and indices. A 32-bit signed integer. It is signed to allow -1 for loop terminat...
XMP_Uns8 XMP_ErrorSeverity
XMP_Bool(* XMPMeta_ErrorCallbackWrapper)(XMPMeta_ErrorCallbackProc clientProc, void *context, XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message)
Internal: The signatures of client-side wrappers for the error notification callbacks.
bool(* XMPMeta_ErrorCallbackProc)(void *context, XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message)
The signature of a client-defined callback for TXMPMeta error notifications.
XMP_Uns32 XMP_OptionBits
The type for a collection of 32 flag bits.
The expanded type for a date and time.