summaryrefslogtreecommitdiff
path: root/docs/API/TXMPFiles_8hpp_source.html
blob: b3319d258b908dda58f0b1e9be9bb521a904a99f (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
<!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-5.1.2: TXMPFiles.hpp 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>TXMPFiles.hpp</h1><a href="TXMPFiles_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __TXMPFiles_hpp__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __TXMPFiles_hpp__   1</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#if ( ! __XMP_hpp__ )</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">    #error &quot;Do not directly include, use XMP.hpp&quot;</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a>00008 <span class="comment">// =================================================================================================</span>
<a name="l00009"></a>00009 <span class="comment">// ADOBE SYSTEMS INCORPORATED</span>
<a name="l00010"></a>00010 <span class="comment">// Copyright 2002 Adobe Systems Incorporated</span>
<a name="l00011"></a>00011 <span class="comment">// All Rights Reserved</span>
<a name="l00012"></a>00012 <span class="comment">//</span>
<a name="l00013"></a>00013 <span class="comment">// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms</span>
<a name="l00014"></a>00014 <span class="comment">// of the Adobe license agreement accompanying it.</span>
<a name="l00015"></a>00015 <span class="comment">// =================================================================================================</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="comment">// =================================================================================================</span>
<a name="l00033"></a>00033 <span class="comment"></span><span class="comment">// =================================================================================================</span>
<a name="l00034"></a>00034 
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="comment">// =================================================================================================</span>
<a name="l00058"></a>00058 <span class="comment"></span><span class="comment">// =================================================================================================</span>
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 <span class="keyword">template</span> &lt;<span class="keyword">class</span> tStringObj&gt;
<a name="l00062"></a><a class="code" href="classTXMPFiles.html">00062</a> <span class="keyword">class </span><a class="code" href="classTXMPFiles.html" title="API for access to the main (document-level) metadata in a file.">TXMPFiles</a> {
<a name="l00063"></a>00063 
<a name="l00064"></a>00064 <span class="keyword">public</span>:
<a name="l00065"></a>00065 
<a name="l00066"></a>00066     <span class="comment">// =============================================================================================</span>
<a name="l00071"></a>00071 <span class="comment"></span>
<a name="l00072"></a>00072     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00079"></a>00079 <span class="comment"></span>
<a name="l00080"></a>00080     <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#a6e521c034728b59ab55213a9d8203d1e" title="GetVersionInfo() retrieves version information for the XMPFiles component.">GetVersionInfo</a> ( <a class="code" href="structXMP__VersionInfo.html" title="XMP Toolkit version information.">XMP_VersionInfo</a> * versionInfo );
<a name="l00081"></a>00081 
<a name="l00082"></a>00082     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00091"></a>00091 <span class="comment"></span>
<a name="l00092"></a>00092     <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a0874bbbf41c9490abfb613bfe297327d" title="Initializes the XMPFiles library; must be called before creating an SXMPFiles object...">Initialize</a>();
<a name="l00093"></a>00093 
<a name="l00094"></a>00094     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00108"></a>00108 <span class="comment"></span>
<a name="l00109"></a>00109     <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a0874bbbf41c9490abfb613bfe297327d" title="Initializes the XMPFiles library; must be called before creating an SXMPFiles object...">Initialize</a> ( <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> options );
<a name="l00110"></a>00110 
<a name="l00111"></a>00111     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00118"></a>00118 <span class="comment"></span>
<a name="l00119"></a>00119     <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#a1e8de80c252b60b332dc4bc524139fd8" title="Terminates use of the XMPFiles library.">Terminate</a>();
<a name="l00120"></a>00120 
<a name="l00122"></a>00122 
<a name="l00123"></a>00123     <span class="comment">// =============================================================================================</span>
<a name="l00129"></a>00129 <span class="comment"></span>
<a name="l00130"></a>00130     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00132"></a>00132 <span class="comment"></span>
<a name="l00133"></a>00133     <a class="code" href="classTXMPFiles.html#a14f01e38454178578fd25fff6024fd54" title="Default constructor initializes an object that is associated with no file.">TXMPFiles</a>();
<a name="l00134"></a>00134 
<a name="l00135"></a>00135     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00141"></a>00141 <span class="comment"></span>
<a name="l00142"></a>00142     <span class="keyword">virtual</span> <a class="code" href="classTXMPFiles.html#a5eaa92724cc82d933a32eff9c4636739" title="Destructor; typical virtual destructor.">~TXMPFiles</a>() <span class="keywordflow">throw</span>();
<a name="l00143"></a>00143 
<a name="l00144"></a>00144     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00165"></a>00165 <span class="comment"></span>
<a name="l00166"></a>00166     <a class="code" href="classTXMPFiles.html#a14f01e38454178578fd25fff6024fd54" title="Default constructor initializes an object that is associated with no file.">TXMPFiles</a> ( <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>  filePath,
<a name="l00167"></a>00167                 <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a> format = <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719" title="Unknown file format constant: &amp;#39; &amp;#39;.">kXMP_UnknownFile</a>,
<a name="l00168"></a>00168                 <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> openFlags = 0 );
<a name="l00169"></a>00169 
<a name="l00170"></a>00170     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00176"></a>00176 <span class="comment"></span>
<a name="l00177"></a>00177     <a class="code" href="classTXMPFiles.html#a14f01e38454178578fd25fff6024fd54" title="Default constructor initializes an object that is associated with no file.">TXMPFiles</a> ( <span class="keyword">const</span> tStringObj &amp; filePath,
<a name="l00178"></a>00178                 <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a>     format = <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719" title="Unknown file format constant: &amp;#39; &amp;#39;.">kXMP_UnknownFile</a>,
<a name="l00179"></a>00179                 <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>     openFlags = 0 );
<a name="l00180"></a>00180 
<a name="l00181"></a>00181     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00189"></a>00189 <span class="comment"></span>
<a name="l00190"></a>00190     <a class="code" href="classTXMPFiles.html#a14f01e38454178578fd25fff6024fd54" title="Default constructor initializes an object that is associated with no file.">TXMPFiles</a> ( <span class="keyword">const</span> <a class="code" href="classTXMPFiles.html" title="API for access to the main (document-level) metadata in a file.">TXMPFiles&lt;tStringObj&gt;</a> &amp; original );
<a name="l00191"></a>00191 
<a name="l00192"></a>00192     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00198"></a>00198 <span class="comment"></span>
<a name="l00199"></a>00199     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#a3f1483fcc92860460d3772216dfaef81" title="Assignment operator.">operator= </a>( <span class="keyword">const</span> <a class="code" href="classTXMPFiles.html" title="API for access to the main (document-level) metadata in a file.">TXMPFiles&lt;tStringObj&gt;</a> &amp; rhs );
<a name="l00200"></a>00200 
<a name="l00201"></a>00201     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00212"></a>00212 <span class="comment"></span>
<a name="l00213"></a>00213     <a class="code" href="classTXMPFiles.html#a14f01e38454178578fd25fff6024fd54" title="Default constructor initializes an object that is associated with no file.">TXMPFiles</a> ( <a class="code" href="XMP__Const_8h.html#aa4bca98ad67d7a62c60cb13dbbab0f25">XMPFilesRef</a> xmpFilesObj );
<a name="l00214"></a>00214 
<a name="l00215"></a>00215     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00226"></a>00226 <span class="comment"></span>
<a name="l00227"></a>00227     <a class="code" href="XMP__Const_8h.html#aa4bca98ad67d7a62c60cb13dbbab0f25">XMPFilesRef</a> <a class="code" href="classTXMPFiles.html#a311fc36fdf7270fe05b1c531cdbbd009" title="GetInternalRef() retrieves an internal reference that can be safely passed across...">GetInternalRef</a>();
<a name="l00228"></a>00228 
<a name="l00230"></a>00230 
<a name="l00231"></a>00231     <span class="comment">// =============================================================================================</span>
<a name="l00237"></a>00237 <span class="comment"></span>
<a name="l00238"></a>00238     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00268"></a>00268 <span class="comment"></span>
<a name="l00269"></a>00269 
<a name="l00270"></a>00270     <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#acb9e16a1477ec67fa6da6d736a9bc131" title="GetFormatInfo() reports what features are supported for a specific file format.">GetFormatInfo</a> ( <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a>   format,
<a name="l00271"></a>00271                                 <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> * handlerFlags = 0 );
<a name="l00272"></a>00272 
<a name="l00274"></a>00274 
<a name="l00275"></a>00275     <span class="comment">// =============================================================================================</span>
<a name="l00280"></a>00280 <span class="comment"></span>
<a name="l00281"></a>00281     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00292"></a>00292 <span class="comment"></span>
<a name="l00293"></a>00293     <span class="keyword">static</span> <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 class="code" href="classTXMPFiles.html#a07b7c4b44fb0e0a7d115ddd5ba22f926" title="CheckFileFormat() tries to determine the format of a file.">CheckFileFormat</a> ( <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> filePath );
<a name="l00294"></a>00294 
<a name="l00295"></a>00295     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00309"></a>00309 <span class="comment"></span>
<a name="l00310"></a>00310     <span class="keyword">static</span> <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 class="code" href="classTXMPFiles.html#a7f505664c41d7304fb757d6009b0751c" title="CheckPackageFormat() tries to determine the format of a &amp;quot;package&amp;quot; folder...">CheckPackageFormat</a> ( <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> folderPath );
<a name="l00311"></a>00311 
<a name="l00312"></a>00312     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00365"></a>00365 <span class="comment"></span>
<a name="l00366"></a>00366 
<a name="l00367"></a>00367     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#afcd21cfe5d6f13c648c5541e161919cb" title="OpenFile() opens a file for metadata access.">OpenFile</a> ( <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>  filePath,
<a name="l00368"></a>00368                     <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a> format = <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719" title="Unknown file format constant: &amp;#39; &amp;#39;.">kXMP_UnknownFile</a>,
<a name="l00369"></a>00369                     <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> openFlags = 0 );
<a name="l00370"></a>00370 
<a name="l00371"></a>00371     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00376"></a>00376 <span class="comment"></span>
<a name="l00377"></a>00377     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#afcd21cfe5d6f13c648c5541e161919cb" title="OpenFile() opens a file for metadata access.">OpenFile</a> ( <span class="keyword">const</span> tStringObj &amp; filePath,
<a name="l00378"></a>00378                     <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a>     format = <a class="code" href="XMP__Const_8h.html#abc5c98fcc1211af2b80116dd6e0a035da2845f95eaaaf492f5011bff05a398719" title="Unknown file format constant: &amp;#39; &amp;#39;.">kXMP_UnknownFile</a>,
<a name="l00379"></a>00379                     <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>     openFlags = 0 );
<a name="l00380"></a>00380 
<a name="l00381"></a>00381     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00402"></a>00402 <span class="comment"></span>
<a name="l00403"></a>00403     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#aeca89170c7aa3e2d56e30bff04dd7927" title="CloseFile() explicitly closes an opened file.">CloseFile</a> ( <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> closeFlags = 0 );
<a name="l00404"></a>00404 
<a name="l00405"></a>00405     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00422"></a>00422 <span class="comment"></span>
<a name="l00423"></a>00423     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#af9931d081cb19f98c81e41786030765b" title="GetFileInfo() retrieves basic information about an opened file.">GetFileInfo</a> ( tStringObj *     filePath = 0,
<a name="l00424"></a>00424                        <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> * openFlags = 0,
<a name="l00425"></a>00425                        <a class="code" href="XMP__Const_8h.html#a300d9a9189cb4ddb6970d05389f5c28e" title="Type for file format identification constants. See kXMP_PDFFile and following.">XMP_FileFormat</a> * format = 0,
<a name="l00426"></a>00426                        <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> * handlerFlags = 0 );
<a name="l00427"></a>00427 
<a name="l00428"></a>00428     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00438"></a>00438 <span class="comment"></span>
<a name="l00439"></a>00439     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#a7b86c130fdbd54b5ac158ec3fee93777" title="SetAbortProc() registers a callback function used to check for a user-signaled abort...">SetAbortProc</a> ( <a class="code" href="XMP__Const_8h.html#aa2738ce2fca7f1809b12834b1b5e2d0e">XMP_AbortProc</a> abortProc,
<a name="l00440"></a>00440                         <span class="keywordtype">void</span> *        abortArg );
<a name="l00441"></a>00441 
<a name="l00443"></a>00443 
<a name="l00444"></a>00444     <span class="comment">// =============================================================================================</span>
<a name="l00451"></a>00451 <span class="comment"></span>
<a name="l00452"></a>00452     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00479"></a>00479 <span class="comment"></span>
<a name="l00480"></a>00480     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a42ca0bbc5ac66a8de1710e03a7ff17b3" title="GetXMP() retrieves the XMP metadata from an open file.">GetXMP</a> ( SXMPMeta *       xmpObj = 0,
<a name="l00481"></a>00481                   tStringObj *     xmpPacket = 0,
<a name="l00482"></a>00482                   <a class="code" href="structXMP__PacketInfo.html" title="XMP packet description.">XMP_PacketInfo</a> * packetInfo = 0 );
<a name="l00483"></a>00483 
<a name="l00484"></a>00484     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00492"></a>00492 <span class="comment"></span>
<a name="l00493"></a>00493     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#ad3f7babdc07c7de0d0cd9a3362b4710a" title="PutXMP() updates the XMP metadata in this object without writing out the file.">PutXMP</a> ( <span class="keyword">const</span> SXMPMeta &amp; xmpObj );
<a name="l00494"></a>00494 
<a name="l00495"></a>00495     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00503"></a>00503 <span class="comment"></span>
<a name="l00504"></a>00504     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#ad3f7babdc07c7de0d0cd9a3362b4710a" title="PutXMP() updates the XMP metadata in this object without writing out the file.">PutXMP</a> ( <span class="keyword">const</span> tStringObj &amp; xmpPacket );
<a name="l00505"></a>00505 
<a name="l00506"></a>00506     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00517"></a>00517 <span class="comment"></span>
<a name="l00518"></a>00518     <span class="keywordtype">void</span> <a class="code" href="classTXMPFiles.html#ad3f7babdc07c7de0d0cd9a3362b4710a" title="PutXMP() updates the XMP metadata in this object without writing out the file.">PutXMP</a> ( <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> xmpPacket,
<a name="l00519"></a>00519                   <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> xmpLength = <a class="code" href="XMP__Const_8h.html#a8283c9596c03b6d626d5a2b7a90e23ab" title="Options macro sets string style.">kXMP_UseNullTermination</a> );
<a name="l00520"></a>00520 
<a name="l00521"></a>00521     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00555"></a>00555 <span class="comment"></span>
<a name="l00556"></a>00556     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a29a11a1539d6300da3fb4c7e9ea02bb6" title="CanPutXMP() reports whether this file can be updated with a specific XMP packet.">CanPutXMP</a> ( <span class="keyword">const</span> SXMPMeta &amp; xmpObj );
<a name="l00557"></a>00557 
<a name="l00558"></a>00558     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00566"></a>00566 <span class="comment"></span>
<a name="l00567"></a>00567     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a29a11a1539d6300da3fb4c7e9ea02bb6" title="CanPutXMP() reports whether this file can be updated with a specific XMP packet.">CanPutXMP</a> ( <span class="keyword">const</span> tStringObj &amp; xmpPacket );
<a name="l00568"></a>00568 
<a name="l00569"></a>00569     <span class="comment">// ---------------------------------------------------------------------------------------------</span>
<a name="l00580"></a>00580 <span class="comment"></span>
<a name="l00581"></a>00581     <span class="keywordtype">bool</span> <a class="code" href="classTXMPFiles.html#a29a11a1539d6300da3fb4c7e9ea02bb6" title="CanPutXMP() reports whether this file can be updated with a specific XMP packet.">CanPutXMP</a> ( <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> xmpPacket,
<a name="l00582"></a>00582                      <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> xmpLength = <a class="code" href="XMP__Const_8h.html#a8283c9596c03b6d626d5a2b7a90e23ab" title="Options macro sets string style.">kXMP_UseNullTermination</a> );
<a name="l00583"></a>00583 
<a name="l00585"></a>00585 
<a name="l00586"></a>00586     <span class="comment">// =============================================================================================</span>
<a name="l00587"></a>00587 
<a name="l00588"></a>00588 <span class="keyword">private</span>:
<a name="l00589"></a>00589 
<a name="l00590"></a>00590     <a class="code" href="XMP__Const_8h.html#aa4bca98ad67d7a62c60cb13dbbab0f25">XMPFilesRef</a> xmpFilesRef;
<a name="l00591"></a>00591 
<a name="l00592"></a>00592     <span class="keyword">static</span> <span class="keywordtype">void</span> SetClientString ( <span class="keywordtype">void</span> * clientPtr, <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> valuePtr, <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> valueLen );
<a name="l00593"></a>00593 
<a name="l00594"></a>00594 };  <span class="comment">// class TXMPFiles</span>
<a name="l00595"></a>00595 
<a name="l00596"></a>00596 <span class="comment">// =================================================================================================</span>
<a name="l00597"></a>00597 
<a name="l00598"></a>00598 <span class="preprocessor">#endif // __TXMPFiles_hpp__</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>
XMP-Toolkit-SDK-5.1.2 documentation generated by&nbsp;<a href="http://www.doxygen.org/index.html">doxygen</a> 1.6.3</small></address>
</body>
</html>