Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2004/07/17 22:36:55 $
- Version: $Revision: 1.56 $
+ Date: $Date: 2004/07/19 03:34:11 $
+ Version: $Revision: 1.57 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// gdcmDocument already executed
// if user passed a root directory, sure we didn't get anything
- if( GetEntry().begin() == GetEntry().end() )
+ if( TagHT.begin() == TagHT.end() )
{
dbg.Verbose(0, "gdcmDicomDir::gdcmDicomDir : entry HT empty");
{
if(metaElems)
{
- metaElems->SetPrintLevel(printLevel);
+ metaElems->SetPrintLevel(PrintLevel);
metaElems->Print(os);
}
for(ListDicomDirPatient::iterator cc = patients.begin();
cc != patients.end();
++cc)
{
- (*cc)->SetPrintLevel( printLevel );
+ (*cc)->SetPrintLevel( PrintLevel );
(*cc)->Print( os );
}
}
VectDocument list;
gdcmHeader *header;
- tagHT.clear();
+ TagHT.clear();
patients.clear();
for( gdcmDirList::iterator it = fileList.begin();
gdcmDicomDirMeta * gdcmDicomDir::NewMeta()
{
- gdcmDicomDirMeta *m = new gdcmDicomDirMeta( &tagHT );
- for ( TagDocEntryHT::iterator cc = tagHT.begin();
- cc != tagHT.end(); ++cc)
+ gdcmDicomDirMeta *m = new gdcmDicomDirMeta( &TagHT );
+ for ( TagDocEntryHT::iterator cc = TagHT.begin();
+ cc != TagHT.end(); ++cc)
{
m->AddDocEntry( cc->second );
}
s->AddDocEntry( entry );
}
- gdcmDicomDirPatient *p = new gdcmDicomDirPatient(s, &tagHT);
+ gdcmDicomDirPatient *p = new gdcmDicomDirPatient(s, &TagHT);
patients.push_front( p );
return p;
}
}
//AddDocEntry(entry); // both in H Table and in chained list
- tagHT[entry->GetKey()] = entry; // FIXME : use a SEQUENCE !
+ TagHT[entry->GetKey()] = entry; // FIXME : use a SEQUENCE !
}
}
}
ListSQItem listItems = s->GetSQItems();
- gdcmDicomDirMeta *m = new gdcmDicomDirMeta(&tagHT);
+ gdcmDicomDirMeta *m = new gdcmDicomDirMeta(&TagHT);
(void)m; //??
gdcmDocEntry * d;
{
delete metaElems;
}
- metaElems = new gdcmDicomDirMeta( &tagHT );
+ metaElems = new gdcmDicomDirMeta( &TagHT );
}
/**
*/
void gdcmDicomDir::AddDicomDirPatientToEnd(gdcmSQItem *s)
{
- patients.push_back(new gdcmDicomDirPatient(s, &tagHT));
+ patients.push_back(new gdcmDicomDirPatient(s, &TagHT));
}
/**
{
ListDicomDirPatient::iterator itp = patients.end();
itp--;
- (*itp)->AddDicomDirStudy(new gdcmDicomDirStudy(s, &tagHT));
+ (*itp)->AddDicomDirStudy(new gdcmDicomDirStudy(s, &TagHT));
}
}
{
ListDicomDirStudy::iterator itst=(*itp)->GetDicomDirStudies().end();
itst--;
- (*itst)->AddDicomDirSerie(new gdcmDicomDirSerie(s, &tagHT));
+ (*itst)->AddDicomDirSerie(new gdcmDicomDirSerie(s, &TagHT));
}
}
}
{
ListDicomDirSerie::iterator its = (*itst)->GetDicomDirSeries().end();
its--;
- (*its)->AddDicomDirImage(new gdcmDicomDirImage(s, &tagHT));
+ (*its)->AddDicomDirImage(new gdcmDicomDirImage(s, &TagHT));
}
}
}