Program: gdcm
Module: $RCSfile: TestUtil.cxx,v $
Language: C++
- Date: $Date: 2005/08/19 16:31:06 $
- Version: $Revision: 1.14 $
+ Date: $Date: 2005/08/22 15:38:04 $
+ Version: $Revision: 1.15 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
float flt= 1.0;
double dbl=1.0;
- std::cout << "This is gdcm version: " << gdcm::GetVersion() << std::endl;
+ std::cout << "This is gdcm version: " << gdcm::Util::GetVersion() << std::endl;
std::cout << "---------- uint16 : " << std::dec <<u16 << " = 0x"
<< std::hex << u16 << std::endl;
Program: gdcm
Module: $RCSfile: gdcmCommon.h,v $
Language: C++
- Date: $Date: 2005/08/19 16:31:07 $
- Version: $Revision: 1.84 $
+ Date: $Date: 2005/08/22 15:38:05 $
+ Version: $Revision: 1.85 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string Value;
};
-// Provide a simple static GetVersion() function
-
-static const char *GetVersion()
-{
- return GDCM_VERSION;
-}
-
} //namespace gdcm
//-----------------------------------------------------------------------------
#endif
Module: $RCSfile: gdcmFileHelper.cxx,v $
Language: C++
- Date: $Date: 2005/08/20 09:04:50 $
- Version: $Revision: 1.53 $
+ Date: $Date: 2005/08/22 15:38:05 $
+ Version: $Revision: 1.54 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// 'Implementation Version Name'
ValEntry *e_0002_0013 = CopyValEntry(0x0002,0x0013);
+ std::string version = "GDCM ";
+ version += Util::GetVersion();
e_0002_0013->SetValue("GDCM 1.1");
Archive->Push(e_0002_0013);
Program: gdcm
Module: $RCSfile: gdcmUtil.cxx,v $
Language: C++
- Date: $Date: 2005/07/18 10:20:20 $
- Version: $Revision: 1.157 $
+ Date: $Date: 2005/08/22 15:38:05 $
+ Version: $Revision: 1.158 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
return tmpAll;
}
+/*
+ * \brief Provide a simple static GetVersion() function
+ */
+std::string Util::GetVersion()
+{
+ return GDCM_VERSION;
+}
+
unsigned int Util::GetCurrentThreadID()
{
// FIXME the implementation is far from complete
Program: gdcm
Module: $RCSfile: gdcmUtil.h,v $
Language: C++
- Date: $Date: 2005/07/21 05:02:12 $
- Version: $Revision: 1.59 $
+ Date: $Date: 2005/08/22 15:38:05 $
+ Version: $Revision: 1.60 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
static std::string GetCurrentDate();
static std::string GetCurrentTime();
static std::string GetCurrentDateTime();
+ static std::string GetVersion();
static unsigned int GetCurrentThreadID();
static unsigned int GetCurrentProcessID();
static bool IsCurrentProcessorBigEndian();