- /// Dicom Header Entry
- void SetLength(uint32_t l) { Length = l; };
-
- /// \brief Returns the actual value length of the current Dicom Header Entry
- /// \warning this value is not *always* the one stored in the Dicom Header
- /// in case of well knowned bugs
- uint32_t GetLength() { return Length; };
-
-
- // The following 3 members, for internal use only !
-
- /// \brief Sets the offset of the Dicom Element
+ /// Dicom entry
+ virtual void SetLength(uint32_t l) { Length = l; }
+ /// \brief Returns the actual value length of the current Dicom entry
+ /// \warning this value is not *always* the one stored in the Dicom header
+ /// in case of well known bugs
+ const uint32_t &GetLength() const { return Length; }
+
+ uint32_t GetFullLength();
+ virtual uint32_t ComputeFullLength() = 0;
+
+// The following 3 members, for internal use only !
+ /// \brief Sets the offset of the Dicom entry