X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=0804497e2ae466343e4db918a67c62c1c97b61fc;hb=0a63df7d5417e936948123cb00a80d58addcae66;hp=86cee1447749c9fc7291868330446afa2d34d011;hpb=90034aefc764a5b6c4815c9073606d36956acab1;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 86cee144..0804497e 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.h,v $ Language: C++ - Date: $Date: 2005/02/11 19:00:39 $ - Version: $Revision: 1.54 $ + 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 @@ -64,15 +64,21 @@ public: static void SetRootUID(const std::string &root = ""); static const std::string &GetRootUID(); + static const uint8_t *GetFileMetaInformationVersion() + { return FileMetaInformationVersion;}; + static void SetFileMetaInformationVersion( uint16_t fmiv) + { FileMetaInformationVersion = (uint8_t *)&fmiv; }; + private: static std::string GetIPAddress(); //Do not expose this method static std::string RootUID; static const std::string GDCM_UID; + static uint8_t *FileMetaInformationVersion; + static const uint16_t FMIV; + static std::string GDCM_MAC_ADRESS; }; -template -GDCM_EXPORT std::ostream &binary_write(std::ostream &os, const T &val); GDCM_EXPORT std::ostream &binary_write(std::ostream &os, const uint16_t &val); GDCM_EXPORT std::ostream &binary_write(std::ostream &os, const uint32_t &val); GDCM_EXPORT std::ostream &binary_write(std::ostream &os, const char *val);