- bool IsVMUnknown() { return DicomDict->IsVMUnknown(); };
-
- /// \brief Gets the DicEntry of the current Dicom entry
- /// @return The DicEntry of the current Dicom entry
- DictEntry * GetDictEntry() { return DicomDict; };
-
- virtual void WriteContent(std::ofstream *fp, FileType filetype);
-
- uint32_t GetFullLength();
-
- virtual void Copy(DocEntry *e);
-
- bool IsItemDelimitor();
- bool IsSequenceDelimitor();
+// bool IsVMUnknown() const { return DicomDict->IsVMUnknown(); }
+ bool IsVMUnknown() { return GetVM() == GDCM_UNKNOWN; }
+
+/// \brief tells us if entry is the last one of a 'no length' SequenceItem
+/// (fffe,e00d)
+ bool IsItemDelimitor()
+ {return (GetGroup() == 0xfffe && GetElement() == 0xe00d);}
+///\brief tells us if entry is the last one of a 'no length' Sequence
+/// (fffe,e0dd)
+ bool IsItemStarter(){ if (GetGroup() != 0xfffe) return false;
+ return (GetElement() == 0xe000); }
+ /// \brief tells us if entry is the last one of a 'no length' Sequence
+ /// (fffe,e0dd)
+ bool IsSequenceDelimitor() { return (GetGroup() == 0xfffe && GetElement() == 0xe0dd);}
+
+ virtual void Copy(DocEntry *doc);