Program: gdcm
Module: $RCSfile: gdcmUtil.cxx,v $
Language: C++
- Date: $Date: 2005/06/06 13:07:19 $
- Version: $Revision: 1.152 $
+ Date: $Date: 2005/06/07 13:48:35 $
+ Version: $Revision: 1.153 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string Util::RootUID = GDCM_UID;
const uint16_t Util::FMIV = 0x0001;
uint8_t *Util::FileMetaInformationVersion = (uint8_t *)&FMIV;
+std::string Util::GDCM_MAC_ADRESS = GetMACAddress();
//-------------------------------------------------------------------------
// Public
* \brief Create a /DICOM/ string:
* It should a of even length (no odd length ever)
* It can contain as many (if you are reading this from your
- * editor the following character is is backslash followed by zero
+ * editor the following character is backslash followed by zero
* that needed to be escaped with an extra backslash for doxygen) \\0
* as you want.
* This function is similar to DicomString(const char*),
// A root was specified use it to forge our new UID:
append += ".";
- append += Util::GetMACAddress();
+ //append += Util::GetMACAddress(); // to save CPU time
+ append += Util::GDCM_MAC_ADRESS;
append += ".";
append += Util::GetCurrentDateTime();
Program: gdcm
Module: $RCSfile: gdcmUtil.h,v $
Language: C++
- Date: $Date: 2005/02/17 10:56:20 $
- Version: $Revision: 1.56 $
+ Date: $Date: 2005/06/07 13:48:36 $
+ Version: $Revision: 1.57 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
static const std::string GDCM_UID;
static uint8_t *FileMetaInformationVersion;
static const uint16_t FMIV;
+ static std::string GDCM_MAC_ADRESS;
};
GDCM_EXPORT std::ostream &binary_write(std::ostream &os, const uint16_t &val);