X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=6893f4d231cc7a121eade443f7d7c83538ee925e;hb=1c35ba5e5bc72b0861b92698dd4ea29f0bab5f73;hp=110a7fadd46e23ce10ff935892e5c38449217525;hpb=45490622810d0706cb4ec538634c4a886f39737b;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 110a7fad..6893f4d2 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.h,v $ Language: C++ - Date: $Date: 2004/11/09 11:21:32 $ - Version: $Revision: 1.41 $ + Date: $Date: 2004/11/16 05:03:35 $ + 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 @@ -48,9 +48,16 @@ public: static std::string NormalizePath(std::string const & name); static std::string GetPath(std::string const &fullName); static std::string GetName(std::string const &fullName); + static std::string GetCurrentDate(); + static std::string GetCurrentTime(); static std::string DicomString(const char* s, size_t l); static std::string DicomString(const char* s); + static bool DicomStringEqual(const std::string& s1, const char *s2); + static std::string CreateUniqueUID(const std::string& root = ""); + +private: + static std::string GetIPAddress(); //Do not expose this method }; template