 |
XMP Toolkit SDK
6.0.0
|
Go to the documentation of this file. 1 #if ! __WXMPUtils_hpp__
2 #define __WXMPUtils_hpp__ 1
21 #define zXMPUtils_ComposeArrayItemPath_1(schemaNS,arrayName,itemIndex,itemPath,SetClientString) \
22 WXMPUtils_ComposeArrayItemPath_1 ( schemaNS, arrayName, itemIndex, itemPath, SetClientString, &wResult );
24 #define zXMPUtils_ComposeStructFieldPath_1(schemaNS,structName,fieldNS,fieldName,fieldPath,SetClientString) \
25 WXMPUtils_ComposeStructFieldPath_1 ( schemaNS, structName, fieldNS, fieldName, fieldPath, SetClientString, &wResult );
27 #define zXMPUtils_ComposeQualifierPath_1(schemaNS,propName,qualNS,qualName,qualPath,SetClientString) \
28 WXMPUtils_ComposeQualifierPath_1 ( schemaNS, propName, qualNS, qualName, qualPath, SetClientString, &wResult );
30 #define zXMPUtils_ComposeLangSelector_1(schemaNS,arrayName,langName,selPath,SetClientString) \
31 WXMPUtils_ComposeLangSelector_1 ( schemaNS, arrayName, langName, selPath, SetClientString, &wResult );
33 #define zXMPUtils_ComposeFieldSelector_1(schemaNS,arrayName,fieldNS,fieldName,fieldValue,selPath,SetClientString) \
34 WXMPUtils_ComposeFieldSelector_1 ( schemaNS, arrayName, fieldNS, fieldName, fieldValue, selPath, SetClientString, &wResult );
36 #define zXMPUtils_ConvertFromBool_1(binValue,strValue,SetClientString) \
37 WXMPUtils_ConvertFromBool_1 ( binValue, strValue, SetClientString, &wResult );
39 #define zXMPUtils_ConvertFromInt_1(binValue,format,strValue,SetClientString) \
40 WXMPUtils_ConvertFromInt_1 ( binValue, format, strValue, SetClientString, &wResult );
42 #define zXMPUtils_ConvertFromInt64_1(binValue,format,strValue,SetClientString) \
43 WXMPUtils_ConvertFromInt64_1 ( binValue, format, strValue, SetClientString, &wResult );
45 #define zXMPUtils_ConvertFromFloat_1(binValue,format,strValue,SetClientString) \
46 WXMPUtils_ConvertFromFloat_1 ( binValue, format, strValue, SetClientString, &wResult );
48 #define zXMPUtils_ConvertFromDate_1(binValue,strValue,SetClientString) \
49 WXMPUtils_ConvertFromDate_1 ( binValue, strValue, SetClientString, &wResult );
51 #define zXMPUtils_ConvertToBool_1(strValue) \
52 WXMPUtils_ConvertToBool_1 ( strValue, &wResult );
54 #define zXMPUtils_ConvertToInt_1(strValue) \
55 WXMPUtils_ConvertToInt_1 ( strValue, &wResult );
57 #define zXMPUtils_ConvertToInt64_1(strValue) \
58 WXMPUtils_ConvertToInt64_1 ( strValue, &wResult );
60 #define zXMPUtils_ConvertToFloat_1(strValue) \
61 WXMPUtils_ConvertToFloat_1 ( strValue, &wResult );
63 #define zXMPUtils_ConvertToDate_1(strValue,binValue) \
64 WXMPUtils_ConvertToDate_1 ( strValue, binValue, &wResult );
66 #define zXMPUtils_CurrentDateTime_1(time) \
67 WXMPUtils_CurrentDateTime_1 ( time, &wResult );
69 #define zXMPUtils_SetTimeZone_1(time) \
70 WXMPUtils_SetTimeZone_1 ( time, &wResult );
72 #define zXMPUtils_ConvertToUTCTime_1(time) \
73 WXMPUtils_ConvertToUTCTime_1 ( time, &wResult );
75 #define zXMPUtils_ConvertToLocalTime_1(time) \
76 WXMPUtils_ConvertToLocalTime_1 ( time, &wResult );
78 #define zXMPUtils_CompareDateTime_1(left,right) \
79 WXMPUtils_CompareDateTime_1 ( left, right, &wResult );
81 #define zXMPUtils_EncodeToBase64_1(rawStr,rawLen,encodedStr,SetClientString) \
82 WXMPUtils_EncodeToBase64_1 ( rawStr, rawLen, encodedStr, SetClientString, &wResult );
84 #define zXMPUtils_DecodeFromBase64_1(encodedStr,encodedLen,rawStr,SetClientString) \
85 WXMPUtils_DecodeFromBase64_1 ( encodedStr, encodedLen, rawStr, SetClientString, &wResult );
87 #define zXMPUtils_PackageForJPEG_1(xmpObj,stdStr,extStr,digestStr,SetClientString) \
88 WXMPUtils_PackageForJPEG_1 ( xmpObj, stdStr, extStr, digestStr, SetClientString, &wResult );
90 #define zXMPUtils_MergeFromJPEG_1(fullXMP,extendedXMP) \
91 WXMPUtils_MergeFromJPEG_1 ( fullXMP, extendedXMP, &wResult );
93 #define zXMPUtils_CatenateArrayItems_1(xmpObj,schemaNS,arrayName,separator,quotes,options,catedStr,SetClientString) \
94 WXMPUtils_CatenateArrayItems_1 ( xmpObj, schemaNS, arrayName, separator, quotes, options, catedStr, SetClientString, &wResult );
96 #define zXMPUtils_SeparateArrayItems_1(xmpObj,schemaNS,arrayName,options,catedStr) \
97 WXMPUtils_SeparateArrayItems_1 ( xmpObj, schemaNS, arrayName, options, catedStr, &wResult );
99 #define zXMPUtils_ApplyTemplate_1(workingXMP,templateXMP,actions) \
100 WXMPUtils_ApplyTemplate_1 ( workingXMP, templateXMP, actions, &wResult );
102 #define zXMPUtils_RemoveProperties_1(xmpObj,schemaNS,propName,options) \
103 WXMPUtils_RemoveProperties_1 ( xmpObj, schemaNS, propName, options, &wResult );
105 #define zXMPUtils_DuplicateSubtree_1(source,dest,sourceNS,sourceRoot,destNS,destRoot,options) \
106 WXMPUtils_DuplicateSubtree_1 ( source, dest, sourceNS, sourceRoot, destNS, destRoot, options, &wResult );
316 #endif // __WXMPUtils_hpp__
void XMP_PUBLIC WXMPUtils_ComposeQualifierPath_1(XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, void *qualPath, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ComposeLangSelector_1(XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_StringPtr langName, void *selPath, SetClientStringProc SetClientString, WXMP_Result *wResult)
void(* SetClientStringProc)(void *clientPtr, XMP_StringPtr valuePtr, XMP_StringLen valueLen)
void XMP_PUBLIC WXMPUtils_ConvertToDate_1(XMP_StringPtr strValue, XMP_DateTime *binValue, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ComposeStructFieldPath_1(XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, void *fieldPath, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToBool_1(XMP_StringPtr strValue, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertFromDate_1(const XMP_DateTime &binValue, void *strValue, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ComposeArrayItemPath_1(XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, void *itemPath, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_CompareDateTime_1(const XMP_DateTime &left, const XMP_DateTime &right, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertFromFloat_1(double binValue, XMP_StringPtr format, void *strValue, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_RemoveProperties_1(XMPMetaRef xmpObj, XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_OptionBits options, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToUTCTime_1(XMP_DateTime *time, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertFromInt64_1(XMP_Int64 binValue, XMP_StringPtr format, void *strValue, SetClientStringProc SetClientString, WXMP_Result *wResult)
const typedef char * XMP_StringPtr
The type for input string parameters. A const char *, a null-terminated UTF-8 string.
void XMP_PUBLIC WXMPUtils_DuplicateSubtree_1(XMPMetaRef source, XMPMetaRef dest, XMP_StringPtr sourceNS, XMP_StringPtr sourceRoot, XMP_StringPtr destNS, XMP_StringPtr destRoot, XMP_OptionBits options, WXMP_Result *wResult)
struct __XMPMeta__ * XMPMetaRef
An "ABI safe" pointer to the internal part of an XMP object. Use to pass an XMP object across client ...
void XMP_PUBLIC WXMPUtils_MergeFromJPEG_1(XMPMetaRef fullXMP, XMPMetaRef extendedXMP, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToLocalTime_1(XMP_DateTime *time, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_PackageForJPEG_1(XMPMetaRef xmpObj, void *stdStr, void *extStr, void *digestStr, SetClientStringProc SetClientString, WXMP_Result *wResult)
XMP_Uns32 XMP_StringLen
The type for string length parameters. A 32-bit unsigned integer, as big as will be practically neede...
void XMP_PUBLIC WXMPUtils_ConvertFromInt_1(XMP_Int32 binValue, XMP_StringPtr format, void *strValue, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToInt_1(XMP_StringPtr strValue, WXMP_Result *wResult)
XMP_Int32 XMP_Index
The type for offsets and indices. A 32-bit signed integer. It is signed to allow -1 for loop terminat...
void XMP_PUBLIC WXMPUtils_EncodeToBase64_1(XMP_StringPtr rawStr, XMP_StringLen rawLen, void *encodedStr, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_CatenateArrayItems_1(XMPMetaRef xmpObj, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_StringPtr separator, XMP_StringPtr quotes, XMP_OptionBits options, void *catedStr, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertFromBool_1(XMP_Bool binValue, void *strValue, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToInt64_1(XMP_StringPtr strValue, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_CurrentDateTime_1(XMP_DateTime *time, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ConvertToFloat_1(XMP_StringPtr strValue, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ApplyTemplate_1(XMPMetaRef workingXMP, XMPMetaRef templateXMP, XMP_OptionBits options, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_ComposeFieldSelector_1(XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, XMP_StringPtr fieldValue, void *selPath, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_SeparateArrayItems_1(XMPMetaRef xmpObj, XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_OptionBits options, XMP_StringPtr catedStr, WXMP_Result *wResult)
XMP_Uns32 XMP_OptionBits
The type for a collection of 32 flag bits.
The expanded type for a date and time.
void XMP_PUBLIC WXMPUtils_DecodeFromBase64_1(XMP_StringPtr encodedStr, XMP_StringLen encodedLen, void *rawStr, SetClientStringProc SetClientString, WXMP_Result *wResult)
void XMP_PUBLIC WXMPUtils_SetTimeZone_1(XMP_DateTime *time, WXMP_Result *wResult)