]> Creatis software - gdcm.git/blobdiff - src/gdcmCommon.h
* "gdcm::Unfound" string changed to a constant variable (GDCM_UNFOUND)
[gdcm.git] / src / gdcmCommon.h
index f243d8421bd2bb09dedd3441cadd6822cd6d8760..b3300d9063abd0d39d4ca12ca44b73ba15e2b34f 100644 (file)
@@ -26,12 +26,11 @@ 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;
+const std::string GDCM_UNFOUND = "gdcm::Unfound";
+
+typedef std::string TagKey;
+typedef std::string TagName;
 
 enum FileType {
       Unknown = 0,
@@ -39,7 +38,7 @@ enum FileType {
       ImplicitVR,
       ACR,
       ACR_LIBIDO
-};  // CLEANME
+};
 
 
 #endif