X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.h;h=a76778b6fa4d0aad425a23c97754c763587f98d2;hb=7350639601914cd8ab02bfb0d6668c5bf56ce2f4;hp=ba8718c583053087efd9287921801a1b9f9fae03;hpb=643a8d9fe7dc8470db4cf7a6de639beebb339076;p=gdcm.git diff --git a/src/gdcmDocEntry.h b/src/gdcmDocEntry.h index ba8718c5..a76778b6 100644 --- a/src/gdcmDocEntry.h +++ b/src/gdcmDocEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.h,v $ Language: C++ - Date: $Date: 2005/01/28 15:10:56 $ - Version: $Revision: 1.42 $ + Date: $Date: 2005/01/31 12:19:33 $ + Version: $Revision: 1.44 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -43,6 +43,8 @@ public: DocEntry(DictEntry*); virtual ~DocEntry() {}; + virtual void Print (std::ostream &os = std::cout, std::string const &indent = ""); + /// Returns the Dicom Group number of the current Dicom entry uint16_t GetGroup() { return DicomDict->GetGroup(); }; @@ -77,7 +79,6 @@ public: /// \warning offset of the *value*, not of the Dicom entry size_t GetOffset() { return Offset; }; - /// \brief Sets only 'Read Length' (*not* 'Usable Length') of the current /// Dicom entry void SetReadLength(uint32_t l) { ReadLength = l; }; @@ -128,13 +129,11 @@ public: uint32_t GetFullLength(); - virtual void Copy(DocEntry *doc); + virtual void Copy(DocEntry *e); bool IsItemDelimitor(); bool IsSequenceDelimitor(); - virtual void Print (std::ostream &os = std::cout, std::string const & indent = ""); - protected: /// \brief pointer to the underlying Dicom dictionary element DictEntry *DicomDict; @@ -151,7 +150,7 @@ protected: /// breaking the underlying dictionary. bool ImplicitVR; - /// Offset from the begining of file for direct user access + /// Offset from the beginning of file for direct user access size_t Offset; /// \brief Generalized key of this DocEntry (for details on