Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.cxx,v $
Language: C++
- Date: $Date: 2004/10/22 03:05:41 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2004/10/25 04:08:20 $
+ Version: $Revision: 1.17 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
namespace gdcm
{
-
//-----------------------------------------------------------------------------
// Constructor / Destructor
DicomDirStudy::DicomDirStudy(SQItem* s, TagDocEntryHT* ptagHT):
DicomDirObject(ptagHT)
{
- docEntries = s->GetDocEntries();
+ DocEntries = s->GetDocEntries();
}
/**
* \ingroup DicomDirStudy
*/
DicomDirStudy::~DicomDirStudy()
{
- for(ListDicomDirSerie::iterator cc = series.begin();cc != series.end();++cc)
+ for(ListDicomDirSerie::iterator cc = Series.begin();
+ cc != Series.end();
+ ++cc )
{
delete *cc;
}
os << "STUDY" << std::endl;
DicomDirObject::Print(os);
- for(ListDicomDirSerie::iterator cc = series.begin();
- cc != series.end();
+ for(ListDicomDirSerie::iterator cc = Series.begin();
+ cc != Series.end();
++cc)
{
(*cc)->SetPrintLevel(PrintLevel);
{
DicomDirObject::Write(fp, t);
- for(ListDicomDirSerie::iterator cc = series.begin();cc!=series.end();++cc)
+ for(ListDicomDirSerie::iterator cc = Series.begin();
+ cc!= Series.end();
+ ++cc )
{
(*cc)->Write( fp, t );
}
*/
DicomDirSerie* DicomDirStudy::NewSerie()
{
- std::list<Element> elemList =
+ ListDicomDirSerieElem const & elemList =
Global::GetDicomDirElements()->GetDicomDirSerieElements();
DicomDirSerie* st = new DicomDirSerie(PtagHT);
FillObject(elemList);
- series.push_front(st);
+ Series.push_front(st);
return st;
}