- Key = TranslateToKey(group, elem);
-}
-
-//-----------------------------------------------------------------------------
-// Print
-/**
- * \brief Prints an entry of the Dicom DictionaryEntry
- * @param os ostream we want to print in
- * @param indent Indentation string to be prepended during printing
- */
-void DictEntry::Print(std::ostream &os, std::string const & )
-{
- std::string vr;
- std::ostringstream s;
-
- vr = GetVR();
- if(vr==GDCM_UNKNOWN)
- vr=" ";
-
- s << DictEntry::TranslateToKey(GetGroup(),GetElement());
- s << " [" << vr << "] ";
-
- if (PrintLevel >= 1)
- {
- s.setf(std::ios::left);
- s << std::setw(66-GetName().length()) << " ";
- }
-
- s << "[" << GetName()<< "]";
- os << s.str() << std::endl;