X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=85013ce43f7f0cc68831e5923d56b668594d280d;hb=baa2037ebb1ea642207f98a099306b3e9fd7d9f4;hp=110a7fadd46e23ce10ff935892e5c38449217525;hpb=45490622810d0706cb4ec538634c4a886f39737b;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 110a7fad..85013ce4 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: 2005/01/05 15:19:42 $ + Version: $Revision: 1.46 $ 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,17 @@ 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 = ""); + static bool IsCurrentProcessorBigEndian(); + +private: + static std::string GetIPAddress(); //Do not expose this method }; template