Program: gdcm
Module: $RCSfile: gdcmDocEntry.h,v $
Language: C++
- Date: $Date: 2005/10/18 08:35:49 $
- Version: $Revision: 1.50 $
+ Date: $Date: 2005/10/20 15:24:09 $
+ Version: $Revision: 1.53 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
public:
DocEntry(DictEntry*);
- /// \brief Canonical Destructor
- virtual ~DocEntry() {}
+ virtual ~DocEntry();
virtual void Print (std::ostream &os = std::cout, std::string const &indent = "");
virtual void WriteContent(std::ofstream *fp, FileType filetype);
/// Returns the Dicom Element number of the current Dicom entry
const uint16_t &GetElement() const { return DicomDict->GetElement();}
- /// Set the 'key' of the current Dicom entry
- void SetKey( TagKey const &key ) { Key = key; }
-
/// Returns the 'key' of the current Dicom entry
- TagKey const &GetKey() const { return Key; }
+ TagKey GetKey() const { return DicomDict->GetKey(); }
/// \brief Returns the 'Name' '(e.g. "Patient's Name") found in the Dicom
/// Dictionnary of the current Dicom Header Entry
/// \brief Returns the 'Value Representation' (e.g. "PN" : Person Name,
/// "SL" : Signed Long), found in the Dicom header or in the Dicom
/// Dictionnary, of the current Dicom entry
- std::string const &GetVR() const { return DicomDict->GetVR(); }
+ VRKey const &GetVR() const { return DicomDict->GetVR(); }
/// \brief Returns the 'Value Multiplicity' (e.g. "1", "1-n", "6"),
/// found in the Dicom entry or in the Dicom Dictionnary
/// Offset from the beginning of file for direct user access
size_t Offset;
- /// \brief Generalized key of this DocEntry (for details on
- /// the generalized key refer to \ref TagKey documentation).
- TagKey Key;
-
private:
};
} // end namespace gdcm