- /// \brief adds the passed DocEntry to the DocEntry chained List for this SQ Item.
- inline void AddDocEntry(gdcmDocEntry *e)
- {docEntries.push_back(e);};
-
+ /// \brief adds the passed DocEntry to the DocEntry chained List for
+ /// this SQ Item.
+ bool AddEntry(DocEntry *Entry); // add to the List
+ bool RemoveEntry(DocEntry *EntryToRemove);
+ bool RemoveEntryNoDestroy(DocEntry *EntryToRemove);
+
+ DocEntry *GetDocEntry(uint16_t group, uint16_t element);
+
+ bool SetEntry(std::string const &val, uint16_t group,
+ uint16_t element);
+
+ std::string GetEntry(uint16_t group, uint16_t element);
+
+ /// \brief returns the ordinal position of a given SQItem
+ int GetSQItemNumber() { return SQItemNumber; };
+
+ /// \brief Sets the ordinal position of a given SQItem
+ void SetSQItemNumber(int itemNumber) { SQItemNumber = itemNumber; };
+
+ /// \brief Accessor on \ref SQDepthLevel.
+ int GetDepthLevel() { return SQDepthLevel; }
+
+ /// \brief Accessor on \ref SQDepthLevel.
+ void SetDepthLevel(int depth) { SQDepthLevel = depth; }
+
+ /// \brief Accessor on \ref BaseTagKey.
+ void SetBaseTagKey( BaseTagKey const &key ) { BaseTagKeyNested = key; }
+
+ /// \brief Accessor on \ref BaseTagKey.
+ BaseTagKey const &GetBaseTagKey() const { return BaseTagKeyNested; }
+
+ void Initialize();
+ DocEntry *GetNextEntry();
+