-void gdcmDocEntry::Write(FILE *fp, FileType filetype) {
- std::cout << "gdcmDocEntry::Write : Is that what you wanted to do ? " << std::endl;
- WriteCommonPart(fp, filetype);
-}
-
-/**
- * \ingroup gdcmDocEntry
- * \brief Writes the common part of any gdcmValEntry, gdcmBinEntry, gdcmSeqEntry
- */
-void gdcmDocEntry::WriteCommonPart(FILE *fp, FileType filetype) {
+void gdcmDocEntry::Write(FILE* fp, FileType filetype)
+{
+ uint32_t FFFF = 0xffffffff;
+ uint16_t group = GetGroup();
+ gdcmVRKey vr = GetVR();
+ uint16_t el = GetElement();
+ uint32_t lgr = GetReadLength();