]> Creatis software - gdcm.git/blobdiff - src/gdcmElementSet.h
Upgrade FileHelper.InsertEntryString() to be consistent
[gdcm.git] / src / gdcmElementSet.h
index 26ae0a20eb32c5d426f27724309039116f66f5df..ccf780904fe0d780196c355eca8e892567c06f10 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.h,v $
   Language:  C++
-  Date:      $Date: 2005/10/25 14:52:34 $
-  Version:   $Revision: 1.49 $
+  Date:      $Date: 2006/01/31 11:39:47 $
+  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
@@ -27,8 +27,6 @@
 
 namespace gdcm 
 {
-class SeqEntry;
-
 typedef std::map<TagKey, DocEntry *> TagDocEntryHT;
 
 //-----------------------------------------------------------------------------
@@ -58,11 +56,18 @@ public:
    DocEntry *GetDocEntry(uint16_t group, uint16_t elem);
    /// Tells us if the ElementSet contains no entry
    bool IsEmpty() { return TagHT.empty(); }
+   
+   int IsVRCoherent(uint16_t group);
+
+   virtual void Copy(DocEntrySet *set);
 
 protected:
    ElementSet();
    ~ElementSet();
-
+   /// \brief Some group are illegal withing some Dicom Documents
+   ///        Only the Document knows it.
+   bool MayIWrite(uint16_t )
+                 { return true; }
 private:
 // Variables
    /// Hash Table (map), to provide fast access