+2004-02-04 Benoit Regrain
+ * FIX : WriteEntries : coding style & logic in parameters
+
2004-02-03 Benoit Regrain
* gdcmDirList : to parse a hard drive directory in recursive (or not)
* gdcmDicomDir : add the load of directory
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\gdcmDirList.cxx\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\gdcmException.cxx\r
# End Source File\r
# Begin Source File\r
# PROP Default_Filter "h;hpp;hxx;hm;inl"\r
# Begin Source File\r
\r
+SOURCE=..\..\src\gdcmDirList.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\init.h\r
# Begin Custom Build - Performing Custom Build Step on $(VTKPATH)\bin\initwrappythonwin32 vtkgdcmPython vtkGdmReader > $(ProjDir)\vtkGdcmInit.cxx\r
ProjDir=.\r
# Begin Special Build Tool\r
ProjDir=.\r
SOURCE="$(InputPath)"\r
-PostBuild_Cmds=move $(ProjDir)\gdcm.py $(ProjDir)\..\ \r
+PostBuild_Cmds=move $(ProjDir)\gdcm.py $(ProjDir)\..\ \r
# End Special Build Tool\r
# Begin Target\r
\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\gdcmDirList.cxx\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\gdcmException.cxx\r
# End Source File\r
# Begin Source File\r
Sources.extend(Jpeg8Sources)
Jpeg12Sources = glob.glob(os.path.join(gdcmJpeg12SrcDir,"j*.c"))
-Jpeg12SourcesToRemove = ['jmemansi12.c', 'jmemname12.c', 'jmemdos12.c', 'jmemmac12.c']
+Jpeg12SourcesToRemove = ['jmemansi12.c', 'jmemname12.c', 'jmemdos12.c',
+ 'jmemmac12.c']
for Remove in Jpeg12SourcesToRemove:
### Because setup.py is a multiple pass process we need to trap
### the case where the files were allready wed out on a previous pass.
fwrite("DICM",4,1,fp1);
free(filePreamble);
- WriteEntries(DICOMDIR,fp1);
+ WriteEntries(fp1,DICOMDIR);
fclose(fp1);
UpdateGroupLength(true,ACR);
*/
- WriteEntries(type, fp);
+ WriteEntries(fp,type);
return(true);
}
* (ACR-NEMA, ExplicitVR, ImplicitVR)
* @param _fp already open file pointer
*/
-void gdcmParser::WriteEntries(FileType type, FILE * _fp)
+void gdcmParser::WriteEntries(FILE *_fp,FileType type)
{
guint16 gr, el;
guint32 lgr;
void LoadHeaderEntrySafe(gdcmHeaderEntry *);
void UpdateGroupLength(bool SkipSequence = false, FileType type = ImplicitVR);
- void WriteEntries(FileType type, FILE *);
+ void WriteEntries(FILE *_fp,FileType type);
// Variables
FILE *fp;
# End Source File\r
# Begin Source File\r
\r
+SOURCE=..\..\src\gdcmDirList.cxx\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\src\gdcmException.cxx\r
# End Source File\r
# Begin Source File\r
# Begin Group "Header Files"\r
\r
# PROP Default_Filter "h;hpp;hxx;hm;inl"\r
-# Begin Source File\r
-\r
-SOURCE=..\vtkGdcmReader.h\r
-# End Source File\r
# End Group\r
# Begin Group "Resource Files"\r
\r
# End Group\r
# Begin Source File\r
\r
+SOURCE=..\..\src\gdcmDirList.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=..\..\lib\libgdcmljpeg.lib\r
# End Source File\r
# Begin Source File\r