X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElementSet.h;h=ccf780904fe0d780196c355eca8e892567c06f10;hb=1c4a6671c995962804086936a409bd0c8cb2b985;hp=26ae0a20eb32c5d426f27724309039116f66f5df;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/src/gdcmElementSet.h b/src/gdcmElementSet.h index 26ae0a20..ccf78090 100644 --- a/src/gdcmElementSet.h +++ b/src/gdcmElementSet.h @@ -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 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