X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmCommon.h;h=b3300d9063abd0d39d4ca12ca44b73ba15e2b34f;hb=3a2887f6302bed9226c8f432d9bf0428ad1a216f;hp=a86930e25d309159e5eba701b8b633421db34ac2;hpb=26b6ebf6609df422a80daa053013b76ffddd7a1f;p=gdcm.git diff --git a/src/gdcmCommon.h b/src/gdcmCommon.h index a86930e2..b3300d90 100644 --- a/src/gdcmCommon.h +++ b/src/gdcmCommon.h @@ -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,19 @@ typedef int gint32; #endif #include -#ifdef _MSC_VER -using namespace std; // string type lives in the std namespace on VC++ -#endif -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