]> Creatis software - gdcm.git/blobdiff - src/gdcmCommon.h
warning added in doxygen part
[gdcm.git] / src / gdcmCommon.h
index ba376a4228e5d2468a886f483008c1b6c71fa402..b3300d9063abd0d39d4ca12ca44b73ba15e2b34f 100644 (file)
@@ -7,11 +7,16 @@
 #include <stdint.h>
 #define guint16 uint16_t
 #define guint32 uint32_t
+#define gint16  int16_t
+#define gint32  int32_t
 #endif
 
 #ifdef _MSC_VER 
 typedef  unsigned short guint16;
 typedef  unsigned int   guint32;
+typedef  short                 gint16;
+typedef  int                   gint32;
+#define UINT32_MAX    (4294967295U)
 #endif
 
 #ifdef _MSC_VER
@@ -21,7 +26,19 @@ typedef  unsigned int   guint32;
 #endif
 
 #include <string>
-typedef string TagKey;
-typedef string TagName;
+
+const std::string GDCM_UNFOUND = "gdcm::Unfound";
+
+typedef std::string TagKey;
+typedef std::string TagName;
+
+enum FileType {
+      Unknown = 0,
+      ExplicitVR,
+      ImplicitVR,
+      ACR,
+      ACR_LIBIDO
+};
+
 
 #endif