Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/01/18 11:39:59 $
- Version: $Revision: 1.105 $
+ Date: $Date: 2005/01/19 08:57:14 $
+ Version: $Revision: 1.106 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
/**
- * \brief Move the content of the src SQItem to the dst SQItem
+ * \brief Move the content of the source SQItem to the destination SQItem
* Only DocEntry's are moved
- *
+ * @param dst destination SQItem
+ * @param src source SQItem
*/
void DicomDir::MoveSQItem(SQItem *dst,SQItem *src)
{
DocEntry *entry;
- src->Initialize();
- entry = src->GetNextEntry();
+ entry = src->GetFirstEntry();
while(entry)
{
src->RemoveEntryNoDestroy(entry);
dst->AddEntry(entry);
-
- src->Initialize();
entry = src->GetNextEntry();
}
}
/**
* \brief Get the first entry while visiting the DicomDirPatients
- * \return The next DicomDirPatient if found, otherwhise NULL
+ * \return The first DicomDirPatient if found, otherwhise NULL
*/
DicomDirPatient *DicomDir::GetFirstEntry()
{
Program: gdcm
Module: $RCSfile: gdcmDocument.h,v $
Language: C++
- Date: $Date: 2005/01/18 18:03:17 $
- Version: $Revision: 1.91 $
+ Date: $Date: 2005/01/19 08:57:14 $
+ Version: $Revision: 1.92 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
virtual std::string GetEntryVR(uint16_t group, uint16_t elem);
virtual int GetEntryLength(uint16_t group, uint16_t elem);
- DocEntry *GetDocEntry(uint16_t group, uint16_t element);
- ValEntry *GetValEntry(uint16_t group, uint16_t element);
- BinEntry *GetBinEntry(uint16_t group, uint16_t element);
- SeqEntry *GetSeqEntry(uint16_t group, uint16_t element);
+ DocEntry *GetDocEntry(uint16_t group, uint16_t element);
+ ValEntry *GetValEntry(uint16_t group, uint16_t element);
+ BinEntry *GetBinEntry(uint16_t group, uint16_t element);
+ SeqEntry *GetSeqEntry(uint16_t group, uint16_t element);
ValEntry *ReplaceOrCreate(std::string const &value,
uint16_t group, uint16_t elem,