]> Creatis software - gdcm.git/commitdiff
Minor Doxygenations, comments fixing, etc
authorjpr <jpr>
Sun, 23 Oct 2005 15:32:30 +0000 (15:32 +0000)
committerjpr <jpr>
Sun, 23 Oct 2005 15:32:30 +0000 (15:32 +0000)
12 files changed:
src/gdcmBase.h
src/gdcmCommon.h
src/gdcmDataEntry.cxx
src/gdcmDataEntry.h
src/gdcmDicomEntry.h
src/gdcmDict.cxx
src/gdcmDict.h
src/gdcmDictGroupName.cxx
src/gdcmDictGroupName.h
src/gdcmDictSet.h
src/gdcmDirList.h
src/gdcmDocEntry.h

index a74e7694a431f5bca85d0933a24d11101be23e5c..8d88bf50d393d17cd66643fdfa442a9bb24237f5 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBase.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 07:40:13 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.10 $
                                                                                 
   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,7 @@ namespace gdcm
 {
 //-----------------------------------------------------------------------------
 /**
- * \brief Base class of all gdcm classes
+ * \brief Base class of all gdcm classes.
  * Contains the Print related methods :
  *  - Print 
  *  - SetPrintLevel / GetPrintLevel 
@@ -34,9 +34,11 @@ namespace gdcm
 class GDCM_EXPORT Base
 {
 public:
+   /// \brief Constructor
    Base( ) {PrintLevel = 0;}
+   /// \brief Canonical Destructor   
    virtual ~Base() {}
-
+   /// \brief Printer
    virtual void Print(std::ostream & = std::cout, 
                       std::string const & = "" ) {};
 
index 1361a75487f4f69374dd3008ad9c2ac1cc822334..fa971dc53ff81913421cd43c0c13bde71770fefa 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:08 $
-  Version:   $Revision: 1.100 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.101 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -129,9 +129,9 @@ enum LodModeType
  */  
 struct DicomElement
 {
-   /// DicomGroup number
+   /// Dicom Group number
    unsigned short int Group;
-   /// DicomElement number
+   /// Dicom Element number
    unsigned short int Elem;
    /// value (coded as a std::string) of the Element
    std::string Value;
index 4d7b76283a5f290ed3896db61410dfd3d6a7d8a7..fbd95c4495219055fb855a3904847fb069ff0fa6 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDataEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 15:52:13 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.10 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -86,7 +86,9 @@ void DataEntry::SetBinArea( uint8_t *area, bool self )
 
    State = STATE_LOADED;
 }
-
+/**
+ * \brief Inserts the value (non string) into the current Dicom Header Entry
+ */
 void DataEntry::CopyBinArea( uint8_t *area, uint32_t length )
 {
    DeleteBinArea();
@@ -105,7 +107,7 @@ void DataEntry::CopyBinArea( uint8_t *area, uint32_t length )
    }
 }
 
-void DataEntry::SetValue(const uint32_t &id,const double &val)
+void DataEntry::SetValue(const uint32_t &id, const double &val)
 {
    if( !BinArea )
       NewBinArea();
@@ -147,22 +149,30 @@ void DataEntry::SetValue(const uint32_t &id,const double &val)
       BinArea[id] = (uint8_t)val;
    }
 }
-
+/**
+ * \brief returns, as a double (?!?) one of the values 
+ //      (when entry is multivaluated), identified by its index.
+ //      Returns 0.0 if index is wrong
+ //     FIXME : warn the user there was a problem ! 
+ */
 double DataEntry::GetValue(const uint32_t &id) const
 {
    if( !BinArea )
    {
       gdcmErrorMacro("BinArea not set. Can't get the value");
-      return 0;
+      return 0.0;
    }
 
    uint32_t count = GetValueCount();
    if( id > count )
    {
       gdcmErrorMacro("Index (" << id << ")is greater than the data size");
-      return 0;
+      return 0.0;
    }
 
+   // FIX the API : user *knows* that entry contains a US
+   //               and he receives a double ?!?
+   
    const VRKey &vr = GetVR();
    if( vr == "US" || vr == "SS" )
       return ((uint16_t *)BinArea)[id];
@@ -219,31 +229,55 @@ double DataEntry::GetValue(const uint32_t &id) const
       return BinArea[id];
 }
 
+/**
+ * \brief Checks if the multiplicity of the value follows Dictionary VM
+ */
 bool DataEntry::IsValueCountValid() const
 {
   bool valid = false;
   uint32_t vm;
   const std::string &strVM = GetVM();
   uint32_t vc = GetValueCount();
+  
+  // FIXME : what shall we do with VM = "2-n", "3-n", etc
+  
   if( strVM == "1-n" )
-    {
+  {
     // make sure it is at least one ??? FIXME
     valid = vc >= 1 || vc == 0;
-    }
+  }
   else
-    {
+  {
     std::istringstream os;
     os.str( strVM );
     os >> vm;
     // Two cases:
     // vm respect the one from the dict
-    // vm is 0 (we need to check is this element is allowed to be empty) FIXME
+    // vm is 0 (we need to check if this element is allowed to be empty) FIXME
+
+    // note  (JPR)
+    // ----    
+    // Entries whose type is 1 are mandatory, with a mandatory value.
+    // Entries whose type is 1c are mandatory-inside-a-Sequence,
+    //                          with a mandatory value.
+    // Entries whose type is 2 are mandatory, with an optional value.
+    // Entries whose type is 2c are mandatory-inside-a-Sequence,
+    //                          with an optional value.
+    // Entries whose type is 3 are optional.
+
+    // case vc == 0 is only applicable for 'type 2' entries.
+    // Problem : entry type may depend on the modality and/or the Sequence
+    //           it's embedded in !
+    //          (Get the information in the 'Conformance Statements' ...)  
     valid = vc == vm || vc == 0;
-    }
+  }
   return valid;
 }
 
-uint32_t DataEntry::GetValueCount(void) const
+/**
+ * \brief returns the number of elementary values
+ */ 
+uint32_t DataEntry::GetValueCount( ) const
 {
    const VRKey &vr = GetVR();
    if( vr == "US" || vr == "SS" )
@@ -270,7 +304,10 @@ uint32_t DataEntry::GetValueCount(void) const
 
    return GetLength();
 }
-
+/**
+ * \brief Sets the 'value' of an Entry, passed as a std::string
+ * @param value string representation of the value to be set
+ */ 
 void DataEntry::SetString(std::string const &value)
 {
    DeleteBinArea();
@@ -328,16 +365,30 @@ void DataEntry::SetString(std::string const &value)
    {
       if( value.size() > 0 )
       {
+         // FIXME : should be quicker if we don't create one more std::string
+         //         just to make even the length of a char array ...
+
+         /*
          std::string finalVal = Util::DicomString( value.c_str() );
          SetLength(finalVal.size());
          NewBinArea();
 
          memcpy(BinArea, &(finalVal[0]), finalVal.size());
+         */
+
+         size_t l =  value.size();    
+         SetLength(l + l%2);
+         NewBinArea();
+         memcpy(BinArea, &(value[0]), l);
+         if (l%2)
+            BinArea[l] = '\0';
       }
    }
    State = STATE_LOADED;
 }
-
+/**
+ * \brief   returns as a string (when possible) the value of the DataEntry
+ */
 std::string const &DataEntry::GetString() const
 {
    static std::ostringstream s;
@@ -348,6 +399,9 @@ std::string const &DataEntry::GetString() const
 
    if( !BinArea )
       return StrArea;
+      
+   // When short integer(s) are stored, convert the following (n * 2) characters 
+   // as a displayable string, the values being separated by a back-slash
 
    if( vr == "US" || vr == "SS" )
    {
@@ -361,7 +415,7 @@ std::string const &DataEntry::GetString() const
       }
       StrArea=s.str();
    }
-   // See above comment on multiple integers (mutatis mutandis).
+   // See above comment on multiple short integers (mutatis mutandis).
    else if( vr == "UL" || vr == "SL" )
    {
       uint32_t *data=(uint32_t *)BinArea;
@@ -403,7 +457,10 @@ std::string const &DataEntry::GetString() const
 
    return StrArea;
 }
-
+/**
+ * \brief   Copies all the attributes from an other DocEntry 
+ * @param doc entry to copy from
+ */
 void DataEntry::Copy(DocEntry *doc)
 {
    DocEntry::Copy(doc);
@@ -416,7 +473,11 @@ void DataEntry::Copy(DocEntry *doc)
       CopyBinArea(entry->BinArea,entry->GetLength());
    }
 }
-
+/**
+ * \brief   Writes the value of a DataEntry
+ * @param fp already open ofstream pointer
+ * @param filetype type of the file (ACR, ImplicitVR, ExplicitVR, ...)
+ */
 void DataEntry::WriteContent(std::ofstream *fp, FileType filetype)
 { 
    DocEntry::WriteContent(fp, filetype);
@@ -553,10 +614,15 @@ void DataEntry::Print(std::ostream &os, std::string const & )
       { 
          if(Global::GetVR()->IsVROfStringRepresentable(vr))
          {
-            std::string cleanString = Util::CreateCleanString(v);  // replace non printable characters by '.'
+            // replace non printable characters by '.'
+            std::string cleanString = Util::CreateCleanString(v);
             if ( cleanString.length() <= GetMaxSizePrintEntry()
-            || PrintLevel >= 3
-            || IsNotLoaded() )
+              || PrintLevel >= 3
+              || IsNotLoaded() )
+           // FIXME : when IsNotLoaded(), you create a Clean String ?!?
+           // FIXME : PrintLevel<2 *does* print the values 
+           //        (3 is only for extra offsets printing)
+           // What do you wanted to do ? JPR
             {
                s << " [" << cleanString << "]";
             }
@@ -567,8 +633,14 @@ void DataEntry::Print(std::ostream &os, std::string const & )
          }
          else
          {
-            if ( Util::IsCleanArea( GetBinArea(),GetLength()  ) )
+            // A lot of Private elements (with no VR) contain actually 
+            // only printable characters;
+            // Let's deal with them as is they were VR std::string representable
+    
+            if ( Util::IsCleanArea( GetBinArea(), GetLength()  ) )
             {
+               // FIXME : since the 'Area' *is* clean, just use
+               //         a 'CreateString' method, to save CPU time.
                std::string cleanString = 
                      Util::CreateCleanString( BinArea,GetLength()  );
                s << " [" << cleanString << "]";
index 7bd598302a1cb02dc72cfa1ef3670c3ccb6829c7..f8882df901ee27266ed7a7692e3782b6378b9272 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDataEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 14:09:41 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -27,7 +27,7 @@ namespace gdcm
 {
 //-----------------------------------------------------------------------------
 /**
- * \brief   Any Dicom Document (File or DicomDir) contains 
+ * \brief   Any Dicom Document (File or DicomDir, or ...) contains 
  *           a set of DocEntry  - Dicom entries -
  *           (when successfuly parsed against a given Dicom dictionary)
  *          DataEntry is an elementary DocEntry (as opposed to SeqEntry).
@@ -46,7 +46,7 @@ public:
 // Write
    virtual void WriteContent(std::ofstream *fp, FileType filetype);
 
-// Set/Get datas
+// Set/Get data
    /// Sets the value (string) of the current Dicom entry
    //virtual void SetValue(std::string const &val);
    /// \brief Returns the 'Value' (e.g. "Dupond^Marcel") converted 
@@ -70,20 +70,27 @@ public:
 
    /// \brief Sets SelfArea
    void SetSelfArea(bool area) { SelfArea = area; }
-   /// \brief Returns SelfArea
+   /// \brief True if Entry owns its BinArea
    bool IsSelfArea() { return SelfArea; }
 
    // State
    void SetState(const char &state) { State = state; }
    const char &GetState() const { return State; }
+   /// \brief true when value Entry not loaded  
    bool IsNotLoaded() { return State == STATE_NOTLOADED; }
+   /// \brief true if Entry not found  
    bool IsUnfound()   { return State == STATE_UNFOUND; }
+   /// \brief true if Entry not read    
    bool IsUnread()    { return State == STATE_UNREAD; }
+   /// \brief true if Entry value properly loaded
    bool IsGoodValue() { return State == 0; }
 
    // Flags
+   /// \brief sets the 'pixel data flag'   
    void SetFlag(const char &flag) { Flag = flag; }
+   /// \brief returns the 'pixel data flag'    
    const char &GetFlag() const { return Flag; }
+   /// \brief true id Entry is a Pixel Data entry
    bool IsPixelData() { return (Flag & FLAG_PIXELDATA) != 0; }
 
    void Copy(DocEntry *doc);
@@ -94,6 +101,7 @@ public:
    /// \brief Header Elements too long will not be printed
    static void SetMaxSizePrintEntry(const uint32_t &size) { MaxSizePrintEntry = size; }
 
+   ///\brief values for current state of a DataEntry (internal use only)
    typedef enum
    {
       STATE_LOADED    = 0x00,
@@ -101,7 +109,8 @@ public:
       STATE_UNFOUND   = 0x02,
       STATE_UNREAD    = 0x03
    } TValueState;
-
+   
+   ///\brief values for current pixel status of a DataEntry (internal use only)
    typedef enum
    {
       FLAG_NONE       = 0x00,
@@ -119,11 +128,14 @@ protected:
    uint8_t *BinArea;
    /// \brief Whether DataEntry has its own BinArea or not
    bool SelfArea;
-
+   /// \brief  std::string representable value of the Entry. 
+   ///        Parts of a multivaluated data are separated by back-slash
    mutable std::string StrArea;
 
 private:
+   /// \brief 0 for straight entries, FLAG_PIXELDATA for Pixel Data entries
    char Flag;
+   /// \brief Entry status : STATE_NOTLOADED,STATE_UNFOUND, STATE_UNREAD, 0
    char State;
 
    /// \brief Size threshold above which an element val
index 1af59fcb2e37524a4d6d8aa1ee38a6011033309b..dca0d81918bb6a77c4d69352d92cf47e695a3a97 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 15:34:56 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -29,11 +29,12 @@ namespace gdcm
 //-----------------------------------------------------------------------------
 /**
  * \brief
- * the DicomEntry in an element contained by the Dict.
+ * a DicomEntry is an element contained by the Dict.
  * It contains :
- *  - the key referenced by the DICOM norm or the constructor (for private keys)
- *    i.e. the Group number
- *         the Element number
+ *  - the key referenced by the DICOM norm or the manufacturer(for private keys)
+ *    i.e. 
+ *    - - the Group number
+ *    - - the Element number
  *  - the VR (Value Representation)
  *  - the VM (Value Multiplicity)
  *  - the corresponding name in english
@@ -75,13 +76,13 @@ protected:
    ~DicomEntry();
 
 private:
-   /// Dicom \ref TagKey. Contains DicomGroup number and DicomElement number
+   /// Dicom \ref TagKey. Contains Dicom Group number and Dicom Element number
    TagKey Tag;
 
    /// \brief Value Representation i.e. some clue about the nature
    ///        of the data represented e.g. 
-   ///        "FD" short for "Floating Point Double"(see \ref VR)
-   ///        "PN" short for "Person Name"       
+   ///        "FD" short for "Floating Point Double"(see \ref VR)
+   ///        "PN" short for "Person Name"       
    VRKey VR;
 };
 } // end namespace gdcm
index b01a84f65b4f793058fcbab7c841e3f0bbcbc670..845114d235816d3fd7a8badef24a73ee3899207d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDict.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:08 $
-  Version:   $Revision: 1.81 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.82 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -74,7 +74,7 @@ Dict::~Dict()
 // Public
 
 /**
- * \brief   Add a all the entries held in a source dictionary
+ * \brief   Add all the entries held in a source dictionary
  * \note it concerns only Private Dictionnary
  * @param   filename from which to build the dictionary.
  */
@@ -222,7 +222,7 @@ void Dict::ClearEntry()
 
 /**
  * \brief   Get the dictionary entry identified by a given tag ("group|element")
- * @param   key   tag of the entry to be found
+ * @param   key   tag of the searched entry 
  * @return  the corresponding dictionary entry when existing, NULL otherwise
  */
 DictEntry *Dict::GetEntry(TagKey const &key)
@@ -234,7 +234,12 @@ DictEntry *Dict::GetEntry(TagKey const &key)
    }
    return it->second;
 }
-
+/**
+ * \brief   Get the dictionary entry identified by it's "group" and "element")
+ * @param   group  Group number of the searched entry.
+ * @param   elem Element number of the searched entry.
+ * @return  the corresponding dictionary entry when existing, NULL otherwise
+ */
 DictEntry *Dict::GetEntry(uint16_t group, uint16_t elem)
 {
    TagKey key = DictEntry::TranslateToKey(group, elem);
index 455afd0d1b99b832f42505e8de3fc107d9f32e2d..d48b96944fc028167744cba3d0afb14ab643fe99 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDict.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:08 $
-  Version:   $Revision: 1.43 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  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
@@ -78,6 +78,7 @@ private:
 
    /// Access through TagKey
    TagKeyHT KeyHt;
+   /// Iterator for the entries
    TagKeyHT::iterator ItKeyHt;
 };
 } // end namespace gdcm
index 15ae5cc363ca27a9ff1df8bdcf1b22844703ea5d..66194b34b162f5c7a5a7edb2bfb55f7ac8964894 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictGroupName.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/06/24 10:55:58 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2005/10/23 15:32:30 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -80,6 +80,7 @@ DictGroupName::~DictGroupName()
 
 //-----------------------------------------------------------------------------
 // Public
+/// \returns the formerly NIH defined ACR-NEMA group name
 const TagName &DictGroupName::GetName(uint16_t group)
 {
    DictGroupNameHT::const_iterator it = groupName.find(group);
index b57ed4270156f5fa2b744435f9f35345d027e203..b03c5c61ed3304fa896017d56f09187b3e2c7a01 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictGroupName.h,v $
   Language:  C++
-  Date:      $Date: 2005/04/06 12:49:27 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2005/10/23 15:32:31 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -33,8 +33,8 @@ typedef std::map<uint16_t, TagName> DictGroupNameHT;
 
 //-----------------------------------------------------------------------------
 /**
- * \brief Container for dicom Value Representation Hash Table
- * \note   This is a singleton
+ * \brief Container for dicom 'Value Representation' Hash Table.
+ * \note   This is a singleton.
  */
 class GDCM_EXPORT DictGroupName 
 {
index 237bbe80a653c101795b9b12e25454b27c61414c..4ae5d721589c0ef5be5dfcf754e4068e3ef3a7ba 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictSet.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:09 $
-  Version:   $Revision: 1.47 $
+  Date:      $Date: 2005/10/23 15:32:31 $
+  Version:   $Revision: 1.48 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -73,6 +73,7 @@ protected:
 private:
    /// Hash table of all dictionaries contained in this DictSet
    DictSetHT Dicts;
+   /// Iterator to visit the Dictionaries of a given DictSet
    DictSetHT::iterator ItDictHt;
 
    /// Directory path to dictionaries
index 7eabc36e2ecc22bf060b24343fc6d28e6518cdeb..aa64c452bcf4fd798e7452e5e8ecc7615ca5840f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDirList.h,v $
   Language:  C++
-  Date:      $Date: 2005/09/02 07:10:03 $
-  Version:   $Revision: 1.25 $
+  Date:      $Date: 2005/10/23 15:32:31 $
+  Version:   $Revision: 1.26 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -36,8 +36,8 @@ typedef std::vector<std::string> DirListType;
 // so GDCM_EXPORT keyword was removed for this class only
 
 /**
- * \brief   List containing the file headers of all the gdcm readable files
- *          found by exploring recursively a root directory. 
+ * \brief   List containing the file headers of all the 'gdcm readable' files
+ *          found by exploring (possibely recursively) a root directory. 
  */
 class GDCM_EXPORT DirList
 {
index acd1eb731691de927405863b826d33f7ec9661bc..6791b02e20cf1edd4e72f4bb6ca06ddc7e460f7a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocEntry.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/20 15:24:09 $
-  Version:   $Revision: 1.53 $
+  Date:      $Date: 2005/10/23 15:32:31 $
+  Version:   $Revision: 1.54 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -66,7 +66,7 @@ public:
    /// Dictionnary, of the current Dicom entry
    VRKey const &GetVR() const { return DicomDict->GetVR(); }
 
-   /// \brief Returns the 'Value Multiplicity' (e.g. "1", "1-n", "6"),
+   /// \brief Returns the 'Value Multiplicity' (e.g. "1", 6", "1-n", "3-n"),
    /// found in the Dicom entry or in the Dicom Dictionnary
    /// of the current Dicom entry
    std::string const &GetVM() const { return DicomDict->GetVM(); }