X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmGlobal.cxx;h=bf364f995e537d9f9ad57cb308a9907d1e757c70;hb=a37b5807e69fba268353479673c3e45fbcc597cb;hp=f3196560ae64c03642b114993a3d1ba1c3e9f860;hpb=f8a2fc5a9738eda28a14f15c3d0180be1ba1373d;p=gdcm.git diff --git a/src/gdcmGlobal.cxx b/src/gdcmGlobal.cxx index f3196560..bf364f99 100644 --- a/src/gdcmGlobal.cxx +++ b/src/gdcmGlobal.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmGlobal.cxx,v $ Language: C++ - Date: $Date: 2005/11/30 10:58:27 $ - Version: $Revision: 1.30 $ + Date: $Date: 2006/07/06 15:08:10 $ + Version: $Revision: 1.33 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -43,7 +43,13 @@ const std::string GDCM_UNREAD = "gdcm::UnRead"; const std::string GDCM_NOTASCII = "gdcm::NotAscii"; const std::string GDCM_PIXELDATA = "gdcm::Pixel Data to be loaded"; -const std::string GDCM_VRUNKNOWN = " "; +const char GDCM_VRUNKNOWN[2] = {' ',' '}; // avoid useless std::string stuff + +#ifdef _WIN32 +const char GDCM_FILESEPARATOR = '\\'; +#else +const char GDCM_FILESEPARATOR = '/'; +#endif //----------------------------------------------------------------------------- DictSet *Global::Dicts = (DictSet *)0; @@ -52,6 +58,8 @@ TS *Global::TranSyn = (TS *)0; DictGroupName *Global::GroupName = (DictGroupName *)0; DicomDirElement *Global::ddElem = (DicomDirElement *)0; +Dict *Global::DefaultPubDict = (Dict *)0; + //----------------------------------------------------------------------------- /** * \brief Global container