24 #ifndef __MetaDataTypes_h__ 25 #define __MetaDataTypes_h__ 29 #if defined WINDOWS && !defined(WIN_ENV) 31 #elif defined(MACINTOSH) && !defined(MAC_ENV) 34 #include "XMP_Const.h" 42 extern const char*
const kNS_xmp;
45 extern const char*
const kNS_xmpRights;
48 extern const char*
const kNS_xmpMM;
51 extern const char*
const kNS_xmpBJ;
54 extern const char*
const kNS_xmpT ;
57 extern const char*
const kNS_xmpTPg;
60 extern const char*
const kNS_xmpGImg;
63 extern const char*
const kNS_xmpIPTCCore;
66 extern const char*
const kNS_pdf;
69 extern const char*
const kNS_photoshop;
72 extern const char*
const kNS_exif;
75 extern const char*
const kNS_aux;
78 extern const char*
const kNS_tiff;
81 extern const char*
const kNS_stockPhoto;
85 extern const char*
const kNS_dc;
88 extern const char*
const kNS_rdf;
91 extern const char*
const kNS_xml;
96 extern const char*
const kNS_xmpRscRef;
99 extern const char*
const kNS_xmpRscEvent;
102 extern const char*
const kNS_xmpSTJob;
105 extern const char*
const kNS_xmpSTMfs;
109 extern const char*
const kXMP_NoValue;
131 virtual void timestamp(XMP_DateTime& dt);
137 static long ts_SequenceNumber;
141 #define kARMName AgentName("AdobeARM", PMString::kEncodingASCII) 187 fInstanceID(instanceID), fDocumentID(documentID), fOrigDocumentID(origDocumentID), fVersionID(versionID), fRenditionClass(renditionClass), fRenditionParams(renditionParams),
188 fManageTo(manageTo), fManageUI(manageUI), fManager(manager), fManagerVariant(managerVariant), fFileURL(fileURL)
195 fInstanceID(other.fInstanceID), fDocumentID(other.fDocumentID), fOrigDocumentID(other.fOrigDocumentID), fVersionID(other.fVersionID), fRenditionClass(other.fRenditionClass), fRenditionParams(other.fRenditionParams),
196 fManageTo(other.fManageTo), fManageUI(other.fManageUI), fManager(other.fManager), fManagerVariant(other.fManagerVariant), fFileURL(other.fFileURL)
207 fInstanceID = other.fInstanceID;
208 fDocumentID = other.fDocumentID;
209 fOrigDocumentID = other.fOrigDocumentID;
210 fVersionID = other.fVersionID;
211 fRenditionClass = other.fRenditionClass;
212 fRenditionParams = other.fRenditionParams,
213 fManageTo = other.fManageTo;
214 fManageUI = other.fManageUI;
215 fManager = other.fManager;
216 fManagerVariant = other.fManagerVariant;
217 fFileURL = other.fFileURL;
229 return fInstanceID == other.fInstanceID && fDocumentID == other.fDocumentID && fOrigDocumentID == other.fOrigDocumentID && fVersionID == other.fVersionID && fRenditionClass == other.fRenditionClass && fRenditionParams == other.fRenditionParams &&
230 fManageTo == other.fManageTo && fManageUI == other.fManageUI && fManager == other.fManager && fManagerVariant == other.fManagerVariant && fFileURL == other.fFileURL;
240 return !fInstanceID.
empty() || !fDocumentID.
empty() || !fOrigDocumentID.
empty() || !fVersionID.
empty() || !fRenditionClass.
empty() ||
249 fOrigDocumentID.
clear();
251 fRenditionClass.
clear();
252 fRenditionParams.
clear();
256 fManagerVariant.
clear();
492 #ifndef TXMP_STRING_TYPE 493 #define TXMP_STRING_TYPE std::string 501 #endif // __MetaDataTypes_h__