]> Creatis software - gdcm.git/blob - src/gdcmCommon.h
* src/*.[h] all occurences of stl classes are now prefixed with
[gdcm.git] / src / gdcmCommon.h
1 //gdcmCommon.h
2
3 #ifndef GDCMCOMMON_H
4 #define GDCMCOMMON_H
5
6 #ifdef __GNUC__
7 #include <stdint.h>
8 #define guint16 uint16_t
9 #define guint32 uint32_t
10 #define gint16  int16_t
11 #define gint32  int32_t
12 #endif
13
14 #ifdef _MSC_VER 
15 typedef  unsigned short guint16;
16 typedef  unsigned int   guint32;
17 typedef  short          gint16;
18 typedef  int            gint32;
19 #define UINT32_MAX    (4294967295U)
20 #endif
21
22 #ifdef _MSC_VER
23 #define GDCM_EXPORT __declspec( dllexport )
24 #else
25 #define GDCM_EXPORT
26 #endif
27
28 #include <string>
29
30 typedef std::string TagKey;
31 typedef std::string TagName;
32
33 enum FileType {
34       Unknown = 0,
35       ExplicitVR,
36       ImplicitVR,
37       ACR,
38       ACR_LIBIDO
39 };
40
41
42 #endif