]> Creatis software - gdcm.git/blobdiff - src/gdcmUtil.h
ENH: Slightly bigger patch:
[gdcm.git] / src / gdcmUtil.h
index 99cb255520818004e01cbbd0680fae3e59aaba40..bf8970157e28d472376924b80cf2adf3d5515d03 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmUtil.h,v $
   Language:  C++
-  Date:      $Date: 2004/11/16 02:04:00 $
-  Version:   $Revision: 1.43 $
+  Date:      $Date: 2004/11/16 02:54:35 $
+  Version:   $Revision: 1.44 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -54,6 +54,10 @@ public:
    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 <class T>