]> Creatis software - gdcm.git/blobdiff - src/gdcmCommon.h
* src/gdcmFile.cxx : bug fix under Window after JPR commit
[gdcm.git] / src / gdcmCommon.h
index a86930e25d309159e5eba701b8b633421db34ac2..131fceba3d18243b398c7c8a68dafabd2b92bc2b 100644 (file)
@@ -16,6 +16,7 @@ typedef  unsigned short guint16;
 typedef  unsigned int   guint32;
 typedef  short                 gint16;
 typedef  int                   gint32;
+#define UINT32_MAX    (4294967295U)
 #endif
 
 #ifdef _MSC_VER
@@ -25,11 +26,17 @@ typedef  int                gint32;
 #endif
 
 #include <string>
-#ifdef _MSC_VER
-using namespace std;  // string type lives in the std namespace on VC++
-#endif
 
-typedef string TagKey;
-typedef string TagName;
+typedef std::string TagKey;
+typedef std::string TagName;
+
+enum FileType {
+      Unknown = 0,
+      ExplicitVR,
+      ImplicitVR,
+      ACR,
+      ACR_LIBIDO
+};
+
 
 #endif