]> Creatis software - gdcm.git/blobdiff - src/gdcmDictEntry.h
avoid bcc5.5 warnings
[gdcm.git] / src / gdcmDictEntry.h
index 4674479b880e972555090bf38c503d1ff0c046ac..780c7afd6b2f64977cc800df6124f4b53f176fbe 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/01 13:11:49 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2005/07/11 14:40:40 $
+  Version:   $Revision: 1.35 $
                                                                                 
   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,6 @@ public:
 // Print
    void Print(std::ostream &os = std::cout, std::string const &indent = "");
 
-// Key creation
-   static TagKey TranslateToKey(uint16_t group, uint16_t elem);
-
 // Content of DictEntry
    void SetVR(TagName const &vr);
    void SetVM(TagName const &vm);
@@ -78,7 +75,7 @@ public:
  
    /// \brief   sets the key of the current DictEntry
    /// @param k New key to be set.
-   void SetKey(TagName const &k)  { Key = k; }
+   void SetKey(TagKey const &k)  { Key = k; }
  
    /// \brief   returns the VM field of the current DictEntry
    /// @return  The 'Value Multiplicity' field
@@ -91,7 +88,10 @@ public:
  
    /// \brief  Gets the key of the current DictEntry
    /// @return the key.
-   const TagName &GetKey() const { return Key; }
+   const TagKey &GetKey() const { return Key; }
+
+// Key creation
+   static TagKey TranslateToKey(uint16_t group, uint16_t elem);
 
 private:
    /// \todo FIXME