Program: gdcm
Module: $RCSfile: gdcmCommon.h,v $
Language: C++
- Date: $Date: 2004/11/30 16:24:31 $
- Version: $Revision: 1.40 $
+ Date: $Date: 2005/01/05 15:38:28 $
+ Version: $Revision: 1.43 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#ifdef GDCM_HAVE_STDINT_H
#include <stdint.h> // For uint8_t uint16_t and uint32_t
-#endif
-
-namespace gdcm
-{
-
-#ifndef GDCM_HAVE_STDINT_H
+#else
+#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef signed char int8_t;
+#endif
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#define GDCM_EXPORT
#endif
-#ifdef _MSC_VER
-#define getcwd _getcwd
-#endif
-
+namespace gdcm
+{
// Centralize information about the gdcm dictionary in only one file:
#ifndef PUB_DICT_PATH
#define DICT_TS "dicomTS.dic"
#define DICT_VR "dicomVR.dic"
+const std::string GDCM_UNKNOWN = "gdcm::Unknown";
const std::string GDCM_UNFOUND = "gdcm::Unfound";
const std::string GDCM_BINLOADED = "gdcm::Binary data loaded";
const std::string GDCM_NOTLOADED = "gdcm::NotLoaded";