Program: gdcm
Module: $RCSfile: gdcmBinEntry.cxx,v $
Language: C++
- Date: $Date: 2005/01/07 16:45:51 $
- Version: $Revision: 1.44 $
+ Date: $Date: 2005/01/08 23:14:05 $
+ Version: $Revision: 1.45 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmBinEntry.h"
#include "gdcmDebug.h"
+
#include <fstream>
+#include <sstream>
#include <iostream> // for std::ios_base, since <ios> does not exist on gcc/Solaris
namespace gdcm
Program: gdcm
Module: $RCSfile: gdcmCommon.h,v $
Language: C++
- Date: $Date: 2005/01/06 20:03:26 $
- Version: $Revision: 1.44 $
+ Date: $Date: 2005/01/08 23:14:05 $
+ Version: $Revision: 1.45 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#endif //_MSC_VER
//-----------------------------------------------------------------------------
-// ifdef for old gcc compiler
-#ifdef GDCM_NO_ANSI_STRING_STREAM
-# include <strstream>
-# define ostringstream ostrstream
-# else
-# include <sstream>
-#endif
-
-#include <string>
-#include <assert.h>
-
#ifdef GDCM_HAVE_STDINT_H
#include <stdint.h> // For uint8_t uint16_t and uint32_t
#else
#define GDCM_EXPORT
#endif
+#include <string>
+
namespace gdcm
{
#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";
-const std::string GDCM_UNREAD = "gdcm::UnRead";
+static const std::string GDCM_UNKNOWN = "gdcm::Unknown";
+static const std::string GDCM_UNFOUND = "gdcm::Unfound";
+static const std::string GDCM_BINLOADED = "gdcm::Binary data loaded";
+static const std::string GDCM_NOTLOADED = "gdcm::NotLoaded";
+static const std::string GDCM_UNREAD = "gdcm::UnRead";
/// \brief TagKey is made to hold an "universal" (as in URL, Universal
/// Ressource Locator) key to a DocEntry i.e. a dicom tag.
typedef std::string TagName;
enum FileType {
- Unknown = 0,
- ExplicitVR, // DicomDir is in this case
- ImplicitVR,
- ACR,
- ACR_LIBIDO
+ Unknown = 0,
+ ExplicitVR, // DicomDir is in this case
+ ImplicitVR,
+ ACR,
+ ACR_LIBIDO
};
} //namespace gdcm
//-----------------------------------------------------------------------------
Program: gdcm
Module: $RCSfile: gdcmDebug.h,v $
Language: C++
- Date: $Date: 2005/01/08 15:55:57 $
- Version: $Revision: 1.17 $
+ Date: $Date: 2005/01/08 23:14:05 $
+ Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmCommon.h"
+#include <sstream>
+#include <assert.h>
+
namespace gdcm
{
//-----------------------------------------------------------------------------