+ /// \brief Accessor on SQDepthLevel.
+ int GetDepthLevel() { return SQDepthLevel; }
+
+ /// \brief Accessor on SQDepthLevel.
+ void SetDepthLevel(int depth) { SQDepthLevel = depth; }
+
+ virtual void Copy(DocEntrySet *set);
+
+protected:
+ SQItem(int depthLevel);
+ ~SQItem();
+
+// Variables that need to be accessed in subclasses
+ /// \brief Chained list of Doc Entries
+ ListDocEntry DocEntries;
+ /// Iterator, used to visit the entries
+ ListDocEntry::iterator ItDocEntries;
+
+private:
+ /// \brief Sequences can be nested. This SQDepthLevel represents
+ /// the level of the nesting of instances of this class.
+ /// SQDepthLevel and its SeqEntry::SQDepthLevel
+ /// counterpart are only defined on printing purposes
+ /// (see Print).
+ int SQDepthLevel;
+
+ /// \brief SQ Item ordinal number
+ int SQItemNumber;
+};
+} // end namespace gdcm