XMP Toolkit SDK  6.0.0
WXMPMeta.hpp
Go to the documentation of this file.
1 #if ! __WXMPMeta_hpp__
2 #define __WXMPMeta_hpp__ 1
3 
4 // =================================================================================================
5 // Copyright 2002 Adobe
6 // All Rights Reserved.
7 //
8 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
9 // of the Adobe license agreement accompanying it. If you have received this file from a source other
10 // than Adobe, then your use, modification, or distribution of it requires the prior written permission
11 // of Adobe.
12 // =================================================================================================
13 
15 
16 #if __cplusplus
17 extern "C" {
18 #endif
19 
20 // =================================================================================================
21 
22 static inline XMP_Bool WrapErrorNotify ( XMPMeta_ErrorCallbackProc proc, void * context,
23  XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message )
24 {
25  bool ok;
26  try {
27  ok = (*proc) ( context, severity, cause, message );
28  } catch ( ... ) {
29  ok = false;
30  }
31  return ConvertBoolToXMP_Bool( ok );
32 }
33 
34 // =================================================================================================
35 
36 #define zXMPMeta_GetVersionInfo_1(info) \
37  WXMPMeta_GetVersionInfo_1 ( info /* no wResult */ )
38 
39 #define zXMPMeta_Initialize_1() \
40  WXMPMeta_Initialize_1 ( &wResult )
41 #define zXMPMeta_Terminate_1() \
42  WXMPMeta_Terminate_1 ( /* no wResult */ )
43 
44 #define zXMPMeta_CTor_1() \
45  WXMPMeta_CTor_1 ( &wResult )
46 
47 #define zXMPMeta_GetGlobalOptions_1() \
48  WXMPMeta_GetGlobalOptions_1 ( &wResult )
49 
50 #define zXMPMeta_SetGlobalOptions_1(options) \
51  WXMPMeta_SetGlobalOptions_1 ( options, &wResult )
52 
53 #define zXMPMeta_DumpNamespaces_1(outProc,refCon) \
54  WXMPMeta_DumpNamespaces_1 ( outProc, refCon, &wResult )
55 
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 )
60 
61 #define zXMPMeta_GetNamespacePrefix_1(namespaceURI,namespacePrefix,SetClientString) \
62  WXMPMeta_GetNamespacePrefix_1 ( namespaceURI, namespacePrefix, SetClientString, &wResult )
63 
64 #define zXMPMeta_GetNamespaceURI_1(namespacePrefix,namespaceURI,SetClientString) \
65  WXMPMeta_GetNamespaceURI_1 ( namespacePrefix, namespaceURI, SetClientString, &wResult )
66 
67 #define zXMPMeta_DeleteNamespace_1(namespaceURI) \
68  WXMPMeta_DeleteNamespace_1 ( namespaceURI, &wResult )
69 
70 #define zXMPMeta_GetIXMPMetadata_1() \
71  WXMPMeta_GetIXMPMetadata_1( this->xmpRef, &wResult )
72 
73 #define zXMPMeta_GetProperty_1(schemaNS,propName,propValue,options,SetClientString) \
74  WXMPMeta_GetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, options, SetClientString, &wResult )
75 
76 #define zXMPMeta_GetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,options,SetClientString) \
77  WXMPMeta_GetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, options, SetClientString, &wResult )
78 
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 )
81 
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 )
84 
85 #define zXMPMeta_SetProperty_1(schemaNS,propName,propValue,options) \
86  WXMPMeta_SetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
87 
88 #define zXMPMeta_SetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,options) \
89  WXMPMeta_SetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, options, &wResult )
90 
91 #define zXMPMeta_AppendArrayItem_1(schemaNS,arrayName,arrayOptions,itemValue,options) \
92  WXMPMeta_AppendArrayItem_1 ( this->xmpRef, schemaNS, arrayName, arrayOptions, itemValue, options, &wResult )
93 
94 #define zXMPMeta_SetStructField_1(schemaNS,structName,fieldNS,fieldName,fieldValue,options) \
95  WXMPMeta_SetStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, fieldValue, options, &wResult )
96 
97 #define zXMPMeta_SetQualifier_1(schemaNS,propName,qualNS,qualName,qualValue,options) \
98  WXMPMeta_SetQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, qualValue, options, &wResult )
99 
100 #define zXMPMeta_DeleteProperty_1(schemaNS,propName) \
101  WXMPMeta_DeleteProperty_1 ( this->xmpRef, schemaNS, propName, &wResult )
102 
103 #define zXMPMeta_DeleteArrayItem_1(schemaNS,arrayName,itemIndex) \
104  WXMPMeta_DeleteArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult )
105 
106 #define zXMPMeta_DeleteStructField_1(schemaNS,structName,fieldNS,fieldName) \
107  WXMPMeta_DeleteStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult )
108 
109 #define zXMPMeta_DeleteQualifier_1(schemaNS,propName,qualNS,qualName) \
110  WXMPMeta_DeleteQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult )
111 
112 #define zXMPMeta_DoesPropertyExist_1(schemaNS,propName) \
113  WXMPMeta_DoesPropertyExist_1 ( this->xmpRef, schemaNS, propName, &wResult )
114 
115 #define zXMPMeta_DoesArrayItemExist_1(schemaNS,arrayName,itemIndex) \
116  WXMPMeta_DoesArrayItemExist_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult )
117 
118 #define zXMPMeta_DoesStructFieldExist_1(schemaNS,structName,fieldNS,fieldName) \
119  WXMPMeta_DoesStructFieldExist_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult )
120 
121 #define zXMPMeta_DoesQualifierExist_1(schemaNS,propName,qualNS,qualName) \
122  WXMPMeta_DoesQualifierExist_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult )
123 
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 )
126 
127 #define zXMPMeta_SetLocalizedText_1(schemaNS,altTextName,genericLang,specificLang,itemValue,options) \
128  WXMPMeta_SetLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, itemValue, options, &wResult )
129 
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 )
134 
135 #define zXMPMeta_GetProperty_Int_1(schemaNS,propName,propValue,options) \
136  WXMPMeta_GetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
137 
138 #define zXMPMeta_GetProperty_Int64_1(schemaNS,propName,propValue,options) \
139  WXMPMeta_GetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
140 
141 #define zXMPMeta_GetProperty_Float_1(schemaNS,propName,propValue,options) \
142  WXMPMeta_GetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
143 
144 #define zXMPMeta_GetProperty_Date_1(schemaNS,propName,propValue,options) \
145  WXMPMeta_GetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
146 
147 #define zXMPMeta_SetProperty_Bool_1(schemaNS,propName,propValue,options) \
148  WXMPMeta_SetProperty_Bool_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
149 
150 #define zXMPMeta_SetProperty_Int_1(schemaNS,propName,propValue,options) \
151  WXMPMeta_SetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
152 
153 #define zXMPMeta_SetProperty_Int64_1(schemaNS,propName,propValue,options) \
154  WXMPMeta_SetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
155 
156 #define zXMPMeta_SetProperty_Float_1(schemaNS,propName,propValue,options) \
157  WXMPMeta_SetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
158 
159 #define zXMPMeta_SetProperty_Date_1(schemaNS,propName,propValue,options) \
160  WXMPMeta_SetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult )
161 
162 #define zXMPMeta_GetObjectName_1(objName,SetClientString) \
163  WXMPMeta_GetObjectName_1 ( this->xmpRef, objName, SetClientString, &wResult )
164 
165 #define zXMPMeta_SetObjectName_1(name) \
166  WXMPMeta_SetObjectName_1 ( this->xmpRef, name, &wResult )
167 
168 #define zXMPMeta_GetObjectOptions_1() \
169  WXMPMeta_GetObjectOptions_1 ( this->xmpRef, &wResult )
170 
171 #define zXMPMeta_SetObjectOptions_1(options) \
172  WXMPMeta_SetObjectOptions_1 ( this->xmpRef, options, &wResult )
173 
174 #define zXMPMeta_Sort_1() \
175  WXMPMeta_Sort_1 ( this->xmpRef, &wResult )
176 
177 #define zXMPMeta_Erase_1() \
178  WXMPMeta_Erase_1 ( this->xmpRef, &wResult )
179 
180 #define zXMPMeta_Clone_1(options) \
181  WXMPMeta_Clone_1 ( this->xmpRef, options, &wResult )
182 
183 #define zXMPMeta_CountArrayItems_1(schemaNS,arrayName) \
184  WXMPMeta_CountArrayItems_1 ( this->xmpRef, schemaNS, arrayName, &wResult )
185 
186 #define zXMPMeta_DumpObject_1(outProc,refCon) \
187  WXMPMeta_DumpObject_1 ( this->xmpRef, outProc, refCon, &wResult )
188 
189 #define zXMPMeta_ParseFromBuffer_1(buffer,bufferSize,options) \
190  WXMPMeta_ParseFromBuffer_1 ( this->xmpRef, buffer, bufferSize, options, &wResult )
191 
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 )
194 
195 #define zXMPMeta_SetDefaultErrorCallback_1(proc,context,limit) \
196  WXMPMeta_SetDefaultErrorCallback_1 ( WrapErrorNotify, proc, context, limit, &wResult )
197 
198 #define zXMPMeta_SetErrorCallback_1(proc,context,limit) \
199  WXMPMeta_SetErrorCallback_1 ( this->xmpRef, WrapErrorNotify, proc, context, limit, &wResult )
200 
201 #define zXMPMeta_ResetErrorCallbackLimit_1(limit) \
202  WXMPMeta_ResetErrorCallbackLimit_1 ( this->xmpRef, limit, &wResult )
203 
204 // =================================================================================================
205 
206 extern void
208 
209 extern void
211 extern void
213 
214 // -------------------------------------------------------------------------------------------------
215 
216 extern void
218 
219 extern void
221 
222 extern void
224 
225 // -------------------------------------------------------------------------------------------------
226 
227 extern void
229 
230 extern void
232  WXMP_Result * wResult );
233 
234 // -------------------------------------------------------------------------------------------------
235 
236 extern void
238  void * refCon,
239  WXMP_Result * wResult );
240 
241 extern void
243  WXMP_Result * wResult );
244 
245 // -------------------------------------------------------------------------------------------------
246 
247 extern void
249  XMP_StringPtr suggestedPrefix,
250  void * actualPrefix,
251  SetClientStringProc SetClientString,
252  WXMP_Result * wResult );
253 
254 extern void
256  void * namespacePrefix,
257  SetClientStringProc SetClientString,
258  WXMP_Result * wResult );
259 
260 extern void
262  void * namespaceURI,
263  SetClientStringProc SetClientString,
264  WXMP_Result * wResult );
265 
266 extern void
268  WXMP_Result * wResult );
269 
270 // -------------------------------------------------------------------------------------------------
271 
272 extern void
274 WXMP_Result * wResult );
275 
276 
277 extern void
279  XMP_StringPtr schemaNS,
280  XMP_StringPtr propName,
281  void * propValue,
282  XMP_OptionBits * options,
283  SetClientStringProc SetClientString,
284  WXMP_Result * wResult ) /* const */ ;
285 
286 extern void
288  XMP_StringPtr schemaNS,
289  XMP_StringPtr arrayName,
290  XMP_Index itemIndex,
291  void * itemValue,
292  XMP_OptionBits * options,
293  SetClientStringProc SetClientString,
294  WXMP_Result * wResult ) /* const */ ;
295 
296 extern void
298  XMP_StringPtr schemaNS,
299  XMP_StringPtr structName,
300  XMP_StringPtr fieldNS,
301  XMP_StringPtr fieldName,
302  void * fieldValue,
303  XMP_OptionBits * options,
304  SetClientStringProc SetClientString,
305  WXMP_Result * wResult ) /* const */ ;
306 
307 extern void
309  XMP_StringPtr schemaNS,
310  XMP_StringPtr propName,
311  XMP_StringPtr qualNS,
312  XMP_StringPtr qualName,
313  void * qualValue,
314  XMP_OptionBits * options,
315  SetClientStringProc SetClientString,
316  WXMP_Result * wResult ) /* const */ ;
317 
318 // -------------------------------------------------------------------------------------------------
319 
320 extern void
322  XMP_StringPtr schemaNS,
323  XMP_StringPtr propName,
324  XMP_StringPtr propValue,
325  XMP_OptionBits options,
326  WXMP_Result * wResult );
327 
328 extern void
330  XMP_StringPtr schemaNS,
331  XMP_StringPtr arrayName,
332  XMP_Index itemIndex,
333  XMP_StringPtr itemValue,
334  XMP_OptionBits options,
335  WXMP_Result * wResult );
336 
337 extern void
339  XMP_StringPtr schemaNS,
340  XMP_StringPtr arrayName,
341  XMP_OptionBits arrayOptions,
342  XMP_StringPtr itemValue,
343  XMP_OptionBits options,
344  WXMP_Result * wResult );
345 
346 extern void
348  XMP_StringPtr schemaNS,
349  XMP_StringPtr structName,
350  XMP_StringPtr fieldNS,
351  XMP_StringPtr fieldName,
352  XMP_StringPtr fieldValue,
353  XMP_OptionBits options,
354  WXMP_Result * wResult );
355 
356 extern void
358  XMP_StringPtr schemaNS,
359  XMP_StringPtr propName,
360  XMP_StringPtr qualNS,
361  XMP_StringPtr qualName,
362  XMP_StringPtr qualValue,
363  XMP_OptionBits options,
364  WXMP_Result * wResult );
365 
366 // -------------------------------------------------------------------------------------------------
367 
368 extern void
370  XMP_StringPtr schemaNS,
371  XMP_StringPtr propName,
372  WXMP_Result * wResult );
373 
374 extern void
376  XMP_StringPtr schemaNS,
377  XMP_StringPtr arrayName,
378  XMP_Index itemIndex,
379  WXMP_Result * wResult );
380 
381 extern void
383  XMP_StringPtr schemaNS,
384  XMP_StringPtr structName,
385  XMP_StringPtr fieldNS,
386  XMP_StringPtr fieldName,
387  WXMP_Result * wResult );
388 
389 extern void
391  XMP_StringPtr schemaNS,
392  XMP_StringPtr propName,
393  XMP_StringPtr qualNS,
394  XMP_StringPtr qualName,
395  WXMP_Result * wResult );
396 
397 // -------------------------------------------------------------------------------------------------
398 
399 extern void
401  XMP_StringPtr schemaNS,
402  XMP_StringPtr propName,
403  WXMP_Result * wResult ) /* const */ ;
404 
405 extern void
407  XMP_StringPtr schemaNS,
408  XMP_StringPtr arrayName,
409  XMP_Index itemIndex,
410  WXMP_Result * wResult ) /* const */ ;
411 
412 extern void
414  XMP_StringPtr schemaNS,
415  XMP_StringPtr structName,
416  XMP_StringPtr fieldNS,
417  XMP_StringPtr fieldName,
418  WXMP_Result * wResult ) /* const */ ;
419 
420 extern void
422  XMP_StringPtr schemaNS,
423  XMP_StringPtr propName,
424  XMP_StringPtr qualNS,
425  XMP_StringPtr qualName,
426  WXMP_Result * wResult ) /* const */ ;
427 
428 // -------------------------------------------------------------------------------------------------
429 
430 extern void
432  XMP_StringPtr schemaNS,
433  XMP_StringPtr altTextName,
434  XMP_StringPtr genericLang,
435  XMP_StringPtr specificLang,
436  void * clientLang,
437  void * clientValue,
438  XMP_OptionBits * options,
439  SetClientStringProc SetClientString,
440  WXMP_Result * wResult ) /* const */ ;
441 
442 extern void
444  XMP_StringPtr schemaNS,
445  XMP_StringPtr altTextName,
446  XMP_StringPtr genericLang,
447  XMP_StringPtr specificLang,
448  XMP_StringPtr itemValue,
449  XMP_OptionBits options,
450  WXMP_Result * wResult );
451 
452 extern void
454  XMP_StringPtr schemaNS,
455  XMP_StringPtr altTextName,
456  XMP_StringPtr genericLang,
457  XMP_StringPtr specificLang,
458  WXMP_Result * wResult );
459 
460 // -------------------------------------------------------------------------------------------------
461 
462 extern void
464  XMP_StringPtr schemaNS,
465  XMP_StringPtr propName,
466  XMP_Bool * propValue,
467  XMP_OptionBits * options,
468  WXMP_Result * wResult ) /* const */ ;
469 
470 extern void
472  XMP_StringPtr schemaNS,
473  XMP_StringPtr propName,
474  XMP_Int32 * propValue,
475  XMP_OptionBits * options,
476  WXMP_Result * wResult ) /* const */ ;
477 
478 extern void
480  XMP_StringPtr schemaNS,
481  XMP_StringPtr propName,
482  XMP_Int64 * propValue,
483  XMP_OptionBits * options,
484  WXMP_Result * wResult ) /* const */ ;
485 
486 extern void
488  XMP_StringPtr schemaNS,
489  XMP_StringPtr propName,
490  double * propValue,
491  XMP_OptionBits * options,
492  WXMP_Result * wResult ) /* const */ ;
493 
494 extern void
496  XMP_StringPtr schemaNS,
497  XMP_StringPtr propName,
498  XMP_DateTime * propValue,
499  XMP_OptionBits * options,
500  WXMP_Result * wResult ) /* const */ ;
501 
502 extern void
504  XMP_StringPtr schemaNS,
505  XMP_StringPtr propName,
506  XMP_Bool propValue,
507  XMP_OptionBits options,
508  WXMP_Result * wResult );
509 
510 extern void
512  XMP_StringPtr schemaNS,
513  XMP_StringPtr propName,
514  XMP_Int32 propValue,
515  XMP_OptionBits options,
516  WXMP_Result * wResult );
517 
518 extern void
520  XMP_StringPtr schemaNS,
521  XMP_StringPtr propName,
522  XMP_Int64 propValue,
523  XMP_OptionBits options,
524  WXMP_Result * wResult );
525 
526 extern void
528  XMP_StringPtr schemaNS,
529  XMP_StringPtr propName,
530  double propValue,
531  XMP_OptionBits options,
532  WXMP_Result * wResult );
533 
534 extern void
536  XMP_StringPtr schemaNS,
537  XMP_StringPtr propName,
538  const XMP_DateTime & propValue,
539  XMP_OptionBits options,
540  WXMP_Result * wResult );
541 
542 // -------------------------------------------------------------------------------------------------
543 
544 extern void
546  void * objName,
547  SetClientStringProc SetClientString,
548  WXMP_Result * wResult ) /* const */ ;
549 
550 extern void
552  XMP_StringPtr name,
553  WXMP_Result * wResult );
554 
555 extern void
557  WXMP_Result * wResult ) /* const */ ;
558 
559 extern void
561  XMP_OptionBits options,
562  WXMP_Result * wResult );
563 
564 extern void
566  WXMP_Result * wResult );
567 
568 extern void
570  WXMP_Result * wResult );
571 
572 extern void
574  XMP_OptionBits options,
575  WXMP_Result * wResult ) /* const */ ;
576 
577 extern void
579  XMP_StringPtr schemaNS,
580  XMP_StringPtr arrayName,
581  WXMP_Result * wResult ) /* const */ ;
582 
583 extern void
585  XMP_TextOutputProc outProc,
586  void * refCon,
587  WXMP_Result * wResult ) /* const */ ;
588 
589 // -------------------------------------------------------------------------------------------------
590 
591 extern void
593  XMP_StringPtr buffer,
594  XMP_StringLen bufferSize,
595  XMP_OptionBits options,
596  WXMP_Result * wResult );
597 
598 extern void
600  void * pktString,
601  XMP_OptionBits options,
602  XMP_StringLen padding,
603  XMP_StringPtr newline,
604  XMP_StringPtr indent,
605  XMP_Index baseIndent,
606  SetClientStringProc SetClientString,
607  WXMP_Result * wResult ) /* const */ ;
608 
609 // -------------------------------------------------------------------------------------------------
610 
611 extern void
613  XMPMeta_ErrorCallbackProc clientProc,
614  void * context,
615  XMP_Uns32 limit,
616  WXMP_Result * wResult );
617 
618 extern void
620  XMPMeta_ErrorCallbackWrapper wrapperProc,
621  XMPMeta_ErrorCallbackProc clientProc,
622  void * context,
623  XMP_Uns32 limit,
624  WXMP_Result * wResult );
625 
626 extern void
628  XMP_Uns32 limit,
629  WXMP_Result * wResult );
630 
631 // =================================================================================================
632 
633 #if __cplusplus
634 } /* extern "C" */
635 #endif
636 
637 #endif // __WXMPMeta_hpp__
WXMPMeta_SetObjectOptions_1
void XMP_PUBLIC WXMPMeta_SetObjectOptions_1(XMPMetaRef xmpRef, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_SetStructField_1
void XMP_PUBLIC WXMPMeta_SetStructField_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, XMP_StringPtr fieldValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_GetGlobalOptions_1
void XMP_PUBLIC WXMPMeta_GetGlobalOptions_1(WXMP_Result *wResult)
WXMPMeta_GetIXMPMetadata_1
void XMP_PUBLIC WXMPMeta_GetIXMPMetadata_1(XMPMetaRef xmpObjRef, WXMP_Result *wResult)
WrapErrorNotify
static XMP_Bool WrapErrorNotify(XMPMeta_ErrorCallbackProc proc, void *context, XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message)
Definition: WXMPMeta.hpp:22
WXMPMeta_ResetErrorCallbackLimit_1
void XMP_PUBLIC WXMPMeta_ResetErrorCallbackLimit_1(XMPMetaRef xmpRef, XMP_Uns32 limit, WXMP_Result *wResult)
SetClientStringProc
void(* SetClientStringProc)(void *clientPtr, XMP_StringPtr valuePtr, XMP_StringLen valueLen)
Definition: WXMP_Common.hpp:25
WXMPMeta_GetObjectName_1
void XMP_PUBLIC WXMPMeta_GetObjectName_1(XMPMetaRef xmpRef, void *objName, SetClientStringProc SetClientString, WXMP_Result *wResult)
XMP_VersionInfo
XMP Toolkit version information.
Definition: XMP_Const.h:1565
WXMPMeta_DeleteArrayItem_1
void XMP_PUBLIC WXMPMeta_DeleteArrayItem_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, WXMP_Result *wResult)
WXMPMeta_DumpNamespaces_1
void XMP_PUBLIC WXMPMeta_DumpNamespaces_1(XMP_TextOutputProc outProc, void *refCon, WXMP_Result *wResult)
WXMPMeta_DeleteLocalizedText_1
void XMP_PUBLIC WXMPMeta_DeleteLocalizedText_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr altTextName, XMP_StringPtr genericLang, XMP_StringPtr specificLang, WXMP_Result *wResult)
WXMPMeta_DeleteProperty_1
void XMP_PUBLIC WXMPMeta_DeleteProperty_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, WXMP_Result *wResult)
WXMPMeta_SetLocalizedText_1
void XMP_PUBLIC WXMPMeta_SetLocalizedText_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr altTextName, XMP_StringPtr genericLang, XMP_StringPtr specificLang, XMP_StringPtr itemValue, XMP_OptionBits options, WXMP_Result *wResult)
ConvertBoolToXMP_Bool
#define ConvertBoolToXMP_Bool(a)
Definition: XMP_Const.h:116
WXMPMeta_SetProperty_1
void XMP_PUBLIC WXMPMeta_SetProperty_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr propValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_GetNamespaceURI_1
void XMP_PUBLIC WXMPMeta_GetNamespaceURI_1(XMP_StringPtr namespacePrefix, void *namespaceURI, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_SetProperty_Bool_1
void XMP_PUBLIC WXMPMeta_SetProperty_Bool_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Bool propValue, XMP_OptionBits options, WXMP_Result *wResult)
XMP_PUBLIC
#define XMP_PUBLIC
Definition: XMP_Environment.h:221
WXMPMeta_Clone_1
void XMP_PUBLIC WXMPMeta_Clone_1(XMPMetaRef xmpRef, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_GetProperty_Int64_1
void XMP_PUBLIC WXMPMeta_GetProperty_Int64_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Int64 *propValue, XMP_OptionBits *options, WXMP_Result *wResult)
WXMPMeta_Erase_1
void XMP_PUBLIC WXMPMeta_Erase_1(XMPMetaRef xmpRef, WXMP_Result *wResult)
WXMPMeta_Use_CPP_DOM_APIs_1
void XMP_PUBLIC WXMPMeta_Use_CPP_DOM_APIs_1(XMP_Bool useNewCoreAPIs, WXMP_Result *wResult)
WXMPMeta_SetProperty_Date_1
void XMP_PUBLIC WXMPMeta_SetProperty_Date_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, const XMP_DateTime &propValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_SetProperty_Int_1
void XMP_PUBLIC WXMPMeta_SetProperty_Int_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Int32 propValue, XMP_OptionBits options, WXMP_Result *wResult)
XMP_TextOutputProc
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.
Definition: XMP_Const.h:1513
WXMPMeta_CTor_1
void XMP_PUBLIC WXMPMeta_CTor_1(WXMP_Result *wResult)
WXMPMeta_SetDefaultErrorCallback_1
void XMP_PUBLIC WXMPMeta_SetDefaultErrorCallback_1(XMPMeta_ErrorCallbackWrapper wrapperProc, XMPMeta_ErrorCallbackProc clientProc, void *context, XMP_Uns32 limit, WXMP_Result *wResult)
WXMPMeta_GetVersionInfo_1
void XMP_PUBLIC WXMPMeta_GetVersionInfo_1(XMP_VersionInfo *info)
WXMPMeta_GetNamespacePrefix_1
void XMP_PUBLIC WXMPMeta_GetNamespacePrefix_1(XMP_StringPtr namespaceURI, void *namespacePrefix, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_SetProperty_Float_1
void XMP_PUBLIC WXMPMeta_SetProperty_Float_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, double propValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_GetProperty_Date_1
void XMP_PUBLIC WXMPMeta_GetProperty_Date_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_DateTime *propValue, XMP_OptionBits *options, WXMP_Result *wResult)
WXMPMeta_ParseFromBuffer_1
void XMP_PUBLIC WXMPMeta_ParseFromBuffer_1(XMPMetaRef xmpRef, XMP_StringPtr buffer, XMP_StringLen bufferSize, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_DoesPropertyExist_1
void XMP_PUBLIC WXMPMeta_DoesPropertyExist_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, WXMP_Result *wResult)
WXMPMeta_SetProperty_Int64_1
void XMP_PUBLIC WXMPMeta_SetProperty_Int64_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Int64 propValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_DoesArrayItemExist_1
void XMP_PUBLIC WXMPMeta_DoesArrayItemExist_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, WXMP_Result *wResult)
WXMPMeta_CountArrayItems_1
void XMP_PUBLIC WXMPMeta_CountArrayItems_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, WXMP_Result *wResult)
WXMPMeta_Sort_1
void XMP_PUBLIC WXMPMeta_Sort_1(XMPMetaRef xmpRef, WXMP_Result *wResult)
WXMPMeta_GetQualifier_1
void XMP_PUBLIC WXMPMeta_GetQualifier_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, void *qualValue, XMP_OptionBits *options, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_DoesStructFieldExist_1
void XMP_PUBLIC WXMPMeta_DoesStructFieldExist_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, WXMP_Result *wResult)
WXMPMeta_SetGlobalOptions_1
void XMP_PUBLIC WXMPMeta_SetGlobalOptions_1(XMP_OptionBits options, WXMP_Result *wResult)
XMP_StringPtr
const typedef char * XMP_StringPtr
The type for input string parameters. A const char *, a null-terminated UTF-8 string.
Definition: XMP_Const.h:178
WXMPMeta_SetObjectName_1
void XMP_PUBLIC WXMPMeta_SetObjectName_1(XMPMetaRef xmpRef, XMP_StringPtr name, WXMP_Result *wResult)
WXMP_Result
Definition: WXMP_Common.hpp:28
WXMPMeta_GetLocalizedText_1
void XMP_PUBLIC WXMPMeta_GetLocalizedText_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr altTextName, XMP_StringPtr genericLang, XMP_StringPtr specificLang, void *clientLang, void *clientValue, XMP_OptionBits *options, SetClientStringProc SetClientString, WXMP_Result *wResult)
XMPMetaRef
struct __XMPMeta__ * XMPMetaRef
An "ABI safe" pointer to the internal part of an XMP object. Use to pass an XMP object across client ...
Definition: XMP_Const.h:139
WXMPMeta_DeleteNamespace_1
void XMP_PUBLIC WXMPMeta_DeleteNamespace_1(XMP_StringPtr namespaceURI, WXMP_Result *wResult)
WXMPMeta_GetProperty_Int_1
void XMP_PUBLIC WXMPMeta_GetProperty_Int_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Int32 *propValue, XMP_OptionBits *options, WXMP_Result *wResult)
WXMPMeta_DecrementRefCount_1
void XMP_PUBLIC WXMPMeta_DecrementRefCount_1(XMPMetaRef xmpRef)
WXMPMeta_GetProperty_Bool_1
void XMP_PUBLIC WXMPMeta_GetProperty_Bool_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_Bool *propValue, XMP_OptionBits *options, WXMP_Result *wResult)
XMP_StringLen
XMP_Uns32 XMP_StringLen
The type for string length parameters. A 32-bit unsigned integer, as big as will be practically neede...
Definition: XMP_Const.h:179
WXMPMeta_SetErrorCallback_1
void XMP_PUBLIC WXMPMeta_SetErrorCallback_1(XMPMetaRef xmpRef, XMPMeta_ErrorCallbackWrapper wrapperProc, XMPMeta_ErrorCallbackProc clientProc, void *context, XMP_Uns32 limit, WXMP_Result *wResult)
WXMPMeta_GetProperty_Float_1
void XMP_PUBLIC WXMPMeta_GetProperty_Float_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, double *propValue, XMP_OptionBits *options, WXMP_Result *wResult)
WXMPMeta_SetQualifier_1
void XMP_PUBLIC WXMPMeta_SetQualifier_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, XMP_StringPtr qualValue, XMP_OptionBits options, WXMP_Result *wResult)
XMP_Index
XMP_Int32 XMP_Index
The type for offsets and indices. A 32-bit signed integer. It is signed to allow -1 for loop terminat...
Definition: XMP_Const.h:180
XMP_ErrorSeverity
XMP_Uns8 XMP_ErrorSeverity
Definition: XMP_Const.h:1242
WXMPMeta_DoesQualifierExist_1
void XMP_PUBLIC WXMPMeta_DoesQualifierExist_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, WXMP_Result *wResult)
WXMPMeta_DumpObject_1
void XMP_PUBLIC WXMPMeta_DumpObject_1(XMPMetaRef xmpRef, XMP_TextOutputProc outProc, void *refCon, WXMP_Result *wResult)
XMPMeta_ErrorCallbackWrapper
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.
Definition: XMP_Const.h:1322
WXMPMeta_Initialize_1
void XMP_PUBLIC WXMPMeta_Initialize_1(WXMP_Result *wResult)
WXMPMeta_AppendArrayItem_1
void XMP_PUBLIC WXMPMeta_AppendArrayItem_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_OptionBits arrayOptions, XMP_StringPtr itemValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_GetStructField_1
void XMP_PUBLIC WXMPMeta_GetStructField_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, void *fieldValue, XMP_OptionBits *options, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_GetProperty_1
void XMP_PUBLIC WXMPMeta_GetProperty_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, void *propValue, XMP_OptionBits *options, SetClientStringProc SetClientString, WXMP_Result *wResult)
XMP_Bool
XMP_Uns8 XMP_Bool
Definition: XMP_Const.h:111
WXMPMeta_Terminate_1
void XMP_PUBLIC WXMPMeta_Terminate_1()
XMPMeta_ErrorCallbackProc
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.
Definition: XMP_Const.h:1281
WXMPMeta_DeleteStructField_1
void XMP_PUBLIC WXMPMeta_DeleteStructField_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, WXMP_Result *wResult)
WXMPMeta_GetArrayItem_1
void XMP_PUBLIC WXMPMeta_GetArrayItem_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, void *itemValue, XMP_OptionBits *options, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMP_Common.hpp
WXMPMeta_IncrementRefCount_1
void XMP_PUBLIC WXMPMeta_IncrementRefCount_1(XMPMetaRef xmpRef)
XMP_OptionBits
XMP_Uns32 XMP_OptionBits
The type for a collection of 32 flag bits.
Definition: XMP_Const.h:181
XMP_DateTime
The expanded type for a date and time.
Definition: XMP_Const.h:232
WXMPMeta_GetObjectOptions_1
void XMP_PUBLIC WXMPMeta_GetObjectOptions_1(XMPMetaRef xmpRef, WXMP_Result *wResult)
WXMPMeta_SerializeToBuffer_1
void XMP_PUBLIC WXMPMeta_SerializeToBuffer_1(XMPMetaRef xmpRef, void *pktString, XMP_OptionBits options, XMP_StringLen padding, XMP_StringPtr newline, XMP_StringPtr indent, XMP_Index baseIndent, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_SetArrayItem_1
void XMP_PUBLIC WXMPMeta_SetArrayItem_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, XMP_StringPtr itemValue, XMP_OptionBits options, WXMP_Result *wResult)
WXMPMeta_RegisterNamespace_1
void XMP_PUBLIC WXMPMeta_RegisterNamespace_1(XMP_StringPtr namespaceURI, XMP_StringPtr suggestedPrefix, void *actualPrefix, SetClientStringProc SetClientString, WXMP_Result *wResult)
WXMPMeta_DeleteQualifier_1
void XMP_PUBLIC WXMPMeta_DeleteQualifier_1(XMPMetaRef xmpRef, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, WXMP_Result *wResult)