1 #if ! __WXMPMeta_hpp__ 2 #define __WXMPMeta_hpp__ 1 3 4 // ================================================================================================= 5 // Copyright 2002-2008 Adobe Systems Incorporated 6 // All Rights Reserved. 7 // 8 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms 9 // of the Adobe license agreement accompanying it. 10 // ================================================================================================= 11 12 #include "client-glue/WXMP_Common.hpp" 13 14 #if __cplusplus 15 extern "C" { 16 #endif 17 18 // ================================================================================================= 19 #define zXMPMeta_GetVersionInfo_1(info) \ 20 WXMPMeta_GetVersionInfo_1 ( info /* no wResult */ ) 21 22 #define zXMPMeta_Initialize_1() \ 23 WXMPMeta_Initialize_1 ( &wResult ) 24 #define zXMPMeta_Terminate_1() \ 25 WXMPMeta_Terminate_1 ( /* no wResult */ ) 26 27 #define zXMPMeta_CTor_1() \ 28 WXMPMeta_CTor_1 ( &wResult ) 29 30 #define zXMPMeta_GetGlobalOptions_1() \ 31 WXMPMeta_GetGlobalOptions_1 ( &wResult ) 32 33 #define zXMPMeta_SetGlobalOptions_1(options) \ 34 WXMPMeta_SetGlobalOptions_1 ( options, &wResult ) 35 36 #define zXMPMeta_DumpNamespaces_1(outProc,refCon) \ 37 WXMPMeta_DumpNamespaces_1 ( outProc, refCon, &wResult ) 38 39 #define zXMPMeta_DumpAliases_1(outProc,refCon) \ 40 WXMPMeta_DumpAliases_1 ( outProc, refCon, &wResult ) 41 42 #define zXMPMeta_RegisterNamespace_1(namespaceURI,prefix) \ 43 WXMPMeta_RegisterNamespace_1 ( namespaceURI, prefix, &wResult ) 44 45 #define zXMPMeta_GetNamespacePrefix_1(namespaceURI,namespacePrefix,prefixSize) \ 46 WXMPMeta_GetNamespacePrefix_1 ( namespaceURI, namespacePrefix, prefixSize, &wResult ) 47 48 #define zXMPMeta_GetNamespaceURI_1(namespacePrefix,namespaceURI,uriSize) \ 49 WXMPMeta_GetNamespaceURI_1 ( namespacePrefix, namespaceURI, uriSize, &wResult ) 50 51 #define zXMPMeta_DeleteNamespace_1(namespaceURI) \ 52 WXMPMeta_DeleteNamespace_1 ( namespaceURI, &wResult ) 53 54 #define zXMPMeta_RegisterAlias_1(aliasNS,aliasProp,actualNS,actualProp,arrayForm) \ 55 WXMPMeta_RegisterAlias_1 ( aliasNS, aliasProp, actualNS, actualProp, arrayForm, &wResult ) 56 57 #define zXMPMeta_ResolveAlias_1(aliasNS,aliasProp,actualNS,nsSize,actualProp,propSize,arrayForm) \ 58 WXMPMeta_ResolveAlias_1 ( aliasNS, aliasProp, actualNS, nsSize, actualProp, propSize, arrayForm, &wResult ) 59 60 #define zXMPMeta_DeleteAlias_1(aliasNS,aliasProp) \ 61 WXMPMeta_DeleteAlias_1 ( aliasNS, aliasProp, &wResult ) 62 63 #define zXMPMeta_RegisterStandardAliases_1(schemaNS) \ 64 WXMPMeta_RegisterStandardAliases_1 ( schemaNS, &wResult ) 65 66 #define zXMPMeta_GetProperty_1(schemaNS,propName,propValue,valueSize,options) \ 67 WXMPMeta_GetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, valueSize, options, &wResult ) 68 69 #define zXMPMeta_GetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,valueSize,options) \ 70 WXMPMeta_GetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, valueSize, options, &wResult ) 71 72 #define zXMPMeta_GetStructField_1(schemaNS,structName,fieldNS,fieldName,fieldValue,valueSize,options) \ 73 WXMPMeta_GetStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, fieldValue, valueSize, options, &wResult ) 74 75 #define zXMPMeta_GetQualifier_1(schemaNS,propName,qualNS,qualName,qualValue,valueSize,options) \ 76 WXMPMeta_GetQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, qualValue, valueSize, options, &wResult ) 77 78 #define zXMPMeta_SetProperty_1(schemaNS,propName,propValue,options) \ 79 WXMPMeta_SetProperty_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 80 81 #define zXMPMeta_SetArrayItem_1(schemaNS,arrayName,itemIndex,itemValue,options) \ 82 WXMPMeta_SetArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, itemValue, options, &wResult ) 83 84 #define zXMPMeta_AppendArrayItem_1(schemaNS,arrayName,arrayOptions,itemValue,options) \ 85 WXMPMeta_AppendArrayItem_1 ( this->xmpRef, schemaNS, arrayName, arrayOptions, itemValue, options, &wResult ) 86 87 #define zXMPMeta_SetStructField_1(schemaNS,structName,fieldNS,fieldName,fieldValue,options) \ 88 WXMPMeta_SetStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, fieldValue, options, &wResult ) 89 90 #define zXMPMeta_SetQualifier_1(schemaNS,propName,qualNS,qualName,qualValue,options) \ 91 WXMPMeta_SetQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, qualValue, options, &wResult ) 92 93 #define zXMPMeta_DeleteProperty_1(schemaNS,propName) \ 94 WXMPMeta_DeleteProperty_1 ( this->xmpRef, schemaNS, propName, &wResult ) 95 96 #define zXMPMeta_DeleteArrayItem_1(schemaNS,arrayName,itemIndex) \ 97 WXMPMeta_DeleteArrayItem_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult ) 98 99 #define zXMPMeta_DeleteStructField_1(schemaNS,structName,fieldNS,fieldName) \ 100 WXMPMeta_DeleteStructField_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult ) 101 102 #define zXMPMeta_DeleteQualifier_1(schemaNS,propName,qualNS,qualName) \ 103 WXMPMeta_DeleteQualifier_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult ) 104 105 #define zXMPMeta_DoesPropertyExist_1(schemaNS,propName) \ 106 WXMPMeta_DoesPropertyExist_1 ( this->xmpRef, schemaNS, propName, &wResult ) 107 108 #define zXMPMeta_DoesArrayItemExist_1(schemaNS,arrayName,itemIndex) \ 109 WXMPMeta_DoesArrayItemExist_1 ( this->xmpRef, schemaNS, arrayName, itemIndex, &wResult ) 110 111 #define zXMPMeta_DoesStructFieldExist_1(schemaNS,structName,fieldNS,fieldName) \ 112 WXMPMeta_DoesStructFieldExist_1 ( this->xmpRef, schemaNS, structName, fieldNS, fieldName, &wResult ) 113 114 #define zXMPMeta_DoesQualifierExist_1(schemaNS,propName,qualNS,qualName) \ 115 WXMPMeta_DoesQualifierExist_1 ( this->xmpRef, schemaNS, propName, qualNS, qualName, &wResult ) 116 117 #define zXMPMeta_GetLocalizedText_1(schemaNS,altTextName,genericLang,specificLang,actualLang,langSize,itemValue,valueSize,options) \ 118 WXMPMeta_GetLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, actualLang, langSize, itemValue, valueSize, options, &wResult ) 119 120 #define zXMPMeta_SetLocalizedText_1(schemaNS,altTextName,genericLang,specificLang,itemValue,options) \ 121 WXMPMeta_SetLocalizedText_1 ( this->xmpRef, schemaNS, altTextName, genericLang, specificLang, itemValue, options, &wResult ) 122 123 #define zXMPMeta_GetProperty_Bool_1(schemaNS,propName,propValue,options) \ 124 WXMPMeta_GetProperty_Bool_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 125 126 #define zXMPMeta_GetProperty_Int_1(schemaNS,propName,propValue,options) \ 127 WXMPMeta_GetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 128 129 #define zXMPMeta_GetProperty_Int64_1(schemaNS,propName,propValue,options) \ 130 WXMPMeta_GetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 131 132 #define zXMPMeta_GetProperty_Float_1(schemaNS,propName,propValue,options) \ 133 WXMPMeta_GetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 134 135 #define zXMPMeta_GetProperty_Date_1(schemaNS,propName,propValue,options) \ 136 WXMPMeta_GetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 137 138 #define zXMPMeta_SetProperty_Bool_1(schemaNS,propName,propValue,options) \ 139 WXMPMeta_SetProperty_Bool_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 140 141 #define zXMPMeta_SetProperty_Int_1(schemaNS,propName,propValue,options) \ 142 WXMPMeta_SetProperty_Int_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 143 144 #define zXMPMeta_SetProperty_Int64_1(schemaNS,propName,propValue,options) \ 145 WXMPMeta_SetProperty_Int64_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 146 147 #define zXMPMeta_SetProperty_Float_1(schemaNS,propName,propValue,options) \ 148 WXMPMeta_SetProperty_Float_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 149 150 #define zXMPMeta_SetProperty_Date_1(schemaNS,propName,propValue,options) \ 151 WXMPMeta_SetProperty_Date_1 ( this->xmpRef, schemaNS, propName, propValue, options, &wResult ) 152 153 #define zXMPMeta_GetObjectName_1(namePtr,nameLen) \ 154 WXMPMeta_GetObjectName_1 ( this->xmpRef, namePtr, nameLen, &wResult ) 155 156 #define zXMPMeta_SetObjectName_1(name) \ 157 WXMPMeta_SetObjectName_1 ( this->xmpRef, name, &wResult ) 158 159 #define zXMPMeta_GetObjectOptions_1() \ 160 WXMPMeta_GetObjectOptions_1 ( this->xmpRef, &wResult ) 161 162 #define zXMPMeta_SetObjectOptions_1(options) \ 163 WXMPMeta_SetObjectOptions_1 ( this->xmpRef, options, &wResult ) 164 165 #define zXMPMeta_Sort_1() \ 166 WXMPMeta_Sort_1 ( this->xmpRef, &wResult ) 167 168 #define zXMPMeta_Erase_1() \ 169 WXMPMeta_Erase_1 ( this->xmpRef, &wResult ) 170 171 #define zXMPMeta_Clone_1(options) \ 172 WXMPMeta_Clone_1 ( this->xmpRef, options, &wResult ) 173 174 #define zXMPMeta_CountArrayItems_1(schemaNS,arrayName) \ 175 WXMPMeta_CountArrayItems_1 ( this->xmpRef, schemaNS, arrayName, &wResult ) 176 177 #define zXMPMeta_DumpObject_1(outProc,refCon) \ 178 WXMPMeta_DumpObject_1 ( this->xmpRef, outProc, refCon, &wResult ) 179 180 #define zXMPMeta_ParseFromBuffer_1(buffer,bufferSize,options) \ 181 WXMPMeta_ParseFromBuffer_1 ( this->xmpRef, buffer, bufferSize, options, &wResult ) 182 183 #define zXMPMeta_SerializeToBuffer_1(pktString,pktSize,options,padding,newline,indent,baseIndent) \ 184 WXMPMeta_SerializeToBuffer_1 ( this->xmpRef, pktString, pktSize, options, padding, newline, indent, baseIndent, &wResult ) 185 186 // ================================================================================================= 187 188 extern void 189 WXMPMeta_GetVersionInfo_1 ( XMP_VersionInfo * info ); 190 191 extern void 192 WXMPMeta_Initialize_1 ( WXMP_Result * wResult ); 193 extern void 194 WXMPMeta_Terminate_1(); 195 196 extern void 197 WXMPMeta_Unlock_1 ( XMP_OptionBits options ); 198 199 // ------------------------------------------------------------------------------------------------- 200 201 extern void 202 WXMPMeta_CTor_1 ( WXMP_Result * wResult ); 203 204 extern void 205 WXMPMeta_IncrementRefCount_1 ( XMPMetaRef xmpRef ); 206 207 extern void 208 WXMPMeta_DecrementRefCount_1 ( XMPMetaRef xmpRef ); 209 210 // ------------------------------------------------------------------------------------------------- 211 212 extern void 213 WXMPMeta_GetGlobalOptions_1 ( WXMP_Result * wResult ); 214 215 extern void 216 WXMPMeta_SetGlobalOptions_1 ( XMP_OptionBits options, 217 WXMP_Result * wResult ); 218 219 // ------------------------------------------------------------------------------------------------- 220 221 extern void 222 WXMPMeta_DumpNamespaces_1 ( XMP_TextOutputProc outProc, 223 void * refCon, 224 WXMP_Result * wResult ); 225 226 extern void 227 WXMPMeta_DumpAliases_1 ( XMP_TextOutputProc outProc, 228 void * refCon, 229 WXMP_Result * wResult ); 230 231 // ------------------------------------------------------------------------------------------------- 232 233 extern void 234 WXMPMeta_RegisterNamespace_1 ( XMP_StringPtr namespaceURI, 235 XMP_StringPtr prefix, 236 WXMP_Result * wResult ); 237 238 extern void 239 WXMPMeta_GetNamespacePrefix_1 ( XMP_StringPtr namespaceURI, 240 XMP_StringPtr * namespacePrefix, 241 XMP_StringLen * prefixSize, 242 WXMP_Result * wResult ); 243 244 extern void 245 WXMPMeta_GetNamespaceURI_1 ( XMP_StringPtr namespacePrefix, 246 XMP_StringPtr * namespaceURI, 247 XMP_StringLen * uriSize, 248 WXMP_Result * wResult ); 249 250 extern void 251 WXMPMeta_DeleteNamespace_1 ( XMP_StringPtr namespaceURI, 252 WXMP_Result * wResult ); 253 254 // ------------------------------------------------------------------------------------------------- 255 256 extern void 257 WXMPMeta_RegisterAlias_1 ( XMP_StringPtr aliasNS, 258 XMP_StringPtr aliasProp, 259 XMP_StringPtr actualNS, 260 XMP_StringPtr actualProp, 261 XMP_OptionBits arrayForm, 262 WXMP_Result * wResult ); 263 264 extern void 265 WXMPMeta_ResolveAlias_1 ( XMP_StringPtr aliasNS, 266 XMP_StringPtr aliasProp, 267 XMP_StringPtr * actualNS, 268 XMP_StringLen * nsSize, 269 XMP_StringPtr * actualProp, 270 XMP_StringLen * propSize, 271 XMP_OptionBits * arrayForm, 272 WXMP_Result * wResult ); 273 274 extern void 275 WXMPMeta_DeleteAlias_1 ( XMP_StringPtr aliasNS, 276 XMP_StringPtr aliasProp, 277 WXMP_Result * wResult ); 278 279 extern void 280 WXMPMeta_RegisterStandardAliases_1 ( XMP_StringPtr schemaNS, 281 WXMP_Result * wResult ); 282 283 // ------------------------------------------------------------------------------------------------- 284 285 extern void 286 WXMPMeta_UnlockObject_1 ( XMPMetaRef xmpRef, 287 XMP_OptionBits options ); 288 289 // ------------------------------------------------------------------------------------------------- 290 291 extern void 292 WXMPMeta_GetProperty_1 ( XMPMetaRef xmpRef, 293 XMP_StringPtr schemaNS, 294 XMP_StringPtr propName, 295 XMP_StringPtr * propValue, 296 XMP_StringLen * valueSize, 297 XMP_OptionBits * options, 298 WXMP_Result * wResult ) /* const */ ; 299 300 extern void 301 WXMPMeta_GetArrayItem_1 ( XMPMetaRef xmpRef, 302 XMP_StringPtr schemaNS, 303 XMP_StringPtr arrayName, 304 XMP_Index itemIndex, 305 XMP_StringPtr * itemValue, 306 XMP_StringLen * valueSize, 307 XMP_OptionBits * options, 308 WXMP_Result * wResult ) /* const */ ; 309 310 extern void 311 WXMPMeta_GetStructField_1 ( XMPMetaRef xmpRef, 312 XMP_StringPtr schemaNS, 313 XMP_StringPtr structName, 314 XMP_StringPtr fieldNS, 315 XMP_StringPtr fieldName, 316 XMP_StringPtr * fieldValue, 317 XMP_StringLen * valueSize, 318 XMP_OptionBits * options, 319 WXMP_Result * wResult ) /* const */ ; 320 321 extern void 322 WXMPMeta_GetQualifier_1 ( XMPMetaRef xmpRef, 323 XMP_StringPtr schemaNS, 324 XMP_StringPtr propName, 325 XMP_StringPtr qualNS, 326 XMP_StringPtr qualName, 327 XMP_StringPtr * qualValue, 328 XMP_StringLen * valueSize, 329 XMP_OptionBits * options, 330 WXMP_Result * wResult ) /* const */ ; 331 332 // ------------------------------------------------------------------------------------------------- 333 334 extern void 335 WXMPMeta_SetProperty_1 ( XMPMetaRef xmpRef, 336 XMP_StringPtr schemaNS, 337 XMP_StringPtr propName, 338 XMP_StringPtr propValue, 339 XMP_OptionBits options, 340 WXMP_Result * wResult ); 341 342 extern void 343 WXMPMeta_SetArrayItem_1 ( XMPMetaRef xmpRef, 344 XMP_StringPtr schemaNS, 345 XMP_StringPtr arrayName, 346 XMP_Index itemIndex, 347 XMP_StringPtr itemValue, 348 XMP_OptionBits options, 349 WXMP_Result * wResult ); 350 351 extern void 352 WXMPMeta_AppendArrayItem_1 ( XMPMetaRef xmpRef, 353 XMP_StringPtr schemaNS, 354 XMP_StringPtr arrayName, 355 XMP_OptionBits arrayOptions, 356 XMP_StringPtr itemValue, 357 XMP_OptionBits options, 358 WXMP_Result * wResult ); 359 360 extern void 361 WXMPMeta_SetStructField_1 ( XMPMetaRef xmpRef, 362 XMP_StringPtr schemaNS, 363 XMP_StringPtr structName, 364 XMP_StringPtr fieldNS, 365 XMP_StringPtr fieldName, 366 XMP_StringPtr fieldValue, 367 XMP_OptionBits options, 368 WXMP_Result * wResult ); 369 370 extern void 371 WXMPMeta_SetQualifier_1 ( XMPMetaRef xmpRef, 372 XMP_StringPtr schemaNS, 373 XMP_StringPtr propName, 374 XMP_StringPtr qualNS, 375 XMP_StringPtr qualName, 376 XMP_StringPtr qualValue, 377 XMP_OptionBits options, 378 WXMP_Result * wResult ); 379 380 // ------------------------------------------------------------------------------------------------- 381 382 extern void 383 WXMPMeta_DeleteProperty_1 ( XMPMetaRef xmpRef, 384 XMP_StringPtr schemaNS, 385 XMP_StringPtr propName, 386 WXMP_Result * wResult ); 387 388 extern void 389 WXMPMeta_DeleteArrayItem_1 ( XMPMetaRef xmpRef, 390 XMP_StringPtr schemaNS, 391 XMP_StringPtr arrayName, 392 XMP_Index itemIndex, 393 WXMP_Result * wResult ); 394 395 extern void 396 WXMPMeta_DeleteStructField_1 ( XMPMetaRef xmpRef, 397 XMP_StringPtr schemaNS, 398 XMP_StringPtr structName, 399 XMP_StringPtr fieldNS, 400 XMP_StringPtr fieldName, 401 WXMP_Result * wResult ); 402 403 extern void 404 WXMPMeta_DeleteQualifier_1 ( XMPMetaRef xmpRef, 405 XMP_StringPtr schemaNS, 406 XMP_StringPtr propName, 407 XMP_StringPtr qualNS, 408 XMP_StringPtr qualName, 409 WXMP_Result * wResult ); 410 411 // ------------------------------------------------------------------------------------------------- 412 413 extern void 414 WXMPMeta_DoesPropertyExist_1 ( XMPMetaRef xmpRef, 415 XMP_StringPtr schemaNS, 416 XMP_StringPtr propName, 417 WXMP_Result * wResult ) /* const */ ; 418 419 extern void 420 WXMPMeta_DoesArrayItemExist_1 ( XMPMetaRef xmpRef, 421 XMP_StringPtr schemaNS, 422 XMP_StringPtr arrayName, 423 XMP_Index itemIndex, 424 WXMP_Result * wResult ) /* const */ ; 425 426 extern void 427 WXMPMeta_DoesStructFieldExist_1 ( XMPMetaRef xmpRef, 428 XMP_StringPtr schemaNS, 429 XMP_StringPtr structName, 430 XMP_StringPtr fieldNS, 431 XMP_StringPtr fieldName, 432 WXMP_Result * wResult ) /* const */ ; 433 434 extern void 435 WXMPMeta_DoesQualifierExist_1 ( XMPMetaRef xmpRef, 436 XMP_StringPtr schemaNS, 437 XMP_StringPtr propName, 438 XMP_StringPtr qualNS, 439 XMP_StringPtr qualName, 440 WXMP_Result * wResult ) /* const */ ; 441 442 // ------------------------------------------------------------------------------------------------- 443 444 extern void 445 WXMPMeta_GetLocalizedText_1 ( XMPMetaRef xmpRef, 446 XMP_StringPtr schemaNS, 447 XMP_StringPtr altTextName, 448 XMP_StringPtr genericLang, 449 XMP_StringPtr specificLang, 450 XMP_StringPtr * actualLang, 451 XMP_StringLen * langSize, 452 XMP_StringPtr * itemValue, 453 XMP_StringLen * valueSize, 454 XMP_OptionBits * options, 455 WXMP_Result * wResult ) /* const */ ; 456 457 extern void 458 WXMPMeta_SetLocalizedText_1 ( XMPMetaRef xmpRef, 459 XMP_StringPtr schemaNS, 460 XMP_StringPtr altTextName, 461 XMP_StringPtr genericLang, 462 XMP_StringPtr specificLang, 463 XMP_StringPtr itemValue, 464 XMP_OptionBits options, 465 WXMP_Result * wResult ); 466 467 // ------------------------------------------------------------------------------------------------- 468 469 extern void 470 WXMPMeta_GetProperty_Bool_1 ( XMPMetaRef xmpRef, 471 XMP_StringPtr schemaNS, 472 XMP_StringPtr propName, 473 XMP_Bool * propValue, 474 XMP_OptionBits * options, 475 WXMP_Result * wResult ) /* const */ ; 476 477 extern void 478 WXMPMeta_GetProperty_Int_1 ( XMPMetaRef xmpRef, 479 XMP_StringPtr schemaNS, 480 XMP_StringPtr propName, 481 XMP_Int32 * propValue, 482 XMP_OptionBits * options, 483 WXMP_Result * wResult ) /* const */ ; 484 485 extern void 486 WXMPMeta_GetProperty_Int64_1 ( XMPMetaRef xmpRef, 487 XMP_StringPtr schemaNS, 488 XMP_StringPtr propName, 489 XMP_Int64 * propValue, 490 XMP_OptionBits * options, 491 WXMP_Result * wResult ) /* const */ ; 492 493 extern void 494 WXMPMeta_GetProperty_Float_1 ( XMPMetaRef xmpRef, 495 XMP_StringPtr schemaNS, 496 XMP_StringPtr propName, 497 double * propValue, 498 XMP_OptionBits * options, 499 WXMP_Result * wResult ) /* const */ ; 500 501 extern void 502 WXMPMeta_GetProperty_Date_1 ( XMPMetaRef xmpRef, 503 XMP_StringPtr schemaNS, 504 XMP_StringPtr propName, 505 XMP_DateTime * propValue, 506 XMP_OptionBits * options, 507 WXMP_Result * wResult ) /* const */ ; 508 509 extern void 510 WXMPMeta_SetProperty_Bool_1 ( XMPMetaRef xmpRef, 511 XMP_StringPtr schemaNS, 512 XMP_StringPtr propName, 513 XMP_Bool propValue, 514 XMP_OptionBits options, 515 WXMP_Result * wResult ); 516 517 extern void 518 WXMPMeta_SetProperty_Int_1 ( XMPMetaRef xmpRef, 519 XMP_StringPtr schemaNS, 520 XMP_StringPtr propName, 521 XMP_Int32 propValue, 522 XMP_OptionBits options, 523 WXMP_Result * wResult ); 524 525 extern void 526 WXMPMeta_SetProperty_Int64_1 ( XMPMetaRef xmpRef, 527 XMP_StringPtr schemaNS, 528 XMP_StringPtr propName, 529 XMP_Int64 propValue, 530 XMP_OptionBits options, 531 WXMP_Result * wResult ); 532 533 extern void 534 WXMPMeta_SetProperty_Float_1 ( XMPMetaRef xmpRef, 535 XMP_StringPtr schemaNS, 536 XMP_StringPtr propName, 537 double propValue, 538 XMP_OptionBits options, 539 WXMP_Result * wResult ); 540 541 extern void 542 WXMPMeta_SetProperty_Date_1 ( XMPMetaRef xmpRef, 543 XMP_StringPtr schemaNS, 544 XMP_StringPtr propName, 545 const XMP_DateTime & propValue, 546 XMP_OptionBits options, 547 WXMP_Result * wResult ); 548 549 // ------------------------------------------------------------------------------------------------- 550 551 extern void 552 WXMPMeta_GetObjectName_1 ( XMPMetaRef xmpRef, 553 XMP_StringPtr * namePtr, 554 XMP_StringLen * nameLen, 555 WXMP_Result * wResult ) /* const */ ; 556 557 extern void 558 WXMPMeta_SetObjectName_1 ( XMPMetaRef xmpRef, 559 XMP_StringPtr name, 560 WXMP_Result * wResult ); 561 562 extern void 563 WXMPMeta_GetObjectOptions_1 ( XMPMetaRef xmpRef, 564 WXMP_Result * wResult ) /* const */ ; 565 566 extern void 567 WXMPMeta_SetObjectOptions_1 ( XMPMetaRef xmpRef, 568 XMP_OptionBits options, 569 WXMP_Result * wResult ); 570 571 extern void 572 WXMPMeta_Sort_1 ( XMPMetaRef xmpRef, 573 WXMP_Result * wResult ); 574 575 extern void 576 WXMPMeta_Erase_1 ( XMPMetaRef xmpRef, 577 WXMP_Result * wResult ); 578 579 extern void 580 WXMPMeta_Clone_1 ( XMPMetaRef xmpRef, 581 XMP_OptionBits options, 582 WXMP_Result * wResult ) /* const */ ; 583 584 extern void 585 WXMPMeta_CountArrayItems_1 ( XMPMetaRef xmpRef, 586 XMP_StringPtr schemaNS, 587 XMP_StringPtr arrayName, 588 WXMP_Result * wResult ) /* const */ ; 589 590 extern void 591 WXMPMeta_DumpObject_1 ( XMPMetaRef xmpRef, 592 XMP_TextOutputProc outProc, 593 void * refCon, 594 WXMP_Result * wResult ) /* const */ ; 595 596 // ------------------------------------------------------------------------------------------------- 597 598 extern void 599 WXMPMeta_ParseFromBuffer_1 ( XMPMetaRef xmpRef, 600 XMP_StringPtr buffer, 601 XMP_StringLen bufferSize, 602 XMP_OptionBits options, 603 WXMP_Result * wResult ); 604 605 extern void 606 WXMPMeta_SerializeToBuffer_1 ( XMPMetaRef xmpRef, 607 XMP_StringPtr * pktString, 608 XMP_StringLen * pktSize, 609 XMP_OptionBits options, 610 XMP_StringLen padding, 611 XMP_StringPtr newline, 612 XMP_StringPtr indent, 613 XMP_Index baseIndent, 614 WXMP_Result * wResult ) /* const */ ; 615 616 // ================================================================================================= 617 618 #if __cplusplus 619 } /* extern "C" */ 620 #endif 621 622 #endif // __WXMPMeta_hpp__ 623