Program: gdcm
Module: $RCSfile: gdcmSQItem.h,v $
Language: C++
- Date: $Date: 2005/01/31 12:19:34 $
- Version: $Revision: 1.38 $
+ Date: $Date: 2005/02/07 08:48:18 $
+ Version: $Revision: 1.41 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
typedef std::list<DocEntry *> ListDocEntry;
+
//-----------------------------------------------------------------------------
/**
* \brief a SeqEntry is composed by a set of SQItems.
SQItem(int depthLevel);
~SQItem();
- virtual void Print(std::ostream &os = std::cout, std::string const & indent = "" );
+ virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" );
void WriteContent(std::ofstream *fp, FileType filetype);
- void ClearEntry();
bool AddEntry(DocEntry *Entry); // add to the List
bool RemoveEntry(DocEntry *EntryToRemove);
bool RemoveEntryNoDestroy(DocEntry *EntryToRemove);
+ void ClearEntry();
DocEntry *GetFirstEntry();
DocEntry *GetNextEntry();
BaseTagKey const &GetBaseTagKey() const { return BaseTagKeyNested; }
protected:
-// Variables that need to be access in subclasses
- /// \brief Chained list of (Elementary) Doc Entries
+// Variables that need to be accessed in subclasses
+ /// \brief Chained list of Doc Entries
ListDocEntry DocEntries;
- /// Chained list iterator, used to visit the TagHT variable
+ /// Iterator, used to visit the entries
ListDocEntry::iterator ItDocEntries;
-
+ /// Iterator, used to visit the Val Entries (for Python users)
+ ListDocEntry::iterator ItValEntries;
+
private:
/// \brief Sequences can be nested. This \ref SQDepthLevel represents
/// the level of the nesting of instances of this class.