Program: gdcm
Module: $RCSfile: gdcmDictEntry.h,v $
Language: C++
- Date: $Date: 2005/10/19 13:17:04 $
- Version: $Revision: 1.38 $
+ Date: $Date: 2005/10/21 15:34:56 $
+ Version: $Revision: 1.42 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
class GDCM_EXPORT DictEntry : public DicomEntry
{
+ gdcmTypeMacro(DictEntry);
+
public:
- DictEntry(uint16_t group,
- uint16_t elem,
+ static DictEntry *New(uint16_t group, uint16_t elem,
VRKey const &vr = GDCM_VRUNKNOWN,
TagName const &vm = GDCM_UNKNOWN,
TagName const &name = GDCM_UNKNOWN);
/// e.g. "Patient Name" for Dicom Tag (0x0010, 0x0010)
/// @return the Dicom Name
const TagName &GetName() const { return Name; }
-
+
+protected:
+ DictEntry(uint16_t group, uint16_t elem,
+ VRKey const &vr = GDCM_VRUNKNOWN,
+ TagName const &vm = GDCM_UNKNOWN,
+ TagName const &name = GDCM_UNKNOWN);
+
private:
/// \brief Value Multiplicity (e.g. "1", "1-n", "6")
TagName VM;