[Dcmlib] DicomDir and private members
Jean-Pierre ROUX
jean-pierre.roux at creatis.insa-lyon.fr
Sun Aug 19 17:04:56 CEST 2007
At 10:32 +0200 10/08/07, Aldredo Gourbish wrote:
>Hi all,
>
>I have a question for the DicomDir class.
>I saw that the Patients list is "private", and there is no getter to
>have the number of patients.
I just added then in the current CVS version.
DicomDir::GetNumberOfPatients()
DicomDirPatients::GetNumberOfStudies()
DicomDirStudy::GetNumberOfSeries()
DicomDirSerie::GetNumberOfImages()
HTH.
Jean-Pierre Roux
>So why can't we have the number of patients or, if it is possible,
>how can we have this number without using "GetFirstPatient()" and
>"GetNextPatient()" to traverse the entire list with a "while" or a
>"for" ?
>Moreover, I have the same question with DicomDirPatient,
>DicomDirStudy, DicomDirSerie
>DicomDirImage and the number of Studies, the number of Series, the
>number of Images.
>
>Thank's in advance to answer my question, have a nice day.
>
Gourbish
Jean-Pierre ROUX
CREATIS - CNRS UMR 5220, INSERM U 630
Laboratoire de Radiologie Experimentale
Hopital Cardiologique
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
Tel : (+33) 04 72 35 74 12
Fax : (+33) 04 72 68 49 16
URL : http://www.creatis.univ-lyon1.fr
e-mail : jpr at creatis.univ-lyon1.fr/~jpr
More information about the Dcmlib
mailing list