]> Creatis software - gdcm.git/blobdiff - src/gdcmDictEntry.h
COMP: Forgot to change string to TagKey...
[gdcm.git] / src / gdcmDictEntry.h
index e585e0603fecb418080fe2386cb08295aeecb803..780c7afd6b2f64977cc800df6124f4b53f176fbe 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/01 10:41:33 $
-  Version:   $Revision: 1.32 $
+  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
@@ -26,7 +26,6 @@ namespace gdcm
 
 //-----------------------------------------------------------------------------
 /**
- * \ingroup DictEntry
  * \brief
  * the DictEntry in an element contained by the Dict.
  * It contains :
@@ -49,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);
@@ -79,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
@@ -92,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