XMP Toolkit SDK  6.0.0
XMP.hpp
Go to the documentation of this file.
1 #ifndef __XMP_hpp__
2 #define __XMP_hpp__ 1
3 
4 // =================================================================================================
5 // Copyright 2002 Adobe
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. If you have received this file from a source other
10 // than Adobe, then your use, modification, or distribution of it requires the prior written permission
11 // of Adobe.
12 // =================================================================================================
13 
14 // ================================================================================================
50 // ================================================================================================
51 
53 #include "XMP_Environment.h"
54 
55 #include "XMP_Version.h"
56 #include "XMP_Const.h"
57 
58 #if XMP_WinBuild
59  #if XMP_DebugBuild
60  #pragma warning ( push, 4 )
61  #else
62  #pragma warning ( push, 3 )
63  #endif
64  #pragma warning ( disable : 4702 ) // unreachable code
65  #pragma warning ( disable : 4800 ) // forcing value to bool 'true' or 'false' (performance warning)
66 #endif
67 
68 #if defined ( TXMP_STRING_TYPE )
69 
70  #include "TXMPMeta.hpp"
71  #include "TXMPIterator.hpp"
72  #include "TXMPUtils.hpp"
73  typedef class TXMPMeta <TXMP_STRING_TYPE> SXMPMeta; // For client convenience.
74  typedef class TXMPIterator <TXMP_STRING_TYPE> SXMPIterator;
75  typedef class TXMPUtils <TXMP_STRING_TYPE> SXMPUtils;
76  #if TXMP_EXPAND_INLINE
77  #error "TXMP_EXPAND_INLINE is not working at present. Please don't use it."
78  #include "client-glue/TXMPMeta.incl_cpp"
79  #include "client-glue/TXMPIterator.incl_cpp"
80  #include "client-glue/TXMPUtils.incl_cpp"
81  #include "client-glue/TXMPFiles.incl_cpp"
82  #endif
83 
84  #if XMP_INCLUDE_XMPFILES
85  #include "TXMPFiles.hpp" // ! Needs typedef for SXMPMeta.
86  typedef class TXMPFiles <TXMP_STRING_TYPE> SXMPFiles;
87  #if TXMP_EXPAND_INLINE
88  #include "client-glue/TXMPFiles.incl_cpp"
89  #endif
90  #endif
91 
92 #endif // TXMP_STRING_TYPE
93 
94 #if XMP_WinBuild
95  #pragma warning ( pop )
96 #endif
97 
98 // =================================================================================================
99 
100 #endif // __XMP_hpp__
XMP_Const.h
Common C/C++ types and constants for the XMP toolkit.
XMP_Environment.h
TXMPFiles.hpp
API for access to the main (document-level) metadata in a file_.
TXMPMeta
API for access to the XMP Toolkit core services.
Definition: TXMPMeta.hpp:57
TXMPIterator
API for access to the XMP Toolkit iteration services.
Definition: TXMPIterator.hpp:81
XMP_Version.h
TXMPUtils
API for access to the XMP Toolkit utility services.
Definition: TXMPMeta.hpp:53
TXMPUtils.hpp
API for access to the XMP Toolkit utility services.
TXMPMeta.hpp
API for access to the XMP Toolkit core services.
TXMPIterator.hpp
API for access to the XMP Toolkit iteration services.
TXMP_STRING_TYPE
#define TXMP_STRING_TYPE
Definition: IMetadataConverterUtils.h:15
TXMPFiles
API for access to the main (document-level) metadata in a file.
Definition: TXMPFiles.hpp:69