X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.h;h=bb94d11b4f8861bf4bfe762a1832751a31f44fe8;hb=b52b5feabba0d38b605acbae69355c031047c957;hp=b77f294355f4539ed220c1a7402273de02747d0b;hpb=5b89bede4607999aeb8d5b45311e7ee82f9471ef;p=gdcm.git diff --git a/src/gdcmDocEntry.h b/src/gdcmDocEntry.h index b77f2943..bb94d11b 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/02/02 16:18:48 $ - Version: $Revision: 1.45 $ + Date: $Date: 2005/08/24 12:09:13 $ + Version: $Revision: 1.48 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,6 +41,7 @@ class GDCM_EXPORT DocEntry : public Base { public: DocEntry(DictEntry*); + /// \brief Canonical Destructor virtual ~DocEntry() {}; virtual void Print (std::ostream &os = std::cout, std::string const &indent = ""); @@ -58,8 +59,9 @@ public: /// Set the 'key' of the current Dicom entry void SetKey( TagKey const &key ) { Key = key; } + /// Returns the 'key' of the current Dicom entry - std::string const &GetKey() const { return Key; } + TagKey const &GetKey() const { return Key; } /// \brief Returns the 'Name' '(e.g. "Patient's Name") found in the Dicom /// Dictionnary of the current Dicom Header Entry @@ -124,6 +126,7 @@ public: bool IsVMUnknown() { return DicomDict->IsVMUnknown(); }; bool IsItemDelimitor(); + bool IsItemStarter(); bool IsSequenceDelimitor(); virtual void Copy(DocEntry *e);