X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDicomDir.cxx;h=3a57a57a4d4d42805550e0ea50c08ca562805e35;hb=227ec8332a0a6a8eda9b049e3efee59fc164ac88;hp=6b758ed193b858919c233c5d0c1cb7dc73f80c93;hpb=c92079b4881cba2560589210d4baeed9dd4d9cac;p=gdcm.git diff --git a/src/gdcmDicomDir.cxx b/src/gdcmDicomDir.cxx index 6b758ed1..3a57a57a 100644 --- a/src/gdcmDicomDir.cxx +++ b/src/gdcmDicomDir.cxx @@ -3,12 +3,12 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.cxx,v $ Language: C++ - Date: $Date: 2004/08/31 14:24:47 $ - Version: $Revision: 1.67 $ + Date: $Date: 2004/09/27 08:39:05 $ + Version: $Revision: 1.70 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or - http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details. + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -233,8 +233,8 @@ void gdcmDicomDir::ParseDirectory() * @param argDelete Argument * \warning In python : the arg parameter isn't considered */ -void gdcmDicomDir::SetStartMethod(gdcmMethod *method, void *arg, - gdcmMethod *argDelete ) +void gdcmDicomDir::SetStartMethod(gdcmMethod* method, void* arg, + gdcmMethod* argDelete ) { if( startArg && startMethodArgDelete ) { @@ -253,7 +253,7 @@ void gdcmDicomDir::SetStartMethod(gdcmMethod *method, void *arg, * class is destroyed * @param method Method to call to delete the argument */ -void gdcmDicomDir::SetStartMethodArgDelete(gdcmMethod *method) +void gdcmDicomDir::SetStartMethodArgDelete(gdcmMethod* method) { startMethodArgDelete = method; } @@ -266,8 +266,8 @@ void gdcmDicomDir::SetStartMethodArgDelete(gdcmMethod *method) * @param argDelete Argument * \warning In python : the arg parameter isn't considered */ -void gdcmDicomDir::SetProgressMethod(gdcmMethod *method, void *arg, - gdcmMethod *argDelete ) +void gdcmDicomDir::SetProgressMethod(gdcmMethod* method, void* arg, + gdcmMethod* argDelete ) { if( progressArg && progressMethodArgDelete ) { @@ -286,7 +286,7 @@ void gdcmDicomDir::SetProgressMethod(gdcmMethod *method, void *arg, * class is destroyed * @param method Method to call to delete the argument */ -void gdcmDicomDir::SetProgressMethodArgDelete(gdcmMethod *method) +void gdcmDicomDir::SetProgressMethodArgDelete(gdcmMethod* method) { progressMethodArgDelete = method; } @@ -299,8 +299,8 @@ void gdcmDicomDir::SetProgressMethodArgDelete(gdcmMethod *method) * @param argDelete Argument * \warning In python : the arg parameter isn't considered */ -void gdcmDicomDir::SetEndMethod(gdcmMethod *method, void *arg, - gdcmMethod *argDelete ) +void gdcmDicomDir::SetEndMethod(gdcmMethod* method, void* arg, + gdcmMethod* argDelete ) { if( endArg && endMethodArgDelete ) { @@ -319,7 +319,7 @@ void gdcmDicomDir::SetEndMethod(gdcmMethod *method, void *arg, * is destroyed * @param method Method to call to delete the argument */ -void gdcmDicomDir::SetEndMethodArgDelete(gdcmMethod *method) +void gdcmDicomDir::SetEndMethodArgDelete(gdcmMethod* method) { endMethodArgDelete = method; } @@ -336,12 +336,12 @@ void gdcmDicomDir::SetEndMethodArgDelete(gdcmMethod *method) * @return false only when fail to open */ -bool gdcmDicomDir::WriteDicomDir(std::string const & fileName) +bool gdcmDicomDir::WriteDicomDir(std::string const& fileName) { uint16_t sq[4] = { 0x0004, 0x1220, 0xffff, 0xffff }; uint16_t sqt[4]= { 0xfffe, 0xe0dd, 0xffff, 0xffff }; - FILE * fp = fopen(fileName.c_str(), "wb"); + FILE* fp = fopen(fileName.c_str(), "wb"); if( !fp ) { printf("Failed to open(write) File [%s] \n", fileName.c_str()); @@ -526,7 +526,7 @@ gdcmDicomDirPatient * gdcmDicomDir::NewPatient() * \brief adds to the HTable * the gdcmEntries (Dicom Elements) corresponding to the given type * @param path full path file name (only used when type = GDCM_DICOMDIR_IMAGE - * @param type gdcmObject type to create (GDCM_DICOMDIR_PATIENT, + * @param type gdcmDicomDirObject type to create (GDCM_DICOMDIR_PATIENT, * GDCM_DICOMDIR_STUDY, GDCM_DICOMDIR_SERIE ...) * @param header gdcmHeader of the current file */