summaryrefslogtreecommitdiff
path: root/docs/API/XMP__Const_8h_source.html
blob: b0ce7efefddfaaf07280bb55cac0ee34bf3d082b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>XMP-Toolkit-SDK-CC201411-17: XMP_Const.h Source File</title>
<link href="xmp.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<img src="xmp_tagline_small.jpg" width="125" height="50" border="0"><p>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript">
<!--
function changeDisplayState (e){
  var num=this.id.replace(/[^[0-9]/g,'');
  var button=this.firstChild;
  var sectionDiv=document.getElementById('dynsection'+num);
  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
    sectionDiv.style.display='block';
    button.src='open.gif';
  }else{
    sectionDiv.style.display='none';
    button.src='closed.gif';
  }
}
function initDynSections(){
  var divs=document.getElementsByTagName('div');
  var sectionCounter=1;
  for(var i=0;i<divs.length-1;i++){
    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
      var header=divs[i];
      var section=divs[i+1];
      var button=header.firstChild;
      if (button!='IMG'){
        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
        button=document.createElement('img');
        divs[i].insertBefore(button,divs[i].firstChild);
      }
      header.style.cursor='pointer';
      header.onclick=changeDisplayState;
      header.id='dynheader'+sectionCounter;
      button.src='closed.gif';
      section.id='dynsection'+sectionCounter;
      section.style.display='none';
      section.style.marginLeft='14px';
      sectionCounter++;
    }
  }
}
window.onload = initDynSections;
-->
</script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>XMP_Const.h</h1><a href="XMP__Const_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __XMP_Const_h__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __XMP_Const_h__ 1</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">// =================================================================================================</span>
<a name="l00005"></a>00005 <span class="comment">// Copyright 2002 Adobe Systems Incorporated</span>
<a name="l00006"></a>00006 <span class="comment">// All Rights Reserved.</span>
<a name="l00007"></a>00007 <span class="comment">//</span>
<a name="l00008"></a>00008 <span class="comment">// NOTICE:  Adobe permits you to use, modify, and distribute this file in accordance with the terms</span>
<a name="l00009"></a>00009 <span class="comment">// of the Adobe license agreement accompanying it.</span>
<a name="l00010"></a>00010 <span class="comment">// =================================================================================================</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;XMP_Environment.h&quot;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">   #include &lt;stddef.h&gt;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#if XMP_MacBuild | XMP_iOSBuild // ! No stdint.h on Windows and some UNIXes.</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">    #include &lt;stdint.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#endif</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#if XMP_UNIXBuild       // hopefully an inttypes.h on all UNIXes...</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">        #include &lt;inttypes.h&gt;</span>
<a name="l00021"></a>00021 <span class="preprocessor">#endif</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#if __cplusplus</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00026"></a>00026 <span class="preprocessor">#endif</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00028"></a>00028 <span class="comment">// =================================================================================================</span>
<a name="l00031"></a>00031 <span class="comment"></span><span class="comment">// =================================================================================================</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="comment">// =================================================================================================</span>
<a name="l00034"></a>00034 <span class="comment">// Basic types and constants</span>
<a name="l00035"></a>00035 <span class="comment">// =========================</span>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="comment">// The XMP_... types are used on the off chance that the ..._t types present a problem. In that</span>
<a name="l00038"></a>00038 <span class="comment">// case only the declarations of the XMP_... types needs to change, not all of the uses. These</span>
<a name="l00039"></a>00039 <span class="comment">// types are used where fixed sizes are required in order to have a known ABI for a DLL build.</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="preprocessor">#if XMP_MacBuild | XMP_iOSBuild</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043     <span class="keyword">typedef</span> int8_t   XMP_Int8;
<a name="l00044"></a>00044     <span class="keyword">typedef</span> int16_t  XMP_Int16;
<a name="l00045"></a>00045     <span class="keyword">typedef</span> int32_t  XMP_Int32;
<a name="l00046"></a>00046     <span class="keyword">typedef</span> int64_t  XMP_Int64;
<a name="l00047"></a>00047 
<a name="l00048"></a>00048     <span class="keyword">typedef</span> uint8_t  XMP_Uns8;
<a name="l00049"></a>00049     <span class="keyword">typedef</span> uint16_t XMP_Uns16;
<a name="l00050"></a>00050     <span class="keyword">typedef</span> uint32_t XMP_Uns32;
<a name="l00051"></a>00051     <span class="keyword">typedef</span> uint64_t XMP_Uns64;
<a name="l00052"></a>00052 
<a name="l00053"></a>00053 <span class="preprocessor">#elif XMP_WinBuild</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00055"></a>00055     <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> XMP_Int8;
<a name="l00056"></a>00056     <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> XMP_Int16;
<a name="l00057"></a>00057     <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> XMP_Int32;
<a name="l00058"></a>00058     <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Int64;
<a name="l00059"></a>00059 
<a name="l00060"></a>00060     <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> XMP_Uns8;
<a name="l00061"></a>00061     <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> XMP_Uns16;
<a name="l00062"></a>00062     <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> XMP_Uns32;
<a name="l00063"></a>00063     <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Uns64;
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="preprocessor">#elif XMP_UNIXBuild</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a>00067 <span class="preprocessor">    #if ! XMP_64</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00069"></a>00069         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> XMP_Int8;
<a name="l00070"></a>00070         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> XMP_Int16;
<a name="l00071"></a>00071         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> XMP_Int32;
<a name="l00072"></a>00072         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Int64;
<a name="l00073"></a>00073 
<a name="l00074"></a>00074         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> XMP_Uns8;
<a name="l00075"></a>00075         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> XMP_Uns16;
<a name="l00076"></a>00076         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> XMP_Uns32;
<a name="l00077"></a>00077         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Uns64;
<a name="l00078"></a>00078 
<a name="l00079"></a>00079 <span class="preprocessor">    #else</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00081"></a>00081         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> XMP_Int8;
<a name="l00082"></a>00082         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">short</span> XMP_Int16;
<a name="l00083"></a>00083         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">int</span> XMP_Int32;
<a name="l00084"></a>00084         <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Int64;
<a name="l00085"></a>00085 
<a name="l00086"></a>00086         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> XMP_Uns8;
<a name="l00087"></a>00087         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> XMP_Uns16;
<a name="l00088"></a>00088         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> XMP_Uns32;
<a name="l00089"></a>00089         <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> XMP_Uns64;
<a name="l00090"></a>00090 
<a name="l00091"></a>00091 <span class="preprocessor">    #endif</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span>
<a name="l00093"></a>00093 <span class="preprocessor">#else</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span>
<a name="l00095"></a>00095 <span class="preprocessor">    #error &quot;XMP environment error - must define one of XMP_MacBuild, XMP_WinBuild, XMP_UNIXBuild or XMP_iOSBuild&quot;</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span>
<a name="l00097"></a>00097 <span class="preprocessor">#endif</span>
<a name="l00098"></a>00098 <span class="preprocessor"></span>
<a name="l00099"></a>00099 <span class="keyword">typedef</span> XMP_Uns8 XMP_Bool;
<a name="l00100"></a>00100 
<a name="l00101"></a>00101 <span class="keyword">const</span> XMP_Uns8 kXMP_Bool_False = 0;
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 <span class="preprocessor">#define ConvertXMP_BoolToBool(a) (a) != kXMP_Bool_False</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#define ConvertBoolToXMP_Bool(a) (a) ? !kXMP_Bool_False : kXMP_Bool_False</span>
<a name="l00105"></a>00105 <span class="preprocessor"></span>
<a name="l00106"></a>00106 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns8 Min_XMP_Uns8      = ( (XMP_Uns8) 0x00 );
<a name="l00107"></a>00107 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns8 Max_XMP_Uns8      = ( (XMP_Uns8) 0xFF );
<a name="l00108"></a>00108 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns16 Min_XMP_Uns16    = ( (XMP_Uns16) 0x00 );
<a name="l00109"></a>00109 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns16 Max_XMP_Uns16    = ( (XMP_Uns16) 0xFFFF );
<a name="l00110"></a>00110 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns32 Min_XMP_Uns32    = ( (XMP_Uns32) 0x00 );
<a name="l00111"></a>00111 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns32 Max_XMP_Uns32    = ( (XMP_Uns32) 0xFFFFFFFF );
<a name="l00112"></a>00112 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns64 Min_XMP_Uns64    = ( (XMP_Uns64) 0x00 );
<a name="l00113"></a>00113 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Uns64 Max_XMP_Uns64    = ( (XMP_Uns64) 0xFFFFFFFFFFFFFFFFLL );
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int8 Min_XMP_Int8      = ( (XMP_Int8) 0x80 );
<a name="l00116"></a>00116 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int8 Max_XMP_Int8      = ( (XMP_Int8) 0x7F );
<a name="l00117"></a>00117 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int16 Min_XMP_Int16    = ( (XMP_Int16) 0x8000 );
<a name="l00118"></a>00118 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int16 Max_XMP_Int16    = ( (XMP_Int16) 0x7FFF );
<a name="l00119"></a>00119 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int32 Min_XMP_Int32    = ( (XMP_Int32) 0x80000000 );
<a name="l00120"></a>00120 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int32 Max_XMP_Int32    = ( (XMP_Int32) 0x7FFFFFFF );
<a name="l00121"></a>00121 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int64 Min_XMP_Int64    = ( (XMP_Int64) 0x8000000000000000LL );
<a name="l00122"></a>00122 <span class="keyword">static</span> <span class="keyword">const</span> XMP_Int64 Max_XMP_Int64    = ( (XMP_Int64) 0x7FFFFFFFFFFFFFFFLL );
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 
<a name="l00127"></a><a class="code" href="XMP__Const_8h.html#a549d5e2cbcb58302d3df840a0205283e">00127</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>__XMPMeta__ *        <a class="code" href="XMP__Const_8h.html#a549d5e2cbcb58302d3df840a0205283e">XMPMetaRef</a>;
<a name="l00128"></a>00128 
<a name="l00131"></a><a class="code" href="XMP__Const_8h.html#a6ade57a30fb1e40d6aa9695c440fc3d2">00131</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>__XMPIterator__ *    <a class="code" href="XMP__Const_8h.html#a6ade57a30fb1e40d6aa9695c440fc3d2">XMPIteratorRef</a>;
<a name="l00132"></a>00132 
<a name="l00135"></a><a class="code" href="XMP__Const_8h.html#ab516453dd7d906e911f8951983cde5f1">00135</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>__XMPDocOps__ *    <a class="code" href="XMP__Const_8h.html#ab516453dd7d906e911f8951983cde5f1">XMPDocOpsRef</a>;
<a name="l00136"></a>00136 
<a name="l00139"></a><a class="code" href="XMP__Const_8h.html#aa4bca98ad67d7a62c60cb13dbbab0f25">00139</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>__XMPFiles__ *       <a class="code" href="XMP__Const_8h.html#aa4bca98ad67d7a62c60cb13dbbab0f25">XMPFilesRef</a>;
<a name="l00140"></a>00140 
<a name="l00141"></a>00141 <span class="comment">// =================================================================================================</span>
<a name="l00142"></a>00142 
<a name="l00145"></a>00145 
<a name="l00149"></a>00149 
<a name="l00153"></a>00153 
<a name="l00157"></a>00157 
<a name="l00164"></a>00164 
<a name="l00165"></a><a class="code" href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6">00165</a> <span class="keyword">typedef</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="XMP__Const_8h.html#ad439e3ceeb4590d310f6125aa12c6df6" title="The type for input string parameters. A const char *, a null-terminated UTF-8 string...">XMP_StringPtr</a>;  <span class="comment">// Points to a null terminated UTF-8 string.</span>
<a name="l00166"></a><a class="code" href="XMP__Const_8h.html#a9f7dcc184f901c713274edfdac5bcc9a">00166</a> <span class="keyword">typedef</span> XMP_Uns32    <a class="code" href="XMP__Const_8h.html#a9f7dcc184f901c713274edfdac5bcc9a" title="The type for string length parameters. A 32-bit unsigned integer, as big as will...">XMP_StringLen</a>;
<a name="l00167"></a><a class="code" href="XMP__Const_8h.html#a00e9d9a76c144421105a4c2742203315">00167</a> <span class="keyword">typedef</span> XMP_Int32    <a class="code" href="XMP__Const_8h.html#a00e9d9a76c144421105a4c2742203315" title="The type for offsets and indices. A 32-bit signed integer. It is signed to allow...">XMP_Index</a>;      <span class="comment">// Signed, sometimes -1 is handy.</span>
<a name="l00168"></a><a class="code" href="XMP__Const_8h.html#aeb865118433be92d88e5f49ed11487c8">00168</a> <span class="keyword">typedef</span> XMP_Uns32    <a class="code" href="XMP__Const_8h.html#aeb865118433be92d88e5f49ed11487c8" title="The type for a collection of 32 flag bits. Individual flags are defined as enum value...">XMP_OptionBits</a>; <span class="comment">// Used as 32 individual bits.</span>
<a name="l00169"></a>00169 
<a name="l00174"></a>00174 
<a name="l00179"></a>00179 
<a name="l00180"></a><a class="code" href="XMP__Const_8h.html#a4c39e0131b0e3d7db66e1cfa82b67141">00180</a> <span class="preprocessor">#define kXMP_TrueStr  &quot;True&quot;  // Serialized XMP spellings, not for the type bool.</span>
<a name="l00181"></a><a class="code" href="XMP__Const_8h.html#a2dc55b533ed63ed7ff0c3be16a97e278">00181</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_FalseStr &quot;False&quot;</span>
<a name="l00182"></a>00182 <span class="preprocessor"></span>
<a name="l00185"></a>00185 <span class="keyword">enum</span> {
<a name="l00187"></a><a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55bacf4bfe01497bd0d88c2af337e4bac39e">00187</a>     <a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55bacf4bfe01497bd0d88c2af337e4bac39e" title="The part or parts have definitely changed.">kXMPTS_Yes</a> = 1,
<a name="l00189"></a><a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba2a88f4d4589bf413377283843f70bc90">00189</a>     <a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba2a88f4d4589bf413377283843f70bc90" title="The part or parts have definitely not changed.">kXMPTS_No</a> = 0,
<a name="l00191"></a><a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba7a73219cd125bb21e294ba474112a584">00191</a>     <a class="code" href="XMP__Const_8h.html#a06fc87d81c62e9abb8790b6e5713c55ba7a73219cd125bb21e294ba474112a584" title="The part or parts might, or might not, have changed.">kXMPTS_Maybe</a> = -1
<a name="l00192"></a>00192 };
<a name="l00193"></a>00193 <span class="keyword">typedef</span> XMP_Int8 XMP_TriState;
<a name="l00194"></a>00194 
<a name="l00196"></a>00196 
<a name="l00197"></a>00197 <span class="comment">// =================================================================================================</span>
<a name="l00198"></a>00198 
<a name="l00218"></a>00218 
<a name="l00219"></a><a class="code" href="structXMP__DateTime.html">00219</a> <span class="keyword">struct </span><a class="code" href="structXMP__DateTime.html" title="The expanded type for a date and time.">XMP_DateTime</a> {
<a name="l00220"></a>00220 
<a name="l00222"></a><a class="code" href="structXMP__DateTime.html#a2db713deacfd5a5cb2deea660ca2ccad">00222</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a2db713deacfd5a5cb2deea660ca2ccad" title="The year, can be negative.">year</a>;
<a name="l00223"></a>00223 
<a name="l00225"></a><a class="code" href="structXMP__DateTime.html#ab4b71c1a54879d7da1b4135e23d5446f">00225</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#ab4b71c1a54879d7da1b4135e23d5446f" title="The month in the range 1..12.">month</a>;
<a name="l00226"></a>00226 
<a name="l00228"></a><a class="code" href="structXMP__DateTime.html#a58496718277eea9dc5e3e19d80a69094">00228</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a58496718277eea9dc5e3e19d80a69094" title="The day of the month in the range 1..31.">day</a>;
<a name="l00229"></a>00229 
<a name="l00231"></a><a class="code" href="structXMP__DateTime.html#abc79cdca8cfa5df6583279e3f3e70e9f">00231</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#abc79cdca8cfa5df6583279e3f3e70e9f" title="The hour in the range 0..23.">hour</a>;
<a name="l00232"></a>00232 
<a name="l00234"></a><a class="code" href="structXMP__DateTime.html#ae84965f3296a9c106d1f6c88aa6a7bdf">00234</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#ae84965f3296a9c106d1f6c88aa6a7bdf" title="The minute in the range 0..59.">minute</a>;
<a name="l00235"></a>00235 
<a name="l00237"></a><a class="code" href="structXMP__DateTime.html#a675313c70a7e05b7ca50d21300b7d81b">00237</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a675313c70a7e05b7ca50d21300b7d81b" title="The second in the range 0..59.">second</a>;
<a name="l00238"></a>00238 
<a name="l00240"></a><a class="code" href="structXMP__DateTime.html#a62e0f39edef2a82749feed46b16572e8">00240</a>     XMP_Bool <a class="code" href="structXMP__DateTime.html#a62e0f39edef2a82749feed46b16572e8" title="Is the date portion meaningful?">hasDate</a>;
<a name="l00241"></a>00241 
<a name="l00243"></a><a class="code" href="structXMP__DateTime.html#a2c7f3d493a78f6b3fc7978992308d268">00243</a>     XMP_Bool <a class="code" href="structXMP__DateTime.html#a2c7f3d493a78f6b3fc7978992308d268" title="Is the time portion meaningful?">hasTime</a>;
<a name="l00244"></a>00244 
<a name="l00246"></a><a class="code" href="structXMP__DateTime.html#a1dd34cdab96f55c120b3289db32bdd1e">00246</a>     XMP_Bool <a class="code" href="structXMP__DateTime.html#a1dd34cdab96f55c120b3289db32bdd1e" title="Is the time zone meaningful?">hasTimeZone</a>;
<a name="l00247"></a>00247 
<a name="l00250"></a><a class="code" href="structXMP__DateTime.html#a2b26282b9f1ab9920a8f05008c776ddb">00250</a>     XMP_Int8 <a class="code" href="structXMP__DateTime.html#a2b26282b9f1ab9920a8f05008c776ddb">tzSign</a>;
<a name="l00251"></a>00251 
<a name="l00253"></a><a class="code" href="structXMP__DateTime.html#a6045133feeef41ac1f78c4664ab13db4">00253</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a6045133feeef41ac1f78c4664ab13db4" title="The time zone hour in the range 0..23.">tzHour</a>;
<a name="l00254"></a>00254 
<a name="l00256"></a><a class="code" href="structXMP__DateTime.html#a45baa70f30a3dc9f88819886cfb91aa1">00256</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a45baa70f30a3dc9f88819886cfb91aa1" title="The time zone minute in the range 0..59.">tzMinute</a>;
<a name="l00257"></a>00257 
<a name="l00259"></a><a class="code" href="structXMP__DateTime.html#a190c2a19f01e90997ec2973aec37712c">00259</a>     XMP_Int32 <a class="code" href="structXMP__DateTime.html#a190c2a19f01e90997ec2973aec37712c" title="Nanoseconds within a second, often left as zero.">nanoSecond</a>;
<a name="l00260"></a>00260 
<a name="l00261"></a>00261 <span class="preprocessor">    #if __cplusplus</span>
<a name="l00262"></a>00262 <span class="preprocessor"></span>        <a class="code" href="structXMP__DateTime.html" title="The expanded type for a date and time.">XMP_DateTime</a>() : <a class="code" href="structXMP__DateTime.html#a2db713deacfd5a5cb2deea660ca2ccad" title="The year, can be negative.">year</a>(0), <a class="code" href="structXMP__DateTime.html#ab4b71c1a54879d7da1b4135e23d5446f" title="The month in the range 1..12.">month</a>(0), <a class="code" href="structXMP__DateTime.html#a58496718277eea9dc5e3e19d80a69094" title="The day of the month in the range 1..31.">day</a>(0), <a class="code" href="structXMP__DateTime.html#abc79cdca8cfa5df6583279e3f3e70e9f" title="The hour in the range 0..23.">hour</a>(0), <a class="code" href="structXMP__DateTime.html#ae84965f3296a9c106d1f6c88aa6a7bdf" title="The minute in the range 0..59.">minute</a>(0), <a class="code" href="structXMP__DateTime.html#a675313c70a7e05b7ca50d21300b7d81b" title="The second in the range 0..59.">second</a>(0),
<a name="l00263"></a>00263                          <a class="code" href="structXMP__DateTime.html#a62e0f39edef2a82749feed46b16572e8" title="Is the date portion meaningful?">hasDate</a>(false),<a class="code" href="structXMP__DateTime.html#a2c7f3d493a78f6b3fc7978992308d268" title="Is the time portion meaningful?">hasTime</a>(false), <a class="code" href="structXMP__DateTime.html#a1dd34cdab96f55c120b3289db32bdd1e" title="Is the time zone meaningful?">hasTimeZone</a>(false), <a class="code" href="structXMP__DateTime.html#a2b26282b9f1ab9920a8f05008c776ddb">tzSign</a>(0), <a class="code" href="structXMP__DateTime.html#a6045133feeef41ac1f78c4664ab13db4" title="The time zone hour in the range 0..23.">tzHour</a>(0), <a class="code" href="structXMP__DateTime.html#a45baa70f30a3dc9f88819886cfb91aa1" title="The time zone minute in the range 0..59.">tzMinute</a>(0), <a class="code" href="structXMP__DateTime.html#a190c2a19f01e90997ec2973aec37712c" title="Nanoseconds within a second, often left as zero.">nanoSecond</a>(0){};
<a name="l00264"></a>00264 <span class="preprocessor">    #endif</span>
<a name="l00265"></a>00265 <span class="preprocessor"></span>
<a name="l00266"></a>00266 };
<a name="l00267"></a>00267 
<a name="l00269"></a>00269 <span class="keyword">enum</span> {
<a name="l00271"></a><a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a511551ce156d5fd96c26ad464b837801">00271</a>     <a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a511551ce156d5fd96c26ad464b837801" title="Time zone is west of UTC.">kXMP_TimeWestOfUTC</a> = -1,
<a name="l00273"></a><a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a3f41be55491204982acb39c9f6c7ad13">00273</a>     <a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a3f41be55491204982acb39c9f6c7ad13" title="UTC time.">kXMP_TimeIsUTC</a>     =  0,
<a name="l00275"></a><a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a68851b70cc1d2346fa21bc0b0ae6cfec">00275</a>     <a class="code" href="XMP__Const_8h.html#adf764cbdea00d65edcd07bb9953ad2b7a68851b70cc1d2346fa21bc0b0ae6cfec" title="Time zone is east of UTC.">kXMP_TimeEastOfUTC</a> = +1
<a name="l00276"></a>00276 };
<a name="l00277"></a>00277 
<a name="l00278"></a>00278 <span class="preprocessor">#define XMPDateTime_IsDateOnly(dt) ((dt).hasDate &amp; (! (dt).hasTime))</span>
<a name="l00279"></a>00279 <span class="preprocessor"></span><span class="preprocessor">#define XMPDateTime_IsTimeOnly(dt) ((dt).hasTime &amp; (! (dt).hasDate))</span>
<a name="l00280"></a>00280 <span class="preprocessor"></span>
<a name="l00281"></a>00281 <span class="preprocessor">#define XMPDateTime_ClearTimeZone(dt) { (dt).hasTimeZone = (dt).tzSign = (dt).tzHour = (dt).tzMinute = 0; }</span>
<a name="l00282"></a>00282 <span class="preprocessor"></span>
<a name="l00283"></a>00283 <span class="comment">// =================================================================================================</span>
<a name="l00284"></a>00284 <span class="comment">// Standard namespace URI constants</span>
<a name="l00285"></a>00285 <span class="comment">// ================================</span>
<a name="l00286"></a>00286 
<a name="l00321"></a>00321 
<a name="l00322"></a><a class="code" href="XMP__Const_8h.html#a030875c9dc0861c9251a3374ca14a376">00322</a> <span class="preprocessor">#define kXMP_NS_XMP        &quot;http://ns.adobe.com/xap/1.0/&quot;</span>
<a name="l00323"></a>00323 <span class="preprocessor"></span>
<a name="l00324"></a><a class="code" href="XMP__Const_8h.html#ae52d761e5a4fc8c8499215d2f3d82b90">00324</a> <span class="preprocessor">#define kXMP_NS_XMP_Rights &quot;http://ns.adobe.com/xap/1.0/rights/&quot;</span>
<a name="l00325"></a><a class="code" href="XMP__Const_8h.html#ac67379a9ffa425d0d7976a51c4f2f754">00325</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_MM     &quot;http://ns.adobe.com/xap/1.0/mm/&quot;</span>
<a name="l00326"></a><a class="code" href="XMP__Const_8h.html#a308e156c325618acb2172e550929ebee">00326</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_BJ     &quot;http://ns.adobe.com/xap/1.0/bj/&quot;</span>
<a name="l00327"></a>00327 <span class="preprocessor"></span>
<a name="l00328"></a><a class="code" href="XMP__Const_8h.html#a0bcb67d0dd0922504e3da7ca5c40c82a">00328</a> <span class="preprocessor">#define kXMP_NS_PDF        &quot;http://ns.adobe.com/pdf/1.3/&quot;</span>
<a name="l00329"></a><a class="code" href="XMP__Const_8h.html#aa1a6f38ebfcdb281c5bf2809859167c7">00329</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_Photoshop  &quot;http://ns.adobe.com/photoshop/1.0/&quot;</span>
<a name="l00330"></a>00330 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PSAlbum    &quot;http://ns.adobe.com/album/1.0/&quot;</span>
<a name="l00331"></a><a class="code" href="XMP__Const_8h.html#ad12182e1df1652f56b5eec60c1fcdd8f">00331</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_EXIF       &quot;http://ns.adobe.com/exif/1.0/&quot;</span>
<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_EXIF_Aux   &quot;http://ns.adobe.com/exif/1.0/aux/&quot;</span>
<a name="l00333"></a><a class="code" href="XMP__Const_8h.html#a673355818b7b9224e8fec0fbc60ba00c">00333</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_TIFF       &quot;http://ns.adobe.com/tiff/1.0/&quot;</span>
<a name="l00334"></a>00334 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PNG        &quot;http://ns.adobe.com/png/1.0/&quot;</span>
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_SWF        &quot;http://ns.adobe.com/swf/1.0/&quot;</span>
<a name="l00336"></a>00336 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_JPEG       &quot;http://ns.adobe.com/jpeg/1.0/&quot;</span>
<a name="l00337"></a>00337 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_JP2K       &quot;http://ns.adobe.com/jp2k/1.0/&quot;</span>
<a name="l00338"></a>00338 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_CameraRaw  &quot;http://ns.adobe.com/camera-raw-settings/1.0/&quot;</span>
<a name="l00339"></a>00339 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_DM         &quot;http://ns.adobe.com/xmp/1.0/DynamicMedia/&quot;</span>
<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_Script     &quot;http://ns.adobe.com/xmp/1.0/Script/&quot;</span>
<a name="l00341"></a>00341 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_ASF        &quot;http://ns.adobe.com/asf/1.0/&quot;</span>
<a name="l00342"></a>00342 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_WAV        &quot;http://ns.adobe.com/xmp/wav/1.0/&quot;</span>
<a name="l00343"></a>00343 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_BWF        &quot;http://ns.adobe.com/bwf/bext/1.0/&quot;</span>
<a name="l00344"></a>00344 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_AEScart    &quot;http://ns.adobe.com/aes/cart/&quot;</span>
<a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_RIFFINFO   &quot;http://ns.adobe.com/riff/info/&quot;</span>
<a name="l00346"></a>00346 <span class="preprocessor"></span>
<a name="l00347"></a>00347 <span class="preprocessor">#define kXMP_NS_XMP_Note   &quot;http://ns.adobe.com/xmp/note/&quot;</span>
<a name="l00348"></a>00348 <span class="preprocessor"></span>
<a name="l00349"></a>00349 <span class="preprocessor">#define kXMP_NS_AdobeStockPhoto &quot;http://ns.adobe.com/StockPhoto/1.0/&quot;</span>
<a name="l00350"></a>00350 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_CreatorAtom &quot;http://ns.adobe.com/creatorAtom/1.0/&quot;</span>
<a name="l00351"></a>00351 <span class="preprocessor"></span>
<a name="l00352"></a>00352 <span class="preprocessor">#define kXMP_NS_ExifEX      &quot;http://cipa.jp/exif/1.0/&quot;</span>
<a name="l00353"></a>00353 <span class="preprocessor"></span>
<a name="l00379"></a>00379 
<a name="l00380"></a><a class="code" href="XMP__Const_8h.html#ab466db52a4b85cecfa04710682c1e671">00380</a> <span class="preprocessor">#define kXMP_NS_XMP_IdentifierQual &quot;http://ns.adobe.com/xmp/Identifier/qual/1.0/&quot;</span>
<a name="l00381"></a><a class="code" href="XMP__Const_8h.html#a9618e013619aa92ebc808b62243d2ba8">00381</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_Dimensions     &quot;http://ns.adobe.com/xap/1.0/sType/Dimensions#&quot;</span>
<a name="l00382"></a>00382 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_Text           &quot;http://ns.adobe.com/xap/1.0/t/&quot;</span>
<a name="l00383"></a>00383 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_PagedFile      &quot;http://ns.adobe.com/xap/1.0/t/pg/&quot;</span>
<a name="l00384"></a>00384 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_Graphics       &quot;http://ns.adobe.com/xap/1.0/g/&quot;</span>
<a name="l00385"></a><a class="code" href="XMP__Const_8h.html#a935641acc7d01e782ad7a457a7ff338b">00385</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_Image          &quot;http://ns.adobe.com/xap/1.0/g/img/&quot;</span>
<a name="l00386"></a>00386 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_Font           &quot;http://ns.adobe.com/xap/1.0/sType/Font#&quot;</span>
<a name="l00387"></a><a class="code" href="XMP__Const_8h.html#a861613273127156050b456eee11f6b0a">00387</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_ResourceEvent  &quot;http://ns.adobe.com/xap/1.0/sType/ResourceEvent#&quot;</span>
<a name="l00388"></a><a class="code" href="XMP__Const_8h.html#a9bf51f2653400645f7b5087e8c4e1c77">00388</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_ResourceRef    &quot;http://ns.adobe.com/xap/1.0/sType/ResourceRef#&quot;</span>
<a name="l00389"></a><a class="code" href="XMP__Const_8h.html#ab4923bed71ab29c6aa88debe8816c0a2">00389</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_ST_Version     &quot;http://ns.adobe.com/xap/1.0/sType/Version#&quot;</span>
<a name="l00390"></a><a class="code" href="XMP__Const_8h.html#ac7dc4d65bcbba2862e410cc8cfdff6f6">00390</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_ST_Job         &quot;http://ns.adobe.com/xap/1.0/sType/Job#&quot;</span>
<a name="l00391"></a>00391 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_ManifestItem   &quot;http://ns.adobe.com/xap/1.0/sType/ManifestItem#&quot;</span>
<a name="l00392"></a>00392 <span class="preprocessor"></span>
<a name="l00393"></a>00393 <span class="comment">// Deprecated XML namespace constants</span>
<a name="l00394"></a><a class="code" href="XMP__Const_8h.html#a0a2d9c5f7beb27553214a7ad1df4f27e">00394</a> <span class="preprocessor">#define kXMP_NS_XMP_T     &quot;http://ns.adobe.com/xap/1.0/t/&quot;</span>
<a name="l00395"></a><a class="code" href="XMP__Const_8h.html#a39afb495ffb24bb3082493c6811e65d0">00395</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_T_PG  &quot;http://ns.adobe.com/xap/1.0/t/pg/&quot;</span>
<a name="l00396"></a>00396 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XMP_G_IMG &quot;http://ns.adobe.com/xap/1.0/g/img/&quot;</span>
<a name="l00397"></a>00397 <span class="preprocessor"></span>
<a name="l00417"></a>00417 
<a name="l00418"></a><a class="code" href="XMP__Const_8h.html#a44453f0d0a1dd295d41722c2387b36fa">00418</a> <span class="preprocessor">#define kXMP_NS_DC             &quot;http://purl.org/dc/elements/1.1/&quot;</span>
<a name="l00419"></a>00419 <span class="preprocessor"></span>
<a name="l00420"></a><a class="code" href="XMP__Const_8h.html#ab794d3d798daf75a963398347dcbb79b">00420</a> <span class="preprocessor">#define kXMP_NS_IPTCCore       &quot;http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/&quot;</span>
<a name="l00421"></a><a class="code" href="XMP__Const_8h.html#a12ca045d4c12992ec8f6c1003523de20">00421</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_IPTCExt        &quot;http://iptc.org/std/Iptc4xmpExt/2008-02-29/&quot;</span>
<a name="l00422"></a>00422 <span class="preprocessor"></span>
<a name="l00423"></a>00423 <span class="preprocessor">#define kXMP_NS_DICOM          &quot;http://ns.adobe.com/DICOM/&quot;</span>
<a name="l00424"></a>00424 <span class="preprocessor"></span>
<a name="l00425"></a>00425 <span class="preprocessor">#define kXMP_NS_PLUS           &quot;http://ns.useplus.org/ldf/xmp/1.0/&quot;</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span>
<a name="l00427"></a>00427 <span class="preprocessor">#define kXMP_NS_PDFA_Schema    &quot;http://www.aiim.org/pdfa/ns/schema#&quot;</span>
<a name="l00428"></a>00428 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFA_Property  &quot;http://www.aiim.org/pdfa/ns/property#&quot;</span>
<a name="l00429"></a>00429 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFA_Type      &quot;http://www.aiim.org/pdfa/ns/type#&quot;</span>
<a name="l00430"></a>00430 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFA_Field     &quot;http://www.aiim.org/pdfa/ns/field#&quot;</span>
<a name="l00431"></a>00431 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFA_ID        &quot;http://www.aiim.org/pdfa/ns/id/&quot;</span>
<a name="l00432"></a>00432 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFA_Extension &quot;http://www.aiim.org/pdfa/ns/extension/&quot;</span>
<a name="l00433"></a>00433 <span class="preprocessor"></span>
<a name="l00434"></a>00434 <span class="preprocessor">#define kXMP_NS_PDFX           &quot;http://ns.adobe.com/pdfx/1.3/&quot;</span>
<a name="l00435"></a>00435 <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_PDFX_ID        &quot;http://www.npes.org/pdfx/ns/id/&quot;</span>
<a name="l00436"></a>00436 <span class="preprocessor"></span>
<a name="l00437"></a><a class="code" href="XMP__Const_8h.html#a276fac0f70893607afa3f09030ad84c7">00437</a> <span class="preprocessor">#define kXMP_NS_RDF            &quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot;</span>
<a name="l00438"></a><a class="code" href="XMP__Const_8h.html#a97564c70460d1f235c8a41b8ac40cfe9">00438</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NS_XML            &quot;http://www.w3.org/XML/1998/namespace&quot;</span>
<a name="l00439"></a>00439 <span class="preprocessor"></span>
<a name="l00440"></a>00440 <span class="comment">// =================================================================================================</span>
<a name="l00441"></a>00441 <span class="comment">// Enums and macros used for option bits</span>
<a name="l00442"></a>00442 <span class="comment">// =====================================</span>
<a name="l00443"></a>00443 
<a name="l00457"></a>00457 
<a name="l00458"></a><a class="code" href="XMP__Const_8h.html#a9549b9a138a896257b5a70176d125317">00458</a> <span class="preprocessor">#define kXMP_ArrayLastItem      ((XMP_Index)(-1L))</span>
<a name="l00459"></a><a class="code" href="XMP__Const_8h.html#a8283c9596c03b6d626d5a2b7a90e23ab">00459</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_UseNullTermination ((XMP_StringLen)(~0UL))</span>
<a name="l00460"></a><a class="code" href="XMP__Const_8h.html#aff1df9f3cf050f8b8d3a574db3c3326b">00460</a> <span class="preprocessor"></span><span class="preprocessor">#define kXMP_NoOptions          ((XMP_OptionBits)0UL)</span>
<a name="l00461"></a>00461 <span class="preprocessor"></span>
<a name="l00494"></a>00494 
<a name="l00495"></a><a class="code" href="XMP__Const_8h.html#a69c4d1b80c4dd581366e0c60209ef612">00495</a> <span class="preprocessor">#define XMP_SetOption(var,opt)      var |= (opt)</span>
<a name="l00496"></a><a class="code" href="XMP__Const_8h.html#a10c3c9b1b6e266b0b4eb6abe7b03b7d8">00496</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_ClearOption(var,opt)    var &amp;= ~(opt)</span>
<a name="l00497"></a><a class="code" href="XMP__Const_8h.html#aa31596e850cb6b208f5920833d67b9f1">00497</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_TestOption(var,opt)     (((var) &amp; (opt)) != 0)</span>
<a name="l00498"></a><a class="code" href="XMP__Const_8h.html#aba3edaa921326c7916adb0b70b1bcfb4">00498</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_OptionIsSet(var,opt)    (((var) &amp; (opt)) != 0)</span>
<a name="l00499"></a><a class="code" href="XMP__Const_8h.html#a1d41f53bd1d5c88fad8322ce15e39516">00499</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_OptionIsClear(var,opt)  (((var) &amp; (opt)) == 0)</span>
<a name="l00500"></a>00500 <span class="preprocessor"></span>
<a name="l00553"></a>00553 
<a name="l00554"></a><a class="code" href="XMP__Const_8h.html#a510b75338bd488ddd8d9bd4e326806f9">00554</a> <span class="preprocessor">#define XMP_PropIsSimple(opt)       (((opt) &amp; kXMP_PropCompositeMask) == 0)</span>
<a name="l00555"></a><a class="code" href="XMP__Const_8h.html#aebea8c35e09da7db613e27d0e3ce945f">00555</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_PropIsStruct(opt)       (((opt) &amp; kXMP_PropValueIsStruct) != 0)</span>
<a name="l00556"></a><a class="code" href="XMP__Const_8h.html#a98ae521b621cfa3611211e3922a0fce8">00556</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_PropIsArray(opt)        (((opt) &amp; kXMP_PropValueIsArray) != 0)</span>
<a name="l00557"></a>00557 <span class="preprocessor"></span>
<a name="l00558"></a><a class="code" href="XMP__Const_8h.html#a8d763b3d36c7067cd7bccd32d4066b43">00558</a> <span class="preprocessor">#define XMP_ArrayIsUnordered(opt)   (((opt) &amp; kXMP_PropArrayIsOrdered) == 0)</span>
<a name="l00559"></a><a class="code" href="XMP__Const_8h.html#a72c7077f3ff3e39804a899533867327d">00559</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_ArrayIsOrdered(opt)     (((opt) &amp; kXMP_PropArrayIsOrdered) != 0)</span>
<a name="l00560"></a><a class="code" href="XMP__Const_8h.html#a86bc34c4e64dec75618c348163a88720">00560</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_ArrayIsAlternate(opt)   (((opt) &amp; kXMP_PropArrayIsAlternate) != 0)</span>
<a name="l00561"></a><a class="code" href="XMP__Const_8h.html#abbef21da7bce1491f780586c3e01cd9e">00561</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_ArrayIsAltText(opt)     (((opt) &amp; kXMP_PropArrayIsAltText) != 0)</span>
<a name="l00562"></a>00562 <span class="preprocessor"></span>
<a name="l00563"></a><a class="code" href="XMP__Const_8h.html#a10828aa191aa666aa1166c27beead2a6">00563</a> <span class="preprocessor">#define XMP_PropHasQualifiers(opt)  (((opt) &amp; kXMP_PropHasQualifiers) != 0)</span>
<a name="l00564"></a><a class="code" href="XMP__Const_8h.html#a8d1b4da6b3cb3a67bf4f8e79352eeeaa">00564</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_PropIsQualifier(opt)    (((opt) &amp; kXMP_PropIsQualifier) != 0)</span>
<a name="l00565"></a><a class="code" href="XMP__Const_8h.html#a7dc82df90f45b0d746b67d8fdc529c83">00565</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_PropHasLang(opt)        (((opt) &amp; kXMP_PropHasLang) != 0)</span>
<a name="l00566"></a>00566 <span class="preprocessor"></span>
<a name="l00567"></a><a class="code" href="XMP__Const_8h.html#a12870d8442720ce5230791abc26f9597">00567</a> <span class="preprocessor">#define XMP_NodeIsSchema(opt)       (((opt) &amp; kXMP_SchemaNode) != 0)</span>
<a name="l00568"></a><a class="code" href="XMP__Const_8h.html#a193b1414fa5312da2aa1d833b85612d0">00568</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_PropIsAlias(opt)        (((opt) &amp; kXMP_PropIsAlias) != 0)</span>
<a name="l00569"></a>00569 <span class="preprocessor"></span>
<a name="l00570"></a>00570 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l00571"></a>00571 
<a name="l00573"></a>00573 <span class="keyword">enum</span> {
<a name="l00574"></a>00574 
<a name="l00576"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aab51f87b5c48f47f5cefb9e03293dafb">00576</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aab51f87b5c48f47f5cefb9e03293dafb" title="The XML string form of the property value is a URI, use rdf:resource attribute. DISCOURAGED...">kXMP_PropValueIsURI</a>       = 0x00000002UL,
<a name="l00577"></a>00577 
<a name="l00578"></a>00578     <span class="comment">// ------------------------------------------------------</span>
<a name="l00579"></a>00579     <span class="comment">// Options relating to qualifiers attached to a property.</span>
<a name="l00580"></a>00580 
<a name="l00582"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a8e34a33a2eed56499d4f6f62da25d159">00582</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a8e34a33a2eed56499d4f6f62da25d159" title="The property has qualifiers, includes rdf:type and xml:lang.">kXMP_PropHasQualifiers</a>    = 0x00000010UL,
<a name="l00583"></a>00583 
<a name="l00588"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a30146ed5209f5c3eb4eeb1fd8e4fb9fe">00588</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a30146ed5209f5c3eb4eeb1fd8e4fb9fe">kXMP_PropIsQualifier</a>      = 0x00000020UL,
<a name="l00589"></a>00589 
<a name="l00591"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a3fa5ed87edc731bfb3817f58ba70a217">00591</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a3fa5ed87edc731bfb3817f58ba70a217" title="Implies kXMP_PropHasQualifiers, property has xml:lang.">kXMP_PropHasLang</a>          = 0x00000040UL,
<a name="l00592"></a>00592 
<a name="l00594"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aeff16fdf167afc73db25b30b529bd9d5">00594</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aeff16fdf167afc73db25b30b529bd9d5" title="Implies kXMP_PropHasQualifiers, property has rdf:type.">kXMP_PropHasType</a>          = 0x00000080UL,
<a name="l00595"></a>00595 
<a name="l00596"></a>00596     <span class="comment">// --------------------------------------------</span>
<a name="l00597"></a>00597     <span class="comment">// Options relating to the data structure form.</span>
<a name="l00598"></a>00598 
<a name="l00600"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a90d8e49a828a7e18c64be36a73076a7e">00600</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a90d8e49a828a7e18c64be36a73076a7e" title="The value is a structure with nested fields.">kXMP_PropValueIsStruct</a>    = 0x00000100UL,
<a name="l00601"></a>00601 
<a name="l00604"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a9b7706e0f0716ac7546bdc24ffedd0bc">00604</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a9b7706e0f0716ac7546bdc24ffedd0bc">kXMP_PropValueIsArray</a>     = 0x00000200UL,
<a name="l00605"></a>00605 
<a name="l00607"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a0d70c23394c0676657c89de5491192c0">00607</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a0d70c23394c0676657c89de5491192c0" title="The item order does not matter.">kXMP_PropArrayIsUnordered</a> = <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a9b7706e0f0716ac7546bdc24ffedd0bc">kXMP_PropValueIsArray</a>,
<a name="l00608"></a>00608 
<a name="l00610"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5af1cdb3b0a3e852ec55e747a1686aba04">00610</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5af1cdb3b0a3e852ec55e747a1686aba04" title="Implies kXMP_PropValueIsArray, item order matters. It is serialized using an rdf:Seq...">kXMP_PropArrayIsOrdered</a>   = 0x00000400UL,
<a name="l00611"></a>00611 
<a name="l00613"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a2596b1f0ea4600270c99102c86b5f1f1">00613</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a2596b1f0ea4600270c99102c86b5f1f1" title="Implies kXMP_PropArrayIsOrdered, items are alternates. It is serialized using an...">kXMP_PropArrayIsAlternate</a> = 0x00000800UL,
<a name="l00614"></a>00614 
<a name="l00615"></a>00615     <span class="comment">// ------------------------------------</span>
<a name="l00616"></a>00616     <span class="comment">// Additional struct and array options.</span>
<a name="l00617"></a>00617 
<a name="l00620"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aba253f67a6cf44b7438a3f96b516846d">00620</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aba253f67a6cf44b7438a3f96b516846d">kXMP_PropArrayIsAltText</a>   = 0x00001000UL,
<a name="l00621"></a>00621 
<a name="l00622"></a>00622     <span class="comment">// kXMP_InsertBeforeItem  = 0x00004000UL,  ! Used by SetXyz functions.</span>
<a name="l00623"></a>00623     <span class="comment">// kXMP_InsertAfterItem   = 0x00008000UL,  ! Used by SetXyz functions.</span>
<a name="l00624"></a>00624 
<a name="l00625"></a>00625     <span class="comment">// ----------------------------</span>
<a name="l00626"></a>00626     <span class="comment">// Other miscellaneous options.</span>
<a name="l00627"></a>00627 
<a name="l00630"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5ab975c19fb5c50f732a1a0d84dadb7c37">00630</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5ab975c19fb5c50f732a1a0d84dadb7c37">kXMP_PropIsAlias</a>          = 0x00010000UL,
<a name="l00631"></a>00631 
<a name="l00634"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a1f819ef281d1f52c4c12d5d02f49d3f0">00634</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a1f819ef281d1f52c4c12d5d02f49d3f0">kXMP_PropHasAliases</a>       = 0x00020000UL,
<a name="l00635"></a>00635 
<a name="l00637"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a48097c6ea309f240965d77ab564a5464">00637</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a48097c6ea309f240965d77ab564a5464" title="The value of this property is &amp;quot;owned&amp;quot; by the application, and should not...">kXMP_PropIsInternal</a>       = 0x00040000UL,
<a name="l00638"></a>00638 
<a name="l00640"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a81dcd06251771a0ddee6c1e36128c65c">00640</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a81dcd06251771a0ddee6c1e36128c65c" title="The value of this property is not derived from the document content.">kXMP_PropIsStable</a>         = 0x00100000UL,
<a name="l00641"></a>00641 
<a name="l00643"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a0d898ea7f6b3db513bb24f8a6a285877">00643</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a0d898ea7f6b3db513bb24f8a6a285877" title="The value of this property is derived from the document content.">kXMP_PropIsDerived</a>        = 0x00200000UL,
<a name="l00644"></a>00644 
<a name="l00645"></a>00645     <span class="comment">// kXMPUtil_AllowCommas   = 0x10000000UL,  ! Used by TXMPUtils::CatenateArrayItems and ::SeparateArrayItems.</span>
<a name="l00646"></a>00646     <span class="comment">// kXMP_DeleteExisting    = 0x20000000UL,  ! Used by TXMPMeta::SetXyz functions to delete any pre-existing property.</span>
<a name="l00647"></a>00647     <span class="comment">// kXMP_SchemaNode        = 0x80000000UL,  ! Returned by iterators - #define to avoid warnings</span>
<a name="l00648"></a>00648 
<a name="l00649"></a>00649     <span class="comment">// ------------------------------</span>
<a name="l00650"></a>00650     <span class="comment">// Masks that are multiple flags.</span>
<a name="l00651"></a>00651 
<a name="l00653"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a6b5b5f4b869994b7390edc9589745e9f">00653</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a6b5b5f4b869994b7390edc9589745e9f" title="Property type bit-flag mask for all array types.">kXMP_PropArrayFormMask</a>    = <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a9b7706e0f0716ac7546bdc24ffedd0bc">kXMP_PropValueIsArray</a> | <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5af1cdb3b0a3e852ec55e747a1686aba04" title="Implies kXMP_PropValueIsArray, item order matters. It is serialized using an rdf:Seq...">kXMP_PropArrayIsOrdered</a> | <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a2596b1f0ea4600270c99102c86b5f1f1" title="Implies kXMP_PropArrayIsOrdered, items are alternates. It is serialized using an...">kXMP_PropArrayIsAlternate</a> | <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aba253f67a6cf44b7438a3f96b516846d">kXMP_PropArrayIsAltText</a>,
<a name="l00654"></a>00654 
<a name="l00656"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a60a9f26fb66c2e65cf40d9bc44968956">00656</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a60a9f26fb66c2e65cf40d9bc44968956" title="Property type bit-flag mask for composite types (array and struct).">kXMP_PropCompositeMask</a>    = <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a90d8e49a828a7e18c64be36a73076a7e" title="The value is a structure with nested fields.">kXMP_PropValueIsStruct</a> | <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5a6b5b5f4b869994b7390edc9589745e9f" title="Property type bit-flag mask for all array types.">kXMP_PropArrayFormMask</a>,
<a name="l00657"></a>00657 
<a name="l00659"></a><a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5ae154b58429b257b18963ba3503e67974">00659</a>     <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5ae154b58429b257b18963ba3503e67974" title="Mask for bits that are reserved for transient use by the implementation.">kXMP_ImplReservedMask</a>     = 0x70000000L
<a name="l00660"></a>00660 
<a name="l00661"></a>00661 };
<a name="l00662"></a>00662 
<a name="l00663"></a>00663 <span class="preprocessor">#define kXMP_SchemaNode ((XMP_OptionBits)0x80000000UL)</span>
<a name="l00664"></a>00664 <span class="preprocessor"></span>
<a name="l00673"></a>00673 <span class="keyword">enum</span> {
<a name="l00674"></a>00674 
<a name="l00676"></a><a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a873411f673fc2a6337083fd024df727f">00676</a>     <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a873411f673fc2a6337083fd024df727f" title="Option for array item location: Insert a new item before the given index.">kXMP_InsertBeforeItem</a>      = 0x00004000UL,
<a name="l00677"></a>00677 
<a name="l00679"></a><a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a98cedd5fa29d47abb2ac8903ac7f5a05">00679</a>     <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a98cedd5fa29d47abb2ac8903ac7f5a05" title="Option for array item location: Insert a new item after the given index.">kXMP_InsertAfterItem</a>       = 0x00008000UL,
<a name="l00680"></a>00680 
<a name="l00682"></a><a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04addd07b4a38b25ab3841e28a9cb169d1c">00682</a>     <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04addd07b4a38b25ab3841e28a9cb169d1c" title="Delete any pre-existing property.">kXMP_DeleteExisting</a>        = 0x20000000UL,
<a name="l00683"></a>00683 
<a name="l00685"></a><a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04ad1b42a8a4c479d9bfaf406b79f2e1465">00685</a>     <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04ad1b42a8a4c479d9bfaf406b79f2e1465" title="Bit-flag mask for property-value option bits.">kXMP_PropValueOptionsMask</a>  = <a class="code" href="XMP__Const_8h.html#a99fb83031ce9923c84392b4e92f956b5aab51f87b5c48f47f5cefb9e03293dafb" title="The XML string form of the property value is a URI, use rdf:resource attribute. DISCOURAGED...">kXMP_PropValueIsURI</a>,
<a name="l00686"></a>00686 
<a name="l00688"></a><a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04aef8c1934a17b0e5d8f0b20a7e89df0df">00688</a>     <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04aef8c1934a17b0e5d8f0b20a7e89df0df" title="Bit-flag mask for array-item location bits.">kXMP_PropArrayLocationMask</a> = <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a873411f673fc2a6337083fd024df727f" title="Option for array item location: Insert a new item before the given index.">kXMP_InsertBeforeItem</a> | <a class="code" href="XMP__Const_8h.html#abc6126af1d45847bc59afa0aa3216b04a98cedd5fa29d47abb2ac8903ac7f5a05" title="Option for array item location: Insert a new item after the given index.">kXMP_InsertAfterItem</a>
<a name="l00689"></a>00689 
<a name="l00690"></a>00690 };
<a name="l00691"></a>00691 
<a name="l00692"></a>00692 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l00693"></a>00693 
<a name="l00695"></a>00695 <span class="keyword">enum</span> {
<a name="l00696"></a>00696 
<a name="l00698"></a><a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca1e533852436acf75f594a4fb50a64400">00698</a>     <a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca1e533852436acf75f594a4fb50a64400" title="Require a surrounding x:xmpmeta element.">kXMP_RequireXMPMeta</a>   = 0x0001UL,
<a name="l00699"></a>00699 
<a name="l00701"></a><a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca79b36427b7bf0c0a1ed010a44dec2d3e">00701</a>     <a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca79b36427b7bf0c0a1ed010a44dec2d3e" title="This is the not last input buffer for this parse stream.">kXMP_ParseMoreBuffers</a> = 0x0002UL,
<a name="l00702"></a>00702 
<a name="l00704"></a><a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca7107906eab0e1fa6f9f2dc6254ad88b1">00704</a>     <a class="code" href="XMP__Const_8h.html#adc29c2ff13d900c2f185ee95427fb06ca7107906eab0e1fa6f9f2dc6254ad88b1" title="Do not reconcile alias differences, throw an exception.">kXMP_StrictAliasing</a>   = 0x0004UL
<a name="l00705"></a>00705 
<a name="l00706"></a>00706 };
<a name="l00707"></a>00707 
<a name="l00709"></a>00709 <span class="keyword">enum</span> {
<a name="l00710"></a>00710 
<a name="l00711"></a>00711     <span class="comment">// *** Option to remove empty struct/array, or leaf with empty value?</span>
<a name="l00712"></a>00712 
<a name="l00714"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadbb9e4c7ee139da0dd4126ddea794c76">00714</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadbb9e4c7ee139da0dd4126ddea794c76" title="Omit the XML packet wrapper.">kXMP_OmitPacketWrapper</a>   = 0x0010UL,
<a name="l00715"></a>00715 
<a name="l00717"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea238c792322c5bd5f9e4db3165e01f9d6">00717</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea238c792322c5bd5f9e4db3165e01f9d6" title="Default is a writeable packet.">kXMP_ReadOnlyPacket</a>      = 0x0020UL,
<a name="l00718"></a>00718 
<a name="l00720"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea041dc6b7b8684be7112ae40f5f259ebb">00720</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea041dc6b7b8684be7112ae40f5f259ebb" title="Use a compact form of RDF.">kXMP_UseCompactFormat</a>    = 0x0040UL,
<a name="l00721"></a>00721 
<a name="l00723"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea15e3fb0e64614c574ed554f2f72c0a5d">00723</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea15e3fb0e64614c574ed554f2f72c0a5d" title="Use a canonical form of RDF.">kXMP_UseCanonicalFormat</a>    = 0x0080UL,
<a name="l00724"></a>00724 
<a name="l00726"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea0b659b3b544c7a5a076fbd3132cd7f7a">00726</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea0b659b3b544c7a5a076fbd3132cd7f7a" title="Include a padding allowance for a thumbnail image.">kXMP_IncludeThumbnailPad</a> = 0x0100UL,
<a name="l00727"></a>00727 
<a name="l00729"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadb35599da481cc22ea6342b7b4de6bc6">00729</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadb35599da481cc22ea6342b7b4de6bc6" title="The padding parameter is the overall packet length.">kXMP_ExactPacketLength</a>   = 0x0200UL,
<a name="l00730"></a>00730 
<a name="l00732"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea79230f1d70d2625f7650db6ff5b1ea29">00732</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea79230f1d70d2625f7650db6ff5b1ea29" title="Omit all formatting whitespace.">kXMP_OmitAllFormatting</a>   = 0x0800UL,
<a name="l00733"></a>00733 
<a name="l00735"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea9fb498d749d939e2ba9adf555a75b856">00735</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea9fb498d749d939e2ba9adf555a75b856" title="Omit the x:xmpmeta element surrounding the rdf:RDF element.">kXMP_OmitXMPMetaElement</a>  = 0x1000UL,    
<a name="l00736"></a>00736     
<a name="l00738"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea23054ea4ab89dfd802f14cb389e18745">00738</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea23054ea4ab89dfd802f14cb389e18745" title="Include a rdf Hash and Merged flag in x:xmpmeta element.">kXMP_IncludeRDFHash</a>      = 0x2000UL,
<a name="l00739"></a>00739 
<a name="l00740"></a>00740     _XMP_LittleEndian_Bit    = 0x0001UL,  <span class="comment">// ! Don&#39;t use directly, see the combined values below!</span>
<a name="l00741"></a>00741     _XMP_UTF16_Bit           = 0x0002UL,
<a name="l00742"></a>00742     _XMP_UTF32_Bit           = 0x0004UL,
<a name="l00743"></a>00743 
<a name="l00745"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eaeb79571cac99ee97feefb0347b1c1845">00745</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eaeb79571cac99ee97feefb0347b1c1845" title="Bit-flag mask for encoding-type bits.">kXMP_EncodingMask</a>        = 0x0007UL,
<a name="l00746"></a>00746 
<a name="l00748"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadc8f241694f5a758e5ee3f6db69d02ab">00748</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eadc8f241694f5a758e5ee3f6db69d02ab" title="Use UTF8 encoding.">kXMP_EncodeUTF8</a>          = 0UL,
<a name="l00749"></a>00749 
<a name="l00751"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea310e4cbf639e783163778566b439f01d">00751</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea310e4cbf639e783163778566b439f01d" title="Use UTF16 big-endian encoding.">kXMP_EncodeUTF16Big</a>      = _XMP_UTF16_Bit,
<a name="l00752"></a>00752 
<a name="l00754"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eafc6417e382c98a2d507830de62fd4830">00754</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eafc6417e382c98a2d507830de62fd4830" title="Use UTF16 little-endian encoding.">kXMP_EncodeUTF16Little</a>   = _XMP_UTF16_Bit | _XMP_LittleEndian_Bit,
<a name="l00755"></a>00755 
<a name="l00757"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea793e99d9ea83f0aadd5b4193a95ea713">00757</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9ea793e99d9ea83f0aadd5b4193a95ea713" title="Use UTF32 big-endian encoding.">kXMP_EncodeUTF32Big</a>      = _XMP_UTF32_Bit,
<a name="l00758"></a>00758 
<a name="l00760"></a><a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eae0137d98ea990fa23d292489031ba09e">00760</a>     <a class="code" href="XMP__Const_8h.html#a61dadd085c1777f559549e05962b2c9eae0137d98ea990fa23d292489031ba09e" title="Use UTF13 little-endian encoding.">kXMP_EncodeUTF32Little</a>   = _XMP_UTF32_Bit | _XMP_LittleEndian_Bit
<a name="l00761"></a>00761 
<a name="l00762"></a>00762 };
<a name="l00763"></a>00763 
<a name="l00764"></a>00764 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l00765"></a>00765 
<a name="l00767"></a>00767 <span class="keyword">enum</span> {
<a name="l00768"></a>00768 
<a name="l00770"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a93f77b837d89759af3a721712c13f044">00770</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a93f77b837d89759af3a721712c13f044" title="The low 8 bits are an enum of what data structure to iterate.">kXMP_IterClassMask</a>      = 0x00FFUL,
<a name="l00771"></a>00771 
<a name="l00773"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635aa0643c076a3b3737ff88ed20f16afd2b">00773</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635aa0643c076a3b3737ff88ed20f16afd2b" title="Iterate the property tree of a TXMPMeta object.">kXMP_IterProperties</a>     = 0x0000UL,
<a name="l00774"></a>00774 
<a name="l00776"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a3333450505cd3712320aeac895e541b9">00776</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a3333450505cd3712320aeac895e541b9" title="Iterate the global alias table.">kXMP_IterAliases</a>        = 0x0001UL,
<a name="l00777"></a>00777 
<a name="l00779"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635aa325d9ffba68a934f0a0a0f6ecfc2f7b">00779</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635aa325d9ffba68a934f0a0a0f6ecfc2f7b" title="Iterate the global namespace table.">kXMP_IterNamespaces</a>     = 0x0002UL,
<a name="l00780"></a>00780 
<a name="l00782"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635ab26e1a38d1d0343fcc5bdaab1b60e3ed">00782</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635ab26e1a38d1d0343fcc5bdaab1b60e3ed" title="Just do the immediate children of the root, default is subtree.">kXMP_IterJustChildren</a>   = 0x0100UL,
<a name="l00783"></a>00783 
<a name="l00785"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a4589f99b5b4a55e785e3baf4fe1d9b19">00785</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a4589f99b5b4a55e785e3baf4fe1d9b19" title="Just do the leaf nodes, default is all nodes in the subtree.">kXMP_IterJustLeafNodes</a>  = 0x0200UL,
<a name="l00786"></a>00786 
<a name="l00788"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635acf22e638f4144bcec8207b2ab69bb344">00788</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635acf22e638f4144bcec8207b2ab69bb344" title="Return just the leaf part of the path, default is the full path.">kXMP_IterJustLeafName</a>   = 0x0400UL,
<a name="l00789"></a>00789 
<a name="l00791"></a><a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a1b91947105ae68c48c5d5e36aa70d101">00791</a>     <a class="code" href="XMP__Const_8h.html#a726ca809ffd3d67ab4b8476646f26635a1b91947105ae68c48c5d5e36aa70d101" title="Omit all qualifiers.">kXMP_IterOmitQualifiers</a> = 0x1000UL
<a name="l00792"></a>00792 
<a name="l00793"></a>00793 };
<a name="l00794"></a>00794 
<a name="l00796"></a>00796 <span class="keyword">enum</span> {
<a name="l00797"></a>00797 
<a name="l00799"></a><a class="code" href="XMP__Const_8h.html#a0411cd49bb5b71852cecd93bcbf0ca2dab0b540cd3841f411471a827f833c606e">00799</a>     <a class="code" href="XMP__Const_8h.html#a0411cd49bb5b71852cecd93bcbf0ca2dab0b540cd3841f411471a827f833c606e" title="Skip the subtree below the current node.">kXMP_IterSkipSubtree</a>    = 0x0001UL,
<a name="l00800"></a>00800 
<a name="l00802"></a><a class="code" href="XMP__Const_8h.html#a0411cd49bb5b71852cecd93bcbf0ca2da2537b4b8db838f85b47988b198cd2a12">00802</a>     <a class="code" href="XMP__Const_8h.html#a0411cd49bb5b71852cecd93bcbf0ca2da2537b4b8db838f85b47988b198cd2a12" title="Skip the subtree below and remaining siblings of the current node.">kXMP_IterSkipSiblings</a>   = 0x0002UL
<a name="l00803"></a>00803 
<a name="l00804"></a>00804 };
<a name="l00805"></a>00805 
<a name="l00806"></a>00806 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l00807"></a>00807 
<a name="l00814"></a>00814 <span class="keyword">enum</span> {
<a name="l00815"></a>00815 
<a name="l00817"></a><a class="code" href="XMP__Const_8h.html#abed82baf7f470b522273a3e37c24c600ad6d41710c689f16d19ac26dc9f5cc506">00817</a>     <a class="code" href="XMP__Const_8h.html#abed82baf7f470b522273a3e37c24c600ad6d41710c689f16d19ac26dc9f5cc506" title="Allow commas in item values, default is separator.">kXMPUtil_AllowCommas</a>      = 0x10000000UL
<a name="l00818"></a>00818 
<a name="l00819"></a>00819 };
<a name="l00820"></a>00820 
<a name="l00822"></a>00822 <span class="keyword">enum</span> {
<a name="l00823"></a>00823 
<a name="l00825"></a><a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a872d2b769e775e281984cc63e28714ea">00825</a>     <a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a872d2b769e775e281984cc63e28714ea" title="Do all properties, default is just external properties.">kXMPTemplate_IncludeInternalProperties</a> = 0x0001UL,
<a name="l00826"></a>00826 
<a name="l00828"></a><a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57aae2e0fe43295736a15f0bb76ffe02544">00828</a>     <a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57aae2e0fe43295736a15f0bb76ffe02544" title="Perform a Replace operation, add new properties and modify existing ones.">kXMPTemplate_ReplaceExistingProperties</a> = 0x0002UL,
<a name="l00829"></a>00829 
<a name="l00831"></a><a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a81e1b6fd067fc9ad62bc803c98701bd5">00831</a>     <a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a81e1b6fd067fc9ad62bc803c98701bd5" title="Similar to Replace, also delete if the template has an empty value.">kXMPTemplate_ReplaceWithDeleteEmpty</a> = 0x0004UL,
<a name="l00832"></a>00832 
<a name="l00834"></a><a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a145c259f83048b811c7b35bc3b339c42">00834</a>     <a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a145c259f83048b811c7b35bc3b339c42" title="Perform an Add operation, add properties if they don&amp;#39;t already exist.">kXMPTemplate_AddNewProperties</a> = 0x0008UL,
<a name="l00835"></a>00835 
<a name="l00837"></a><a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a9dac536fe6ee25de76d45bf6615abd46">00837</a>     <a class="code" href="XMP__Const_8h.html#ab04a0655cd1e3bcac5e8f48c18df1a57a9dac536fe6ee25de76d45bf6615abd46" title="Perform a Clear operation, keep named properties and delete everything else.">kXMPTemplate_ClearUnnamedProperties</a> = 0x0010UL
<a name="l00838"></a>00838 
<a name="l00839"></a>00839 };
<a name="l00840"></a>00840 
<a name="l00842"></a>00842 <span class="keyword">enum</span> {
<a name="l00843"></a>00843 
<a name="l00845"></a><a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a8ddfb0572b7602a52e533d92d8b1e9fb">00845</a>     <a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a8ddfb0572b7602a52e533d92d8b1e9fb" title="Do all properties, default is just external properties.">kXMPUtil_DoAllProperties</a>   = 0x0001UL,
<a name="l00846"></a>00846 
<a name="l00848"></a><a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388adab4dad658d2d218c5b1e7d829b12962">00848</a>     <a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388adab4dad658d2d218c5b1e7d829b12962" title="Replace existing values, default is to leave them.">kXMPUtil_ReplaceOldValues</a>  = 0x0002UL,
<a name="l00849"></a>00849 
<a name="l00851"></a><a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a97753b4c5afda9c55e807e41377d86d9">00851</a>     <a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a97753b4c5afda9c55e807e41377d86d9" title="Delete properties if the new value is empty.">kXMPUtil_DeleteEmptyValues</a> = 0x0004UL,
<a name="l00852"></a>00852 
<a name="l00854"></a><a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a843589b878f53d42d59258f945ad770b">00854</a>     <a class="code" href="XMP__Const_8h.html#a385c44f6fb256e5716a2302a5b940388a843589b878f53d42d59258f945ad770b" title="Include aliases, default is just actual properties.">kXMPUtil_IncludeAliases</a>    = 0x0800UL
<a name="l00855"></a>00855 
<a name="l00856"></a>00856 };
<a name="l00857"></a>00857 
<a name="l00858"></a>00858 <span class="comment">// =================================================================================================</span>
<a name="l00859"></a>00859 <span class="comment">// Types and Constants for XMPFiles</span>
<a name="l00860"></a>00860 <span class="comment">// ================================</span>
<a name="l00861"></a>00861 
<a name="l00863"></a><a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563f">00863</a> <span class="keyword">enum</span> <a class="code" href="XMP__Const_8h.html#a84d76d32dd4ef90e5a90cf759b7e563f" title="Seek mode constants for use with XMP_IO and inside XMPFiles library code.">SeekMode</a> { kXMP_SeekFromStart, kXMP_SeekFromCurrent, kXMP_SeekFromEnd };
<a name="l00864"></a>00864 
<a name="l00866"></a>00866 <span class="keyword">enum</span> {
<a name="l00867"></a>00867 
<a name="l00868"></a>00868     <span class="comment">// ! Hex used to avoid gcc warnings. Leave the constants so the text reads big endian. There</span>
<a name="l00869"></a>00869     <span class="comment">// ! seems to be no decent way on UNIX to determine the target endianness at compile time.</span>
<a name="l00870"></a>00870     <span class="comment">// ! Forcing it on the client isn&#39;t acceptable.</span>
<a name="l00871"></a>00871 
<a name="l00872"></a>00872     <span class="comment">// --------------------</span>
<a name="l00873"></a>00873     <span class="comment">// Public file formats.</span>
<a name="l00874"></a>00874 
<a name="l00876"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da17ab6d429c1550eb3cc16d2e544b78eb">00876</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da17ab6d429c1550eb3cc16d2e544b78eb" title="Public file format constant: &amp;#39;PDF &amp;#39;.">kXMP_PDFFile</a>             = 0x50444620UL,
<a name="l00878"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da52c90935ee28a0875a49843d463cad70">00878</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da52c90935ee28a0875a49843d463cad70" title="Public file format constant: &amp;#39;PS &amp;#39;, general PostScript following DSC conventions...">kXMP_PostScriptFile</a>      = 0x50532020UL,
<a name="l00880"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad947e6da0c4d923195d93e0c53a79c4e">00880</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad947e6da0c4d923195d93e0c53a79c4e" title="Public file format constant: &amp;#39;EPS &amp;#39;, encapsulated PostScript.">kXMP_EPSFile</a>             = 0x45505320UL,
<a name="l00881"></a>00881 
<a name="l00883"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad752b2d3e1139e0745223a9385ef6487">00883</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad752b2d3e1139e0745223a9385ef6487" title="Public file format constant: &amp;#39;JPEG&amp;#39;.">kXMP_JPEGFile</a>            = 0x4A504547UL,
<a name="l00885"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da78b8fa38aaa2067e3e1baa0dcaa7571d">00885</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da78b8fa38aaa2067e3e1baa0dcaa7571d" title="Public file format constant: &amp;#39;JPX &amp;#39;, JPEG 2000, ISO 15444-1.">kXMP_JPEG2KFile</a>          = 0x4A505820UL,
<a name="l00887"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dadc0edf25d933c2a21b25449692c3ba08">00887</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dadc0edf25d933c2a21b25449692c3ba08" title="Public file format constant: &amp;#39;TIFF&amp;#39;.">kXMP_TIFFFile</a>            = 0x54494646UL,
<a name="l00889"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da851d2f4525d705cd2dcabb540d0ddc06">00889</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da851d2f4525d705cd2dcabb540d0ddc06" title="Public file format constant: &amp;#39;GIF &amp;#39;.">kXMP_GIFFile</a>             = 0x47494620UL,
<a name="l00891"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dac989381d37de320495e4d13f9ecc6371">00891</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dac989381d37de320495e4d13f9ecc6371" title="Public file format constant: &amp;#39;PNG &amp;#39;.">kXMP_PNGFile</a>             = 0x504E4720UL,
<a name="l00892"></a>00892 
<a name="l00894"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da564a8095f65d951f451e16eb56650597">00894</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da564a8095f65d951f451e16eb56650597" title="Public file format constant: &amp;#39;SWF &amp;#39;.">kXMP_SWFFile</a>             = 0x53574620UL,
<a name="l00896"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dab1eeba00d1d92e313acfe68cd054daf9">00896</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dab1eeba00d1d92e313acfe68cd054daf9" title="Public file format constant: &amp;#39;FLA &amp;#39;.">kXMP_FLAFile</a>             = 0x464C4120UL,
<a name="l00898"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da455bc501088bbd8061fe3ea386a5066f">00898</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da455bc501088bbd8061fe3ea386a5066f" title="Public file format constant: &amp;#39;FLV &amp;#39;.">kXMP_FLVFile</a>             = 0x464C5620UL,
<a name="l00899"></a>00899 
<a name="l00901"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daebdb172c8a75b4ead2eff2d26ed3dc37">00901</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daebdb172c8a75b4ead2eff2d26ed3dc37" title="Public file format constant: &amp;#39;MOV &amp;#39;, Quicktime.">kXMP_MOVFile</a>             = 0x4D4F5620UL,
<a name="l00903"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dae3a6333624e5c292caf14ad849a5e26e">00903</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dae3a6333624e5c292caf14ad849a5e26e" title="Public file format constant: &amp;#39;AVI &amp;#39;.">kXMP_AVIFile</a>             = 0x41564920UL,
<a name="l00905"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad2935ea79b4f9253891e3a68a002c5bb">00905</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad2935ea79b4f9253891e3a68a002c5bb" title="Public file format constant: &amp;#39;CIN &amp;#39;, Cineon.">kXMP_CINFile</a>             = 0x43494E20UL,
<a name="l00907"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dacc1fcd4e52423c0dd2966a2e92352fb8">00907</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dacc1fcd4e52423c0dd2966a2e92352fb8" title="Public file format constant: &amp;#39;WAV &amp;#39;.">kXMP_WAVFile</a>             = 0x57415620UL,
<a name="l00909"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daf3ee34ed2bc26dec0e2d572eeb0de89b">00909</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daf3ee34ed2bc26dec0e2d572eeb0de89b" title="Public file format constant: &amp;#39;MP3 &amp;#39;.">kXMP_MP3File</a>             = 0x4D503320UL,
<a name="l00911"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da42cb8767d9cf16eaeb7aec68a4f224e9">00911</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da42cb8767d9cf16eaeb7aec68a4f224e9" title="Public file format constant: &amp;#39;SES &amp;#39;, Audition session.">kXMP_SESFile</a>             = 0x53455320UL,
<a name="l00913"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da6c949ee85f42eaaed035591338be6789">00913</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da6c949ee85f42eaaed035591338be6789" title="Public file format constant: &amp;#39;CEL &amp;#39;, Audition loop.">kXMP_CELFile</a>             = 0x43454C20UL,
<a name="l00915"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da043afdc1db730db9ac03c505140c61c8">00915</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da043afdc1db730db9ac03c505140c61c8" title="Public file format constant: &amp;#39;MPEG&amp;#39;.">kXMP_MPEGFile</a>            = 0x4D504547UL,
<a name="l00917"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dab58eaebed494530072ad990ac7a9807a">00917</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dab58eaebed494530072ad990ac7a9807a" title="Public file format constant: &amp;#39;MP2 &amp;#39;.">kXMP_MPEG2File</a>           = 0x4D503220UL,
<a name="l00919"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da89e6282c3f0c8966d788500f5d8eaa91">00919</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da89e6282c3f0c8966d788500f5d8eaa91" title="Public file format constant: &amp;#39;MP4 &amp;#39;, ISO 14494-12 and -14.">kXMP_MPEG4File</a>           = 0x4D503420UL,
<a name="l00921"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da4b3477bdc53fae1511104fc54f88d134">00921</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da4b3477bdc53fae1511104fc54f88d134" title="Public file format constant: &amp;#39;MXF &amp;#39;.">kXMP_MXFFile</a>             = 0x4D584620UL,
<a name="l00923"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da78c62f7c10b16b1a862d93f6226a4622">00923</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da78c62f7c10b16b1a862d93f6226a4622" title="Public file format constant: &amp;#39;WMAV&amp;#39;, Windows Media Audio and Video.">kXMP_WMAVFile</a>            = 0x574D4156UL,
<a name="l00925"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daf093d01e7e9cc55a7d1e204498521fc3">00925</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daf093d01e7e9cc55a7d1e204498521fc3" title="Public file format constant: &amp;#39;AIFF&amp;#39;.">kXMP_AIFFFile</a>            = 0x41494646UL,
<a name="l00927"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daab032aa36aec082c6b3a8300548346f5">00927</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daab032aa36aec082c6b3a8300548346f5" title="Public file format constant: &amp;#39;RED &amp;#39;, RED file format.">kXMP_REDFile</a>            = 0x52454420UL,
<a name="l00929"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dabad9584845edf66f2f8fc3c336977e34">00929</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dabad9584845edf66f2f8fc3c336977e34" title="Public file format constant: &amp;#39;P2 &amp;#39;, a collection not really a single file...">kXMP_P2File</a>              = 0x50322020UL,
<a name="l00931"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da5f78caa0871695cc92e058e4f4b2dd57">00931</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da5f78caa0871695cc92e058e4f4b2dd57" title="Public file format constant: &amp;#39;XDCF&amp;#39;, a collection not really a single file...">kXMP_XDCAM_FAMFile</a>       = 0x58444346UL,
<a name="l00933"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da64fe7908df6341e13d9d8c8199cdf852">00933</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da64fe7908df6341e13d9d8c8199cdf852" title="Public file format constant: &amp;#39;XDCS&amp;#39;, a collection not really a single file...">kXMP_XDCAM_SAMFile</a>       = 0x58444353UL,
<a name="l00935"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da45bf9b21d5ffed3594fbd585c47cc4fc">00935</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da45bf9b21d5ffed3594fbd585c47cc4fc" title="Public file format constant: &amp;#39;XDCX&amp;#39;, a collection not really a single file...">kXMP_XDCAM_EXFile</a>        = 0x58444358UL,
<a name="l00937"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafc5ff976e78df2d79d651de818b011f2">00937</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafc5ff976e78df2d79d651de818b011f2" title="Public file format constant: &amp;#39;AVHD&amp;#39;, a collection not really a single file...">kXMP_AVCHDFile</a>           = 0x41564844UL,
<a name="l00939"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daa0edb070c11f87c3dad9f8f7a83b9b5e">00939</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daa0edb070c11f87c3dad9f8f7a83b9b5e" title="Public file format constant: &amp;#39;SHDV&amp;#39;, a collection not really a single file...">kXMP_SonyHDVFile</a>         = 0x53484456UL,
<a name="l00941"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafa11d905db1236494e555956cb2f90ef">00941</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafa11d905db1236494e555956cb2f90ef" title="Public file format constant: &amp;#39;CNXF&amp;#39;, a collection not really a single file...">kXMP_CanonXFFile</a>         = 0x434E5846UL,
<a name="l00942"></a>00942 
<a name="l00944"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da542634e6051139c44fd7b92d08c64760">00944</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da542634e6051139c44fd7b92d08c64760" title="Public file format constant: &amp;#39;HTML&amp;#39;.">kXMP_HTMLFile</a>            = 0x48544D4CUL,
<a name="l00946"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad217b996403fa13caef3d6e978023124">00946</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dad217b996403fa13caef3d6e978023124" title="Public file format constant: &amp;#39;XML &amp;#39;.">kXMP_XMLFile</a>             = 0x584D4C20UL,
<a name="l00948"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da27051cd824d3ae7bb59e3af7a7908ffd">00948</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da27051cd824d3ae7bb59e3af7a7908ffd" title="Public file format constant: &amp;#39;text&amp;#39;.">kXMP_TextFile</a>            = 0x74657874UL,
<a name="l00949"></a>00949 
<a name="l00950"></a>00950     <span class="comment">// -------------------------------</span>
<a name="l00951"></a>00951     <span class="comment">// Adobe application file formats.</span>
<a name="l00952"></a>00952 
<a name="l00954"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da22b478a9d0d52d12e8e4a1181024eb1c">00954</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da22b478a9d0d52d12e8e4a1181024eb1c" title="Adobe application file format constant: &amp;#39;PSD &amp;#39;.">kXMP_PhotoshopFile</a>       = 0x50534420UL,
<a name="l00956"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da82935c41c6222ff4cca954278f18e554">00956</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da82935c41c6222ff4cca954278f18e554" title="Adobe application file format constant: &amp;#39;AI &amp;#39;.">kXMP_IllustratorFile</a>     = 0x41492020UL,
<a name="l00958"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da79cbf96ecc4ac3e0ebfb2d182bc75e60">00958</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da79cbf96ecc4ac3e0ebfb2d182bc75e60" title="Adobe application file format constant: &amp;#39;INDD&amp;#39;.">kXMP_InDesignFile</a>        = 0x494E4444UL,
<a name="l00960"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da5fb9e99541bbb2d8e375d0cc9fd92a2e">00960</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da5fb9e99541bbb2d8e375d0cc9fd92a2e" title="Adobe application file format constant: &amp;#39;AEP &amp;#39;.">kXMP_AEProjectFile</a>       = 0x41455020UL,
<a name="l00962"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dada5b138722448c4d4595fe760668c3df">00962</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dada5b138722448c4d4595fe760668c3df" title="Adobe application file format constant: &amp;#39;AET &amp;#39;, After Effects Project Template...">kXMP_AEProjTemplateFile</a>  = 0x41455420UL,
<a name="l00964"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafd8d3d1c8c84bc6ab773f1298b3938f0">00964</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dafd8d3d1c8c84bc6ab773f1298b3938f0" title="Adobe application file format constant: &amp;#39;FFX &amp;#39;.">kXMP_AEFilterPresetFile</a>  = 0x46465820UL,
<a name="l00966"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dae28efb65bde55f3f8ddfd1fd8a168e2a">00966</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035dae28efb65bde55f3f8ddfd1fd8a168e2a" title="Adobe application file format constant: &amp;#39;NCOR&amp;#39;.">kXMP_EncoreProjectFile</a>   = 0x4E434F52UL,
<a name="l00968"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daeff4f68cd5162370f7bf938a868e280d">00968</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035daeff4f68cd5162370f7bf938a868e280d" title="Adobe application file format constant: &amp;#39;PRPJ&amp;#39;.">kXMP_PremiereProjectFile</a> = 0x5052504AUL,
<a name="l00970"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1ad712bbd349dc899ca1e71971032b0a">00970</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da1ad712bbd349dc899ca1e71971032b0a" title="Adobe application file format constant: &amp;#39;PRTL&amp;#39;.">kXMP_PremiereTitleFile</a>   = 0x5052544CUL,
<a name="l00972"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da96804f7b8ce83786051c4dac4930aa96">00972</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da96804f7b8ce83786051c4dac4930aa96" title="Adobe application file format constant: &amp;#39;UCF &amp;#39;, Universal Container Format...">kXMP_UCFFile</a>             = 0x55434620UL,
<a name="l00973"></a>00973 
<a name="l00974"></a>00974     <span class="comment">// -------</span>
<a name="l00975"></a>00975     <span class="comment">// Others.</span>
<a name="l00976"></a>00976 
<a name="l00978"></a><a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719">00978</a>     <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719" title="Unknown file format constant: &amp;#39; &amp;#39;.">kXMP_UnknownFile</a>         = 0x20202020UL
<a name="l00979"></a>00979 
<a name="l00980"></a>00980 };
<a name="l00981"></a>00981 
<a name="l00983"></a><a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e">00983</a> <span class="keyword">typedef</span> XMP_Uns32 <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a>;
<a name="l00984"></a>00984 
<a name="l00985"></a>00985 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l00986"></a>00986 
<a name="l00988"></a>00988 <span class="keyword">enum</span> {
<a name="l00989"></a>00989     kXMP_CharLittleEndianMask = 1,
<a name="l00990"></a>00990     kXMP_Char16BitMask        = 2,
<a name="l00991"></a>00991     kXMP_Char32BitMask        = 4
<a name="l00992"></a>00992 };
<a name="l00993"></a>00993 
<a name="l00995"></a>00995 <span class="keyword">enum</span> {
<a name="l00997"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9eaf5b20dd9abbef29169a362b265049637">00997</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9eaf5b20dd9abbef29169a362b265049637" title="8-bit">kXMP_Char8Bit</a>        = 0,
<a name="l00999"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea0966bca9b241646f6a730f96c5c14a2d">00999</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea0966bca9b241646f6a730f96c5c14a2d" title="16-bit big-endian">kXMP_Char16BitBig</a>    = kXMP_Char16BitMask,
<a name="l01001"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea19b97b941d6586031190025225ee0eaa">01001</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea19b97b941d6586031190025225ee0eaa" title="16-bit little-endian">kXMP_Char16BitLittle</a> = kXMP_Char16BitMask | kXMP_CharLittleEndianMask,
<a name="l01003"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea87f8231aec6dd125baf77c9f3f918fbc">01003</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea87f8231aec6dd125baf77c9f3f918fbc" title="32-bit big-endian">kXMP_Char32BitBig</a>    = kXMP_Char32BitMask,
<a name="l01005"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea859e7aa88e7dfd3f55ad2b6445a4708e">01005</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea859e7aa88e7dfd3f55ad2b6445a4708e" title="32-bit little-endian">kXMP_Char32BitLittle</a> = kXMP_Char32BitMask | kXMP_CharLittleEndianMask,
<a name="l01007"></a><a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea6c37f0724299a9c88e2f622d3246d63b">01007</a>     <a class="code" href="XMP__Const_8h.html#a05589fbab0657f08285ebdfe93f5ec9ea6c37f0724299a9c88e2f622d3246d63b" title="Variable or not-yet-known cases.">kXMP_CharUnknown</a>     = 1
<a name="l01008"></a>01008 };
<a name="l01009"></a>01009 
<a name="l01042"></a>01042 
<a name="l01043"></a><a class="code" href="XMP__Const_8h.html#aa7596216164335f926cb91d600cddf99">01043</a> <span class="preprocessor">#define XMP_CharFormIs16Bit(f)         ( ((int)(f) &amp; kXMP_Char16BitMask) != 0 )</span>
<a name="l01044"></a><a class="code" href="XMP__Const_8h.html#a1e99ef08266943f52f5c649ab2836ddf">01044</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_CharFormIs32Bit(f)         ( ((int)(f) &amp; kXMP_Char32BitMask) != 0 )</span>
<a name="l01045"></a><a class="code" href="XMP__Const_8h.html#aba2539629b8d238fc56a1901dd07ebca">01045</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_CharFormIsBigEndian(f)     ( ((int)(f) &amp; kXMP_CharLittleEndianMask) == 0 )</span>
<a name="l01046"></a><a class="code" href="XMP__Const_8h.html#a906ec1cd2fb1631c1b5ad9ccdf9c0a6b">01046</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_CharFormIsLittleEndian(f)  ( ((int)(f) &amp; kXMP_CharLittleEndianMask) != 0 )</span>
<a name="l01047"></a><a class="code" href="XMP__Const_8h.html#a85bbf023b1b799c3c20176aa289d32b0">01047</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_GetCharSize(f)             ( ((int)(f)&amp;6) == 0 ? 1 : (int)(f)&amp;6 )</span>
<a name="l01048"></a><a class="code" href="XMP__Const_8h.html#a8f522964919b742b4138c79611997bae">01048</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_CharToSerializeForm(cf)    ( (XMP_OptionBits)(cf) )</span>
<a name="l01049"></a><a class="code" href="XMP__Const_8h.html#a93e7900e6c9fb4057dfd685b5201057d">01049</a> <span class="preprocessor"></span><span class="preprocessor">#define XMP_CharFromSerializeForm(sf)  ( (XMP_Uns8)(sf) )</span>
<a name="l01050"></a>01050 <span class="preprocessor"></span>
<a name="l01053"></a><a class="code" href="XMP__Const_8h.html#a6a9b77b60c63781a8776f10880856bf4">01053</a> <span class="preprocessor">#define kXMPFiles_UnknownOffset ((XMP_Int64)-1)</span>
<a name="l01054"></a>01054 <span class="preprocessor"></span>
<a name="l01057"></a><a class="code" href="XMP__Const_8h.html#ae0901aabcf619f17cff03f08e5ed3658">01057</a> <span class="preprocessor">#define kXMPFiles_UnknownLength ((XMP_Int32)-1)</span>
<a name="l01058"></a>01058 <span class="preprocessor"></span>
<a name="l01060"></a><a class="code" href="structXMP__PacketInfo.html">01060</a> <span class="keyword">struct </span><a class="code" href="structXMP__PacketInfo.html" title="XMP packet description.">XMP_PacketInfo</a> {
<a name="l01061"></a>01061 
<a name="l01063"></a><a class="code" href="structXMP__PacketInfo.html#a20f65fcfd0f3658ab93ff441a9d61d2c">01063</a>     XMP_Int64 <a class="code" href="structXMP__PacketInfo.html#a20f65fcfd0f3658ab93ff441a9d61d2c" title="Packet offset in the file in bytes, -1 if unknown.">offset</a>;
<a name="l01065"></a><a class="code" href="structXMP__PacketInfo.html#af526c582b66e24553f2d4b11eb714a44">01065</a>     XMP_Int32 <a class="code" href="structXMP__PacketInfo.html#af526c582b66e24553f2d4b11eb714a44" title="Packet length in the file in bytes, -1 if unknown.">length</a>;
<a name="l01067"></a><a class="code" href="structXMP__PacketInfo.html#af4f99e6a5b36b05fdf4a519421875256">01067</a>     XMP_Int32 <a class="code" href="structXMP__PacketInfo.html#af4f99e6a5b36b05fdf4a519421875256" title="Packet padding size in bytes, zero if unknown.">padSize</a>;   <span class="comment">// Zero if unknown.</span>
<a name="l01068"></a>01068 
<a name="l01070"></a><a class="code" href="structXMP__PacketInfo.html#a039ce6665fe8e08d922a46f266799f75">01070</a>     XMP_Uns8  <a class="code" href="structXMP__PacketInfo.html#a039ce6665fe8e08d922a46f266799f75" title="Character format using the values kXMP_Char8Bit, kXMP_Char16BitBig, etc.">charForm</a>;
<a name="l01072"></a><a class="code" href="structXMP__PacketInfo.html#a66845c1d5f3f9f36a1543a7322bd7bd1">01072</a>     XMP_Bool  <a class="code" href="structXMP__PacketInfo.html#a66845c1d5f3f9f36a1543a7322bd7bd1" title="True if there is a packet wrapper and the trailer says writeable by dumb packet scanners...">writeable</a>;
<a name="l01074"></a><a class="code" href="structXMP__PacketInfo.html#a6725d8ab8b4eedddaac950d2b1b00a7f">01074</a>     XMP_Bool  <a class="code" href="structXMP__PacketInfo.html#a6725d8ab8b4eedddaac950d2b1b00a7f" title="True if there is a packet wrapper, the &amp;quot;&amp;lt;?xpacket...&amp;gt;&amp;quot; XML processing...">hasWrapper</a>;
<a name="l01075"></a>01075 
<a name="l01077"></a><a class="code" href="structXMP__PacketInfo.html#a83ec12161a36451fef05d88cc754104e">01077</a>     XMP_Uns8  <a class="code" href="structXMP__PacketInfo.html#a83ec12161a36451fef05d88cc754104e" title="Padding to make the struct&amp;#39;s size be a multiple 4.">pad</a>;
<a name="l01078"></a>01078 
<a name="l01080"></a><a class="code" href="structXMP__PacketInfo.html#a2ae03a1b3d03fa9ebc829105037155a8">01080</a>     <a class="code" href="structXMP__PacketInfo.html#a2ae03a1b3d03fa9ebc829105037155a8" title="Default constructor.">XMP_PacketInfo</a>() : <a class="code" href="structXMP__PacketInfo.html#a20f65fcfd0f3658ab93ff441a9d61d2c" title="Packet offset in the file in bytes, -1 if unknown.">offset</a>(<a class="code" href="XMP__Const_8h.html#a6a9b77b60c63781a8776f10880856bf4" title="Constant for an unknown packet offset within a file.">kXMPFiles_UnknownOffset</a>), <a class="code" href="structXMP__PacketInfo.html#af526c582b66e24553f2d4b11eb714a44" title="Packet length in the file in bytes, -1 if unknown.">length</a>(<a class="code" href="XMP__Const_8h.html#ae0901aabcf619f17cff03f08e5ed3658" title="Constant for an unknown packet length within a file.">kXMPFiles_UnknownLength</a>),
<a name="l01081"></a>01081                        <a class="code" href="structXMP__PacketInfo.html#af4f99e6a5b36b05fdf4a519421875256" title="Packet padding size in bytes, zero if unknown.">padSize</a>(0), <a class="code" href="structXMP__PacketInfo.html#a039ce6665fe8e08d922a46f266799f75" title="Character format using the values kXMP_Char8Bit, kXMP_Char16BitBig, etc.">charForm</a>(0), <a class="code" href="structXMP__PacketInfo.html#a66845c1d5f3f9f36a1543a7322bd7bd1" title="True if there is a packet wrapper and the trailer says writeable by dumb packet scanners...">writeable</a>(0), <a class="code" href="structXMP__PacketInfo.html#a6725d8ab8b4eedddaac950d2b1b00a7f" title="True if there is a packet wrapper, the &amp;quot;&amp;lt;?xpacket...&amp;gt;&amp;quot; XML processing...">hasWrapper</a>(0), <a class="code" href="structXMP__PacketInfo.html#a83ec12161a36451fef05d88cc754104e" title="Padding to make the struct&amp;#39;s size be a multiple 4.">pad</a>(0) {};
<a name="l01082"></a>01082 
<a name="l01083"></a>01083 };
<a name="l01084"></a>01084 
<a name="l01086"></a>01086 <span class="keyword">enum</span> {
<a name="l01088"></a><a class="code" href="XMP__Const_8h.html#a16af7b253440dadd46a80a4b9fddba4da767b4847575a8de28e691be660d43817">01088</a>     <a class="code" href="XMP__Const_8h.html#a16af7b253440dadd46a80a4b9fddba4da767b4847575a8de28e691be660d43817" title="Version of the XMP_PacketInfo type.">kXMP_PacketInfoVersion</a> = 3
<a name="l01089"></a>01089 };
<a name="l01090"></a>01090 
<a name="l01091"></a>01091 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01092"></a>01092 
<a name="l01094"></a>01094 <span class="keyword">enum</span> {
<a name="l01096"></a><a class="code" href="XMP__Const_8h.html#aba01db17f4a2bfbc3db60dc172972a25a9b9c1ef01e49193a167c40156df07b50">01096</a>     <a class="code" href="XMP__Const_8h.html#aba01db17f4a2bfbc3db60dc172972a25a9b9c1ef01e49193a167c40156df07b50" title="Ignore non-XMP text that uses an undefined &amp;quot;local&amp;quot; encoding.">kXMPFiles_IgnoreLocalText</a> = 0x0002,
<a name="l01098"></a><a class="code" href="XMP__Const_8h.html#aba01db17f4a2bfbc3db60dc172972a25aee2f09481347c29d6c06951b0d81e145">01098</a>     <a class="code" href="XMP__Const_8h.html#aba01db17f4a2bfbc3db60dc172972a25aee2f09481347c29d6c06951b0d81e145" title="Combination of flags necessary for server products using XMPFiles.">kXMPFiles_ServerMode</a>      = <a class="code" href="XMP__Const_8h.html#aba01db17f4a2bfbc3db60dc172972a25a9b9c1ef01e49193a167c40156df07b50" title="Ignore non-XMP text that uses an undefined &amp;quot;local&amp;quot; encoding.">kXMPFiles_IgnoreLocalText</a>
<a name="l01099"></a>01099 };
<a name="l01100"></a>01100 
<a name="l01102"></a>01102 <span class="keyword">enum</span> {
<a name="l01103"></a>01103 
<a name="l01105"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea23a3eb2a5e95292036a93ad6666fa388">01105</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea23a3eb2a5e95292036a93ad6666fa388" title="Can inject first-time XMP into an existing file.">kXMPFiles_CanInjectXMP</a>        = 0x00000001,
<a name="l01106"></a>01106 
<a name="l01108"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea126c9cc056f6569c424431edbcb9521c">01108</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea126c9cc056f6569c424431edbcb9521c" title="Can expand XMP or other metadata in an existing file.">kXMPFiles_CanExpand</a>           = 0x00000002,
<a name="l01109"></a>01109 
<a name="l01111"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea8957f1ef358b4ab3a1df519903f2ae07">01111</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea8957f1ef358b4ab3a1df519903f2ae07" title="Can copy one file to another, writing new metadata.">kXMPFiles_CanRewrite</a>          = 0x00000004,
<a name="l01112"></a>01112 
<a name="l01114"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceab55e1873e67048928de3fc47550678c3">01114</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceab55e1873e67048928de3fc47550678c3" title="Can expand, but prefers in-place update.">kXMPFiles_PrefersInPlace</a>      = 0x00000008,
<a name="l01115"></a>01115 
<a name="l01117"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceafc2bc7cfdd28a326788d563ec0357694">01117</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceafc2bc7cfdd28a326788d563ec0357694" title="Supports reconciliation between XMP and other forms.">kXMPFiles_CanReconcile</a>        = 0x00000010,
<a name="l01118"></a>01118 
<a name="l01120"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea4a183c3ec4994cf09993e5b31dee9733">01120</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea4a183c3ec4994cf09993e5b31dee9733" title="Allows access to just the XMP, ignoring other forms.">kXMPFiles_AllowsOnlyXMP</a>       = 0x00000020,
<a name="l01121"></a>01121 
<a name="l01123"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceadb116eed738d1fcdfe4ab9c1635e08ea">01123</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceadb116eed738d1fcdfe4ab9c1635e08ea" title="File handler returns raw XMP packet information.">kXMPFiles_ReturnsRawPacket</a>    = 0x00000040,
<a name="l01124"></a>01124 
<a name="l01126"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceafc2c5b585e698ebf24a9379de35954b4">01126</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceafc2c5b585e698ebf24a9379de35954b4" title="The file handler does the file open and close.">kXMPFiles_HandlerOwnsFile</a>     = 0x00000100,
<a name="l01127"></a>01127 
<a name="l01129"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea9fe958d4ccde02516a3a267db63874cd">01129</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea9fe958d4ccde02516a3a267db63874cd" title="The file handler allows crash-safe file updates.">kXMPFiles_AllowsSafeUpdate</a>    = 0x00000200,
<a name="l01130"></a>01130 
<a name="l01132"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceaee13099f78018a5e1ce033266c27e999">01132</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceaee13099f78018a5e1ce033266c27e999" title="The file format needs the XMP packet to be read-only.">kXMPFiles_NeedsReadOnlyPacket</a> = 0x00000400,
<a name="l01133"></a>01133 
<a name="l01135"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcead3027b786992e2a4762a4fa37c92943c">01135</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcead3027b786992e2a4762a4fa37c92943c" title="The file handler uses a &amp;quot;sidecar&amp;quot; file for the XMP.">kXMPFiles_UsesSidecarXMP</a>      = 0x00000800,
<a name="l01136"></a>01136 
<a name="l01138"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceaa2a6a4b744b40055387234632b688fcd">01138</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fceaa2a6a4b744b40055387234632b688fcd" title="The format is folder oriented, for example the P2 video format.">kXMPFiles_FolderBasedFormat</a>   = 0x00001000,
<a name="l01139"></a>01139 
<a name="l01141"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea17578d45ae3c09a8d08189ea544052b1">01141</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea17578d45ae3c09a8d08189ea544052b1" title="The file Handler is capable of notifying progress notifications.">kXMPFiles_CanNotifyProgress</a>   = 0x00002000,
<a name="l01142"></a>01142 
<a name="l01144"></a><a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea798c55f5144eedde76f8329a056210b2">01144</a>     <a class="code" href="XMP__Const_8h.html#aaf105ae5beaca1dee30ae54530691fcea798c55f5144eedde76f8329a056210b2" title="The plugin handler is not capable for delay loading.">kXMPFiles_NeedsPreloading</a>      = 0x00004000
<a name="l01145"></a>01145 
<a name="l01146"></a>01146 };
<a name="l01147"></a>01147 
<a name="l01149"></a>01149 <span class="keyword">enum</span> {
<a name="l01150"></a>01150 
<a name="l01152"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa4c61ec4ed571dbc5f1832ff6772320d2">01152</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa4c61ec4ed571dbc5f1832ff6772320d2" title="Open for read-only access.">kXMPFiles_OpenForRead</a>           = 0x00000001,
<a name="l01153"></a>01153 
<a name="l01155"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa91fa388b3888bcb6a68615537b66a49b">01155</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa91fa388b3888bcb6a68615537b66a49b" title="Open for reading and writing.">kXMPFiles_OpenForUpdate</a>         = 0x00000002,
<a name="l01156"></a>01156 
<a name="l01158"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaa58279b2b1311242e7374117f455bb96">01158</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaa58279b2b1311242e7374117f455bb96" title="Only the XMP is wanted, allows space/time optimizations.">kXMPFiles_OpenOnlyXMP</a>           = 0x00000004,
<a name="l01159"></a>01159 
<a name="l01161"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaab8cbbeef0e99d246907a4375766e21a2">01161</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaab8cbbeef0e99d246907a4375766e21a2" title="Force use of the given handler (format), do not even verify the format.">kXMPFiles_ForceGivenHandler</a>     = 0x00000008,
<a name="l01162"></a>01162     
<a name="l01164"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa0bef4db2ecdaf82a85df9e9d417aab18">01164</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa0bef4db2ecdaf82a85df9e9d417aab18" title="Be strict about only attempting to use the designated file handler, no fallback to...">kXMPFiles_OpenStrictly</a>          = 0x00000010,
<a name="l01165"></a>01165 
<a name="l01167"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaf6332435c7fc89cb0b7381e13fe43646">01167</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaf6332435c7fc89cb0b7381e13fe43646" title="Require the use of a smart handler.">kXMPFiles_OpenUseSmartHandler</a>   = 0x00000020,
<a name="l01168"></a>01168 
<a name="l01170"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa77b47c63e579b28cbd25083ceb58c285">01170</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa77b47c63e579b28cbd25083ceb58c285" title="Force packet scanning, do not use a smart handler.">kXMPFiles_OpenUsePacketScanning</a> = 0x00000040,
<a name="l01171"></a>01171 
<a name="l01173"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa77f34b1873bb2584feabe26a2c8f1182">01173</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa77f34b1873bb2584feabe26a2c8f1182" title="Only packet scan files &amp;quot;known&amp;quot; to need scanning.">kXMPFiles_OpenLimitedScanning</a>   = 0x00000080,
<a name="l01174"></a>01174 
<a name="l01176"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa05acd568597f72b4812b432ea6cf606a">01176</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaa05acd568597f72b4812b432ea6cf606a" title="Attempt to repair a file opened for update, default is to not open (throw an exception)...">kXMPFiles_OpenRepairFile</a>        = 0x00000100,
<a name="l01177"></a>01177 
<a name="l01179"></a><a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaf5f2ebd401758a14dc52c5ee403303b5">01179</a>     <a class="code" href="XMP__Const_8h.html#a80155586fa275b28773c9b203f52cabaaf5f2ebd401758a14dc52c5ee403303b5" title="When updating a file, spend the effort necessary to optimize file layout.">kXMPFiles_OptimizeFileLayout</a>    = 0x00000200
<a name="l01180"></a>01180 
<a name="l01181"></a>01181 };
<a name="l01182"></a>01182 
<a name="l01184"></a>01184 <span class="keyword">enum</span> {
<a name="l01186"></a><a class="code" href="XMP__Const_8h.html#a6b7b47dd702d9e331586d485013fd1eaadbf8d744f355ef9800a4ec44325baf54">01186</a>     <a class="code" href="XMP__Const_8h.html#a6b7b47dd702d9e331586d485013fd1eaadbf8d744f355ef9800a4ec44325baf54" title="Write into a temporary file and swap for crash safety.">kXMPFiles_UpdateSafely</a> = 0x0001
<a name="l01187"></a>01187 };
<a name="l01188"></a>01188 
<a name="l01189"></a>01189 <span class="comment">// =================================================================================================</span>
<a name="l01190"></a>01190 <span class="comment">// Error notification and Exceptions</span>
<a name="l01191"></a>01191 <span class="comment">// =================================</span>
<a name="l01192"></a>01192 
<a name="l01216"></a>01216 
<a name="l01217"></a>01217 <span class="keyword">typedef</span> XMP_Uns8 XMP_ErrorSeverity;
<a name="l01218"></a>01218 
<a name="l01220"></a>01220 <span class="keyword">enum</span> {
<a name="l01222"></a><a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a068fdc8c88dcce62a7b42788a572af61">01222</a>     <a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a068fdc8c88dcce62a7b42788a572af61" title="Partial recovery and continuation is possible.">kXMPErrSev_Recoverable</a>    = 0,
<a name="l01224"></a><a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960afb962bdcf570af9aef4e32b5f279d1a4">01224</a>     <a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960afb962bdcf570af9aef4e32b5f279d1a4" title="Recovery is not possible, an exception will be thrown aborting the API call.">kXMPErrSev_OperationFatal</a> = 1,
<a name="l01226"></a><a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a2bd1ff3ba036640f0c76d68a03cf94f7">01226</a>     <a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a2bd1ff3ba036640f0c76d68a03cf94f7" title="Recovery is not possible, an exception will be thrown, the file is corrupt and possibly...">kXMPErrSev_FileFatal</a>      = 2,
<a name="l01228"></a><a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a768126806f8c7b7c107314610125deb3">01228</a>     <a class="code" href="XMP__Const_8h.html#af9bdc3014f3d54c426b6d2df10de4960a768126806f8c7b7c107314610125deb3" title="Recovery is not possible, an exception will be thrown, the entire process should...">kXMPErrSev_ProcessFatal</a>   = 3
<a name="l01229"></a>01229 };
<a name="l01230"></a>01230 
<a name="l01231"></a>01231 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01255"></a>01255 <span class="comment"></span>
<a name="l01256"></a><a class="code" href="XMP__Const_8h.html#a6027ee7b7d17a0fec636f812c5346af7">01256</a> <span class="keyword">typedef</span> bool (* <a class="code" href="XMP__Const_8h.html#a6027ee7b7d17a0fec636f812c5346af7">XMPMeta_ErrorCallbackProc</a>) ( <span class="keywordtype">void</span>* context, XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message );
<a name="l01257"></a>01257 
<a name="l01258"></a>01258 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01291"></a>01291 <span class="comment"></span>
<a name="l01292"></a><a class="code" href="XMP__Const_8h.html#aaceb0287e961c16649487db026bcfc61">01292</a> <span class="keyword">typedef</span> bool (* <a class="code" href="XMP__Const_8h.html#aaceb0287e961c16649487db026bcfc61">XMPFiles_ErrorCallbackProc</a>) ( <span class="keywordtype">void</span>* context, XMP_StringPtr filePath, XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message );
<a name="l01293"></a>01293 
<a name="l01294"></a>01294 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01296"></a>01296 <span class="comment"></span>
<a name="l01297"></a><a class="code" href="XMP__Const_8h.html#a900dba8ffc9d1d9b89f4e83ac601679b">01297</a> <span class="keyword">typedef</span> XMP_Bool (* <a class="code" href="XMP__Const_8h.html#a900dba8ffc9d1d9b89f4e83ac601679b" title="Internal: The signatures of client-side wrappers for the error notification callbacks...">XMPMeta_ErrorCallbackWrapper</a>) ( <a class="code" href="XMP__Const_8h.html#a6027ee7b7d17a0fec636f812c5346af7">XMPMeta_ErrorCallbackProc</a> clientProc, <span class="keywordtype">void</span>* context,
<a name="l01298"></a>01298                                                 XMP_ErrorSeverity severity, XMP_Int32 cause, XMP_StringPtr message );
<a name="l01299"></a>01299 
<a name="l01300"></a>01300 <span class="keyword">typedef</span> XMP_Bool (* XMPFiles_ErrorCallbackWrapper) ( <a class="code" href="XMP__Const_8h.html#aaceb0287e961c16649487db026bcfc61">XMPFiles_ErrorCallbackProc</a> clientProc, <span class="keywordtype">void</span>* context,
<a name="l01301"></a>01301                                                  XMP_StringPtr filePath, XMP_ErrorSeverity severity,
<a name="l01302"></a>01302                                                  XMP_Int32 cause, XMP_StringPtr message );
<a name="l01303"></a>01303 
<a name="l01305"></a><a class="code" href="classXMP__Error.html">01305</a> <span class="keyword">class </span><a class="code" href="classXMP__Error.html" title="XMP Toolkit error, associates an error code with a descriptive error string.">XMP_Error</a> {
<a name="l01306"></a>01306 <span class="keyword">public</span>:
<a name="l01307"></a>01307 
<a name="l01314"></a><a class="code" href="classXMP__Error.html#aa8b3b859899759d679b00237254e30aa">01314</a>     <a class="code" href="classXMP__Error.html#aa8b3b859899759d679b00237254e30aa" title="Constructor for an XMP_Error.">XMP_Error</a> ( XMP_Int32 _id, XMP_StringPtr _errMsg ) : <a class="code" href="classXMP__Error.html#aad714bd7c428e10eff07a8ab6a4f3125" title="Exception code. See constants kXMPErr_Unknown and following.">id</a>(_id), <a class="code" href="classXMP__Error.html#a31fd80098e50026985e05abd16f3e045">errMsg</a>(_errMsg), <a class="code" href="classXMP__Error.html#a2b884dfb0b39689d1cf95105eadc4571" title="Variable to store whether this particular error is notified to user or not.">notified</a>(false) {};
<a name="l01315"></a>01315 
<a name="l01317"></a><a class="code" href="classXMP__Error.html#a56aaa6fc6644ccfc9470ae1af8f3a8cd">01317</a>     <span class="keyword">inline</span> XMP_Int32     <a class="code" href="classXMP__Error.html#a56aaa6fc6644ccfc9470ae1af8f3a8cd" title="Retrieves the numeric code from an XMP_Error.">GetID</a>()<span class="keyword"> const     </span>{ <span class="keywordflow">return</span> <a class="code" href="classXMP__Error.html#aad714bd7c428e10eff07a8ab6a4f3125" title="Exception code. See constants kXMPErr_Unknown and following.">id</a>; };
<a name="l01318"></a>01318 
<a name="l01320"></a><a class="code" href="classXMP__Error.html#a9a3560c67612dec9a6ca37c34eb2c153">01320</a>     <span class="keyword">inline</span> XMP_StringPtr <a class="code" href="classXMP__Error.html#a9a3560c67612dec9a6ca37c34eb2c153" title="Retrieves the descriptive string from an XMP_Error.">GetErrMsg</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classXMP__Error.html#a31fd80098e50026985e05abd16f3e045">errMsg</a>; };
<a name="l01321"></a>01321 
<a name="l01323"></a><a class="code" href="classXMP__Error.html#a5a0651a9615a6a60e467a96ddb43a6bb">01323</a>     <span class="keyword">inline</span> XMP_Bool      <a class="code" href="classXMP__Error.html#a5a0651a9615a6a60e467a96ddb43a6bb" title="Retrieves the information whether particular error is notified or not.">IsNotified</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classXMP__Error.html#a2b884dfb0b39689d1cf95105eadc4571" title="Variable to store whether this particular error is notified to user or not.">notified</a>; }
<a name="l01324"></a>01324 
<a name="l01326"></a><a class="code" href="classXMP__Error.html#a9c368db94ca63ad7b9b118051d1f8897">01326</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span>          <a class="code" href="classXMP__Error.html#a9c368db94ca63ad7b9b118051d1f8897" title="Sets the notification status for an error.">SetNotified</a>() { <a class="code" href="classXMP__Error.html#a2b884dfb0b39689d1cf95105eadc4571" title="Variable to store whether this particular error is notified to user or not.">notified</a> = <span class="keyword">true</span>; };
<a name="l01327"></a>01327 
<a name="l01328"></a>01328 <span class="keyword">private</span>:
<a name="l01330"></a>01330     XMP_Int32     <a class="code" href="classXMP__Error.html#aad714bd7c428e10eff07a8ab6a4f3125" title="Exception code. See constants kXMPErr_Unknown and following.">id</a>;
<a name="l01333"></a><a class="code" href="classXMP__Error.html#a31fd80098e50026985e05abd16f3e045">01333</a>     XMP_StringPtr <a class="code" href="classXMP__Error.html#a31fd80098e50026985e05abd16f3e045">errMsg</a>;
<a name="l01335"></a><a class="code" href="classXMP__Error.html#a2b884dfb0b39689d1cf95105eadc4571">01335</a>     XMP_Bool <a class="code" href="classXMP__Error.html#a2b884dfb0b39689d1cf95105eadc4571" title="Variable to store whether this particular error is notified to user or not.">notified</a>;
<a name="l01336"></a>01336 };
<a name="l01337"></a>01337 
<a name="l01339"></a>01339 <span class="keyword">enum</span> {
<a name="l01340"></a>01340 
<a name="l01341"></a>01341     <span class="comment">//  --------------------</span>
<a name="l01343"></a>01343 <span class="comment"></span>
<a name="l01345"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ae2aec0f3b8db282cbba40e4bcf746ba9">01345</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ae2aec0f3b8db282cbba40e4bcf746ba9" title="Generic error codes.">kXMPErr_NoError</a>          =  -1,
<a name="l01346"></a>01346 
<a name="l01348"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14813595824de97382fffeae7b6fe581">01348</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14813595824de97382fffeae7b6fe581" title="Generic unknown error.">kXMPErr_Unknown</a>          =   0,
<a name="l01350"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409acd9fa1b621efafd5b218e3a785cbeda1">01350</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409acd9fa1b621efafd5b218e3a785cbeda1" title="Generic undefined error.">kXMPErr_TBD</a>              =   1,
<a name="l01352"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac7ac408582c194cc723a24acb8b4e4c3">01352</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac7ac408582c194cc723a24acb8b4e4c3" title="Generic unavailable error.">kXMPErr_Unavailable</a>      =   2,
<a name="l01354"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a115f3d761d2cad952aab23f35cbdf3a1">01354</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a115f3d761d2cad952aab23f35cbdf3a1" title="Generic bad object error.">kXMPErr_BadObject</a>        =   3,
<a name="l01356"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a52d197a8b0af3c55f16958162a4132f1">01356</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a52d197a8b0af3c55f16958162a4132f1" title="Generic bad parameter error.">kXMPErr_BadParam</a>         =   4,
<a name="l01358"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a716956a038782e595ce61d3fbdd1a25a">01358</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a716956a038782e595ce61d3fbdd1a25a" title="Generic bad value error.">kXMPErr_BadValue</a>         =   5,
<a name="l01360"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14bd6c24087d280c722c1a044eec27d6">01360</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14bd6c24087d280c722c1a044eec27d6" title="Generic assertion failure.">kXMPErr_AssertFailure</a>    =   6,
<a name="l01362"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa856bb36a9742d8542b483e00fc6511b">01362</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa856bb36a9742d8542b483e00fc6511b" title="Generic enforcement failure.">kXMPErr_EnforceFailure</a>   =   7,
<a name="l01364"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a3de1ac8f4e4afb705d5a4654cb9579e2">01364</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a3de1ac8f4e4afb705d5a4654cb9579e2" title="Generic unimplemented error.">kXMPErr_Unimplemented</a>    =   8,
<a name="l01366"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a8babbd758d2c64fd04e85fa48e0675c0">01366</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a8babbd758d2c64fd04e85fa48e0675c0" title="Generic internal failure.">kXMPErr_InternalFailure</a>  =   9,
<a name="l01368"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14342c486ddf394ebc110a446becbfa7">01368</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a14342c486ddf394ebc110a446becbfa7" title="Generic deprecated error.">kXMPErr_Deprecated</a>       =  10,
<a name="l01370"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a82941dc15c6ccde6b8fb2f9cc85c2eeb">01370</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a82941dc15c6ccde6b8fb2f9cc85c2eeb" title="Generic external failure.">kXMPErr_ExternalFailure</a>  =  11,
<a name="l01372"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4ba7b1a57629e4994a0f7a515d51195">01372</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4ba7b1a57629e4994a0f7a515d51195" title="Generic user abort error.">kXMPErr_UserAbort</a>        =  12,
<a name="l01374"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5322df07e2a7792824d2468c4837f1cb">01374</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5322df07e2a7792824d2468c4837f1cb" title="Generic standard exception.">kXMPErr_StdException</a>     =  13,
<a name="l01376"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aac7558097a1f5a0f99097199f1bf8ff4">01376</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aac7558097a1f5a0f99097199f1bf8ff4" title="Generic unknown exception.">kXMPErr_UnknownException</a> =  14,
<a name="l01378"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a69eb7fef422fbca62cdbc554afffd813">01378</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a69eb7fef422fbca62cdbc554afffd813" title="Generic out-of-memory error.">kXMPErr_NoMemory</a>         =  15,
<a name="l01380"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5227060f282a86c8ea1a944107751dd1">01380</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5227060f282a86c8ea1a944107751dd1" title="Progress reporting callback requested abort.">kXMPErr_ProgressAbort</a>    =  16,
<a name="l01381"></a>01381 
<a name="l01382"></a>01382     <span class="comment">// ------------------------------------</span>
<a name="l01383"></a>01383     <span class="comment">// More specific parameter error codes.</span>
<a name="l01384"></a>01384 
<a name="l01386"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2bc66eec6ce830979089d5c336f75539">01386</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2bc66eec6ce830979089d5c336f75539" title="Bad schema parameter.">kXMPErr_BadSchema</a>        = 101,
<a name="l01388"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a3f1efec0aa5452f43c55c05aba616ef7">01388</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a3f1efec0aa5452f43c55c05aba616ef7" title="Bad XPath parameter.">kXMPErr_BadXPath</a>         = 102,
<a name="l01390"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a40ca77d98bd366442bb8d438c420a444">01390</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a40ca77d98bd366442bb8d438c420a444" title="Bad options parameter.">kXMPErr_BadOptions</a>       = 103,
<a name="l01392"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a31adb57da79b4fb1f1f5f999ec740010">01392</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a31adb57da79b4fb1f1f5f999ec740010" title="Bad index parameter.">kXMPErr_BadIndex</a>         = 104,
<a name="l01394"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2584fc813bfcd9158b7adf28a3454bb9">01394</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2584fc813bfcd9158b7adf28a3454bb9" title="Bad iteration position.">kXMPErr_BadIterPosition</a>  = 105,
<a name="l01396"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a052b1b525fba7da8c98be5c135f434b8">01396</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a052b1b525fba7da8c98be5c135f434b8" title="XML parsing error (deprecated).">kXMPErr_BadParse</a>         = 106,
<a name="l01398"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4f936ff6788ce17f6098b7cbda77ed9">01398</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4f936ff6788ce17f6098b7cbda77ed9" title="Serialization error.">kXMPErr_BadSerialize</a>     = 107,
<a name="l01400"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa0a05e07925d1f3daf5f36f6da0840f8">01400</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa0a05e07925d1f3daf5f36f6da0840f8" title="File format error.">kXMPErr_BadFileFormat</a>    = 108,
<a name="l01402"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a10fa053f279fed01b075f34a70f11795">01402</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a10fa053f279fed01b075f34a70f11795" title="No file handler found for format.">kXMPErr_NoFileHandler</a>    = 109,
<a name="l01404"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa9c1c20e53db12b20068d830a8990c0b">01404</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa9c1c20e53db12b20068d830a8990c0b" title="Data too large for JPEG file format.">kXMPErr_TooLargeForJPEG</a>  = 110,
<a name="l01406"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2874a5dcddf253a17d75a147b2ed4933">01406</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2874a5dcddf253a17d75a147b2ed4933" title="A file does not exist.">kXMPErr_NoFile</a>           = 111,
<a name="l01408"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a577b0e80acf44125f0dc49e5885e0824">01408</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a577b0e80acf44125f0dc49e5885e0824" title="A file exists but cannot be opened.">kXMPErr_FilePermission</a>   = 112,
<a name="l01410"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa2f19dfd8ce27b5713c79e34f2052e40">01410</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aa2f19dfd8ce27b5713c79e34f2052e40" title="A file write failed due to lack of disk space.">kXMPErr_DiskSpace</a>        = 113,
<a name="l01412"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2a17df0c0b690f5b7829bc4ca16efce2">01412</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a2a17df0c0b690f5b7829bc4ca16efce2" title="A file read failed.">kXMPErr_ReadError</a>        = 114,
<a name="l01414"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409afca1d169d7e3cb3ba84c81700c1b9b22">01414</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409afca1d169d7e3cb3ba84c81700c1b9b22" title="A file write failed for a reason other than lack of disk space.">kXMPErr_WriteError</a>       = 115,
<a name="l01416"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aacc6262e9c1fd1a64e3d10cedfb7dcb1">01416</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aacc6262e9c1fd1a64e3d10cedfb7dcb1" title="A block of a file is ill-formed, e.g. invalid IPTC-IIM in a photo.">kXMPErr_BadBlockFormat</a>   = 116,
<a name="l01418"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a0819111429c734ca5ef895c193846351">01418</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a0819111429c734ca5ef895c193846351" title="File Path is not a file.">kXMPErr_FilePathNotAFile</a> = 117,
<a name="l01420"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad9d8c98663e3ead894841807ab4548f8">01420</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad9d8c98663e3ead894841807ab4548f8" title="Rejected File extension.">kXMPErr_RejectedFileExtension</a> = 118,
<a name="l01421"></a>01421 
<a name="l01422"></a>01422     <span class="comment">// -----------------------------------------------</span>
<a name="l01423"></a>01423     <span class="comment">// File format and internal structure error codes.</span>
<a name="l01424"></a>01424 
<a name="l01426"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac57f1cf1c24778536fd32972e87334c5">01426</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac57f1cf1c24778536fd32972e87334c5" title="XML format error.">kXMPErr_BadXML</a>           = 201,
<a name="l01428"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5464b823e619618d9aa58433cdb45a8e">01428</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a5464b823e619618d9aa58433cdb45a8e" title="RDF format error.">kXMPErr_BadRDF</a>           = 202,
<a name="l01430"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a211bb632ed1264d9e2236f35c6414821">01430</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a211bb632ed1264d9e2236f35c6414821" title="XMP format error.">kXMPErr_BadXMP</a>           = 203,
<a name="l01432"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a078c69d0d76f25187a11981a2552b179">01432</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a078c69d0d76f25187a11981a2552b179" title="Empty iterator.">kXMPErr_EmptyIterator</a>    = 204,
<a name="l01434"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4cf86fa29624c5e19111e09a97fe05f">01434</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ac4cf86fa29624c5e19111e09a97fe05f" title="Unicode error.">kXMPErr_BadUnicode</a>       = 205,
<a name="l01436"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aecd25299aa177de7bc7f3674fcf2e22d">01436</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409aecd25299aa177de7bc7f3674fcf2e22d" title="TIFF format error.">kXMPErr_BadTIFF</a>          = 206,
<a name="l01438"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad685e1f839e3bc53dfc55611a0803cee">01438</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad685e1f839e3bc53dfc55611a0803cee" title="JPEG format error.">kXMPErr_BadJPEG</a>          = 207,
<a name="l01440"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad98fc9a9c050e9fc19c3af9c8abb2d6d">01440</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad98fc9a9c050e9fc19c3af9c8abb2d6d" title="PSD format error.">kXMPErr_BadPSD</a>           = 208,
<a name="l01442"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a1606a687cb790af16dc561b2a8f2e6a3">01442</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a1606a687cb790af16dc561b2a8f2e6a3" title="PSIR format error.">kXMPErr_BadPSIR</a>          = 209,
<a name="l01444"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a23b2d7cab10b3d80549e6b60855bb15e">01444</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409a23b2d7cab10b3d80549e6b60855bb15e" title="IPTC format error.">kXMPErr_BadIPTC</a>          = 210,
<a name="l01446"></a><a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad596daed4ac92f8bf7871669d03effad">01446</a>     <a class="code" href="XMP__Const_8h.html#adb49720dc49f7d4e4cf9adbf2948e409ad596daed4ac92f8bf7871669d03effad" title="MPEG format error.">kXMPErr_BadMPEG</a>          = 211
<a name="l01447"></a>01447 
<a name="l01448"></a>01448 };
<a name="l01449"></a>01449 
<a name="l01451"></a>01451 
<a name="l01452"></a>01452 <span class="comment">// =================================================================================================</span>
<a name="l01453"></a>01453 <span class="comment">// Client callbacks</span>
<a name="l01454"></a>01454 <span class="comment">// ================</span>
<a name="l01455"></a>01455 
<a name="l01456"></a>01456 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01459"></a>01459 <span class="comment"></span>
<a name="l01464"></a>01464 
<a name="l01465"></a><a class="code" href="XMP__Const_8h.html#a05b81829c04746826f4f85fbac76e3dd">01465</a> <span class="keyword">typedef</span> XMP_Int32 <a class="code" href="XMP__Const_8h.html#a05b81829c04746826f4f85fbac76e3dd">XMP_Status</a>;
<a name="l01466"></a>01466 
<a name="l01467"></a>01467 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01482"></a>01482 <span class="comment"></span>
<a name="l01483"></a><a class="code" href="XMP__Const_8h.html#a8ce3570e6e5ac14cd603e96fa9d2936f">01483</a> <span class="keyword">typedef</span> <a class="code" href="XMP__Const_8h.html#a05b81829c04746826f4f85fbac76e3dd">XMP_Status</a> (* <a class="code" href="XMP__Const_8h.html#a8ce3570e6e5ac14cd603e96fa9d2936f">XMP_TextOutputProc</a>) ( <span class="keywordtype">void</span> *        refCon,
<a name="l01484"></a>01484                                             XMP_StringPtr buffer,
<a name="l01485"></a>01485                                             XMP_StringLen bufferSize );
<a name="l01486"></a>01486 
<a name="l01487"></a>01487 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01496"></a>01496 <span class="comment"></span>
<a name="l01497"></a><a class="code" href="XMP__Const_8h.html#aa2738ce2fca7f1809b12834b1b5e2d0e">01497</a> <span class="keyword">typedef</span> bool (* <a class="code" href="XMP__Const_8h.html#aa2738ce2fca7f1809b12834b1b5e2d0e">XMP_AbortProc</a>) ( <span class="keywordtype">void</span> * arg );
<a name="l01498"></a>01498 
<a name="l01499"></a>01499 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01519"></a>01519 <span class="comment"></span>
<a name="l01520"></a><a class="code" href="XMP__Const_8h.html#af18be2d0c8accad813e0d8962da24b4e">01520</a> <span class="keyword">typedef</span> bool (* <a class="code" href="XMP__Const_8h.html#af18be2d0c8accad813e0d8962da24b4e">XMP_ProgressReportProc</a>) ( <span class="keywordtype">void</span> * context, <span class="keywordtype">float</span> elapsedTime, <span class="keywordtype">float</span> fractionDone, <span class="keywordtype">float</span> secondsToGo );
<a name="l01521"></a>01521 
<a name="l01522"></a>01522 <span class="comment">// -------------------------------------------------------------------------------------------------</span>
<a name="l01524"></a>01524 <span class="comment"></span>
<a name="l01525"></a><a class="code" href="XMP__Const_8h.html#abfd6246a6ce8ef90c7fc600b456f3ea9">01525</a> <span class="keyword">typedef</span> XMP_Bool (* <a class="code" href="XMP__Const_8h.html#abfd6246a6ce8ef90c7fc600b456f3ea9" title="Internal: The signature of a client-side wrapper for the progress report callback...">XMP_ProgressReportWrapper</a>) ( <a class="code" href="XMP__Const_8h.html#af18be2d0c8accad813e0d8962da24b4e">XMP_ProgressReportProc</a> proc, <span class="keywordtype">void</span> * context,
<a name="l01526"></a>01526                                              <span class="keywordtype">float</span> elapsedTime, <span class="keywordtype">float</span> fractionDone, <span class="keywordtype">float</span> secondsToGo );
<a name="l01527"></a>01527 
<a name="l01529"></a>01529 
<a name="l01530"></a>01530 <span class="comment">// =================================================================================================</span>
<a name="l01531"></a>01531 <span class="comment">// Stuff with no better place to be</span>
<a name="l01532"></a>01532 <span class="comment">// ================================</span>
<a name="l01533"></a>01533 
<a name="l01535"></a><a class="code" href="structXMP__VersionInfo.html">01535</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structXMP__VersionInfo.html" title="XMP Toolkit version information.">XMP_VersionInfo</a> {
<a name="l01537"></a><a class="code" href="structXMP__VersionInfo.html#a7edfa1613a58a248fd15267008bd8afb">01537</a>     XMP_Uns8      <a class="code" href="structXMP__VersionInfo.html#a7edfa1613a58a248fd15267008bd8afb" title="The primary release number, the &amp;quot;1&amp;quot; in version &amp;quot;1.2.3&amp;quot;.">major</a>;
<a name="l01539"></a><a class="code" href="structXMP__VersionInfo.html#af5b56598e15febd742b431dadae7c317">01539</a>     XMP_Uns8      <a class="code" href="structXMP__VersionInfo.html#af5b56598e15febd742b431dadae7c317" title="The secondary release number, the &amp;quot;2&amp;quot; in version &amp;quot;1.2.3&amp;quot;.">minor</a>;
<a name="l01541"></a><a class="code" href="structXMP__VersionInfo.html#a4b448a8253e26a37d2df35e04ac25d28">01541</a>     XMP_Uns8      <a class="code" href="structXMP__VersionInfo.html#a4b448a8253e26a37d2df35e04ac25d28" title="The tertiary release number, the &amp;quot;3&amp;quot; in version &amp;quot;1.2.3&amp;quot;.">micro</a>;
<a name="l01543"></a><a class="code" href="structXMP__VersionInfo.html#af1643d86f32f5a5a275dc9c5ba843018">01543</a>     XMP_Bool      <a class="code" href="structXMP__VersionInfo.html#af1643d86f32f5a5a275dc9c5ba843018" title="A 0/1 boolean value, true if this is a debug build.">isDebug</a>;
<a name="l01545"></a><a class="code" href="structXMP__VersionInfo.html#a0e20a6bf10da4c17bdfc8027f1586ffc">01545</a>     XMP_Uns32     <a class="code" href="structXMP__VersionInfo.html#a0e20a6bf10da4c17bdfc8027f1586ffc" title="A rolling build number, monotonically increasing in a release.">build</a>;
<a name="l01547"></a><a class="code" href="structXMP__VersionInfo.html#ad018f35b382046ca77b1252bafa93f74">01547</a>     XMP_Uns32     <a class="code" href="structXMP__VersionInfo.html#ad018f35b382046ca77b1252bafa93f74" title="Individual feature implementation flags.">flags</a>;
<a name="l01549"></a><a class="code" href="structXMP__VersionInfo.html#a19654242b92bffd7517e92882850e834">01549</a>     XMP_StringPtr <a class="code" href="structXMP__VersionInfo.html#a19654242b92bffd7517e92882850e834" title="A comprehensive version information string.">message</a>;
<a name="l01550"></a>01550 } <a class="code" href="structXMP__VersionInfo.html" title="XMP Toolkit version information.">XMP_VersionInfo</a>;
<a name="l01551"></a>01551 
<a name="l01552"></a>01552 <span class="comment">// =================================================================================================</span>
<a name="l01553"></a>01553 
<a name="l01554"></a>01554 <span class="preprocessor">#if __cplusplus</span>
<a name="l01555"></a>01555 <span class="preprocessor"></span>} <span class="comment">// extern &quot;C&quot;</span>
<a name="l01556"></a>01556 <span class="preprocessor">#endif</span>
<a name="l01557"></a>01557 <span class="preprocessor"></span>
<a name="l01558"></a>01558 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l01559"></a>01559 
<a name="l01560"></a>01560 <span class="preprocessor">#endif  // __XMP_Const_h__</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>
XMP-Toolkit-SDK-CC201411-17 documentation generated by&nbsp;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.6.3</small></address>
</body>
</html>