- /// \brief Sets the delimitor mode
- inline void SetDelimitorMode(bool dm) { delimitor_mode = dm;}
-
- /// \brief Sets the Sequence Delimitation Item
- inline void SetSequenceDelimitationItem(gdcmDocEntry * e) { seq_term = e;}
-
- void AddEntry(gdcmSQItem *it, int itemNumber);
-
- /// \brief creates a new SQITEM for this SeQuence.
- gdcmSQItem * NewItem(void);
-
- gdcmDocEntry *NewDocEntryByNumber(guint16 group, guint16 element);
- gdcmDocEntry *NewDocEntryByName (std::string Name);
- gdcmDocEntry *GetDocEntryByNumber(guint16 group, guint16 element);
-
- void SetDepthLevel(int depth);
-
+ /// Sets the delimitor mode
+ void SetDelimitorMode(bool dm) { DelimitorMode = dm; }
+ /// Sets the Sequence Delimitation Item
+ void SetDelimitationItem(DocEntry *e);
+
+ /// Gets the Sequence Delimitation Item
+ DocEntry *GetDelimitationItem() { return SeqTerm;}
+
+ /// Gets the depth level
+ int GetDepthLevel() const { return SQDepthLevel; }
+ /// Sets the depth level of a Sequence Entry embedded in a SeQuence
+ void SetDepthLevel(int depth) { SQDepthLevel = depth; }
+
+ virtual void Copy(DocEntry *doc);
+