Program: gdcm
Module: $RCSfile: gdcmDicomDirElement.cxx,v $
Language: C++
- Date: $Date: 2005/06/24 10:55:58 $
- Version: $Revision: 1.38 $
+ Date: $Date: 2005/07/11 14:40:40 $
+ Version: $Revision: 1.39 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::ostringstream s;
std::list<Element>::iterator it;
//char greltag[10]; //group element tag
- std::string greltag;
+ TagKey greltag;
s << "Meta Elements :"<<std::endl;
for (it = DicomDirMetaList.begin(); it != DicomDirMetaList.end(); ++it)
Program: gdcm
Module: $RCSfile: gdcmDictEntry.h,v $
Language: C++
- Date: $Date: 2005/02/02 15:07:41 $
- Version: $Revision: 1.34 $
+ 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
/// \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);
Program: gdcm
Module: $RCSfile: gdcmDocEntry.h,v $
Language: C++
- Date: $Date: 2005/02/04 14:49:01 $
- Version: $Revision: 1.46 $
+ Date: $Date: 2005/07/11 14:40:40 $
+ Version: $Revision: 1.47 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// 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
Program: gdcm
Module: $RCSfile: gdcmDocEntryArchive.cxx,v $
Language: C++
- Date: $Date: 2005/06/24 10:55:59 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2005/07/11 14:40:40 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
uint16_t group = newEntry->GetDictEntry()->GetGroup();
uint16_t elem = newEntry->GetDictEntry()->GetElement();
- std::string key = DictEntry::TranslateToKey(group,elem);
+ TagKey key = DictEntry::TranslateToKey(group,elem);
- if ( Archive.find(key)==Archive.end() )
+ if ( Archive.find(key) == Archive.end() )
{
// Save the old DocEntry if any
DocEntry *old = ArchFile->GetDocEntry(group, elem);
*/
bool DocEntryArchive::Push(uint16_t group, uint16_t elem)
{
- std::string key = DictEntry::TranslateToKey(group, elem);
+ TagKey key = DictEntry::TranslateToKey(group, elem);
if ( Archive.find(key)==Archive.end() )
{
*/
bool DocEntryArchive::Restore(uint16_t group, uint16_t elem)
{
- std::string key=DictEntry::TranslateToKey(group, elem);
+ TagKey key=DictEntry::TranslateToKey(group, elem);
TagDocEntryHT::iterator restoreIt=Archive.find(key);
if ( restoreIt!=Archive.end() )
Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.h,v $
Language: C++
- Date: $Date: 2005/07/11 12:52:51 $
- Version: $Revision: 1.52 $
+ Date: $Date: 2005/07/11 14:40:40 $
+ 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
class SeqEntry;
class DictEntry;
-typedef std::string BaseTagKey;
+typedef TagKey BaseTagKey;
//-----------------------------------------------------------------------------
/**