Program: gdcm
Module: $RCSfile: gdcmDictEntry.h,v $
Language: C++
- Date: $Date: 2005/02/01 10:41:33 $
- Version: $Revision: 1.32 $
+ Date: $Date: 2005/07/11 14:40:40 $
+ Version: $Revision: 1.35 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
/**
- * \ingroup DictEntry
* \brief
* the DictEntry in an element contained by the Dict.
* It contains :
// Print
void Print(std::ostream &os = std::cout, std::string const &indent = "");
-// Key creation
- static TagKey TranslateToKey(uint16_t group, uint16_t elem);
-
// Content of DictEntry
void SetVR(TagName const &vr);
void SetVM(TagName const &vm);
/// \brief sets the key of the current DictEntry
/// @param k New key to be set.
- void SetKey(TagName const &k) { Key = k; }
+ void SetKey(TagKey const &k) { Key = k; }
/// \brief returns the VM field of the current DictEntry
/// @return The 'Value Multiplicity' field
/// \brief Gets the key of the current DictEntry
/// @return the key.
- const TagName &GetKey() const { return Key; }
+ const TagKey &GetKey() const { return Key; }
+
+// Key creation
+ static TagKey TranslateToKey(uint16_t group, uint16_t elem);
private:
/// \todo FIXME