X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElementSet.h;h=2b7cc0c97b9c7652392b6a88b3faa4facf77e8df;hb=8a69df0f4018beae8c78a35bef30590e318128e5;hp=fff8f72375867ee5bd16406fb0e6cf855832dc05;hpb=5a0d183707a94e875a595036f64d0bd506faf618;p=gdcm.git diff --git a/src/gdcmElementSet.h b/src/gdcmElementSet.h index fff8f723..2b7cc0c9 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/01/14 11:28:31 $ - Version: $Revision: 1.30 $ + Date: $Date: 2005/01/18 18:03:17 $ + Version: $Revision: 1.33 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -47,20 +47,15 @@ public: ElementSet(int); ~ElementSet(); - virtual void Print(std::ostream &os = std::cout); + virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" ); bool AddEntry(DocEntry *Entry); bool RemoveEntry(DocEntry *EntryToRemove); bool RemoveEntryNoDestroy(DocEntry *EntryToRemove); void WriteContent(std::ofstream *fp, FileType filetype); - - /// Accessor to \ref TagHT - // Do not expose this to user (public API) ! - // A test is using it thus put it in public (matt) - //TagDocEntryHT const &GetTagHT() const { return TagHT; }; - void InitTraversal(); + DocEntry *GetFirstEntry(); DocEntry *GetNextEntry(); protected: @@ -73,7 +68,7 @@ private: TagDocEntryHT::iterator ItTagHT; friend class Document; - friend class DicomDir; //For accessing private TagHT + friend class DicomDir; //For accessing private TagHT friend class DocEntryArchive; //For accessing private TagHT }; } // end namespace gdcm