Program: gdcm
Module: $RCSfile: gdcmGlobal.cxx,v $
Language: C++
- Date: $Date: 2006/03/22 13:19:25 $
- Version: $Revision: 1.32 $
+ Date: $Date: 2007/09/17 12:20:01 $
+ Version: $Revision: 1.37 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmDictSet.h"
#include "gdcmDicomDirElement.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
//-----------------------------------------------------------------------------
/// \brief Those global string that are returned by reference everywhere in
/// Therefore the actual initialization is done in a cxx file (avoid
/// duplicated symbol), and an extern is used in gdcmCommon.h
-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";
-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_UNKNOWN = "GDCM::Unknown";
+const std::string GDCM_UNFOUND = "GDCM::Unfound";
+const std::string GDCM_BINLOADED = "GDCM::Binary data";
+const std::string GDCM_NOTLOADED = "GDCM::NotLoaded";
+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 = '\\';