- gdcmSQItem(int);
- ~gdcmSQItem(void);
-
- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType filetype);
-
- /// \brief returns the DocEntry chained List for this SQ Item.
- inline ListDocEntry &GetDocEntries() {return docEntries;};
-
- /// \brief adds the passed DocEntry to the DocEntry chained List for
- /// this SQ Item.
- inline void AddDocEntry(gdcmDocEntry *e) {docEntries.push_back(e);};
-
- virtual bool AddEntry(gdcmDocEntry *Entry); // add to the List
+ SQItem(int depthLevel);
+ ~SQItem();
+
+ virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+ void WriteContent(std::ofstream *fp, FileType filetype);
+
+ bool AddEntry(DocEntry *Entry); // add to the List
+ bool RemoveEntry(DocEntry *EntryToRemove);
+ bool RemoveEntryNoDestroy(DocEntry *EntryToRemove);
+ void ClearEntry();
+ void ClearEntryNoDestroy();
+ void MoveObject(SQItem *source);