X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmSeqEntry.h;h=6676c754abb40bafe4f26058a35c207aaad8cb1e;hb=c907ef7411a7ddef4192414a95fb7909798e5d02;hp=91b5b8b8fac3ab48ee59c3fb22922ca9a3a09b05;hpb=e8caac199c2683cb0f118c42c61dc6aec85b1eec;p=gdcm.git diff --git a/src/gdcmSeqEntry.h b/src/gdcmSeqEntry.h index 91b5b8b8..6676c754 100644 --- a/src/gdcmSeqEntry.h +++ b/src/gdcmSeqEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.h,v $ Language: C++ - Date: $Date: 2005/01/16 04:50:42 $ - Version: $Revision: 1.28 $ + Date: $Date: 2005/01/20 11:26:18 $ + Version: $Revision: 1.30 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -47,16 +47,20 @@ public: void WriteContent(std::ofstream *fp, FileType filetype); /// returns the SQITEM chained List for this SeQuence. - ListSQItem const &GetSQItems() const { return Items; } + //ListSQItem const &GetSQItems() const { return Items; } + SQItem *GetFirstSQItem(); + SQItem *GetNextSQItem(); + SQItem *GetSQItem(int itemNumber); + unsigned int GetNumberOfSQItems(); /// Sets the delimitor mode void SetDelimitorMode(bool dm) { DelimitorMode = dm; } /// Sets the Sequence Delimitation Item - void SetSequenceDelimitationItem(DocEntry *e) { SeqTerm = e;} + void SetDelimitationItem(DocEntry *e) { SeqTerm = e;} + DocEntry *GetDelimitationItem() { return SeqTerm;} - void AddEntry(SQItem *it, int itemNumber); - SQItem *GetSQItemByOrdinalNumber(int itemNumber); + void AddSQItem(SQItem *it, int itemNumber); /// Gets the depth level int GetDepthLevel() const { return SQDepthLevel; } @@ -74,7 +78,9 @@ private: /// Chained list of SQ Items ListSQItem Items; - + /// iterator on the SQItems of the current SeqEntry + ListSQItem::iterator ItSQItem; + /// sequence terminator item DocEntry *SeqTerm;