Program: gdcm
Module: $RCSfile: gdcmGlobal.cxx,v $
Language: C++
- Date: $Date: 2005/02/02 15:07:41 $
- Version: $Revision: 1.18 $
+ Date: $Date: 2005/02/11 15:22:18 $
+ Version: $Revision: 1.21 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
namespace gdcm
{
//-----------------------------------------------------------------------------
-// Those global string that are return by reference everywhere in gdcm code
-// used to be in gdcmCommon.h but due to a 'bug' in gcc/MacOSX
-// you cannot have static initialization in a multithreaded environment
-// since there is a lazy construction everything got skrew up somehow
-// Therefore the actual initialization is done in a cxx file (avoid
-// duplicated symbol), and an extern is used in gdcmCommon.h
+/// \brief Those global string that are return by reference everywhere in
+/// gdcm code used to be in gdcmCommon.h but due to a 'bug' in gcc/MacOSX
+/// you cannot have static initialization in a multithreaded environment
+/// since there is a lazy construction everything got skrew up somehow
+/// 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_UNREAD = "gdcm::UnRead";
//-----------------------------------------------------------------------------
-DictSet *Global::Dicts = (DictSet *)0;
-VR *Global::ValRes = (VR *)0;
-TS *Global::TranSyn = (TS *)0;
-DicomDirElement *Global::ddElem = (DicomDirElement *)0;
+DictSet *Global::Dicts = (DictSet *)0;
+VR *Global::ValRes = (VR *)0;
+TS *Global::TranSyn = (TS *)0;
+DicomDirElement *Global::ddElem = (DicomDirElement *)0;
//-----------------------------------------------------------------------------
/**
{
if (ValRes || TranSyn || Dicts || ddElem)
{
- gdcmVerboseMacro( "VR or TS or Dicts already allocated");
+ gdcmWarningMacro( "VR or TS or Dicts already allocated");
return;
}
Dicts = new DictSet();