From: regrain Date: Wed, 26 Jan 2005 15:40:18 +0000 (+0000) Subject: * gdcmPython.i : add gdcmContentEntry X-Git-Tag: Version1.0.bp~182 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=b1ab6f0e358f0fe1894b0198c7e0b57440e13c72;p=gdcm.git * gdcmPython.i : add gdcmContentEntry * Example/TestPapyrus.cxx : amelioration --- diff --git a/Example/TestPapyrus.cxx b/Example/TestPapyrus.cxx index 1dd3e144..39b2efb6 100644 --- a/Example/TestPapyrus.cxx +++ b/Example/TestPapyrus.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPapyrus.cxx,v $ Language: C++ - Date: $Date: 2005/01/26 09:49:53 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/01/26 15:40:18 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -218,7 +218,6 @@ int main(int argc, char* argv[]) std::string NumberOfFrames = gdcm::Util::Format("%d", nbImages); gdcm::File *n = new gdcm::File(); - n->InitializeDefaultFile(); n->InsertValEntry(MediaStSOPinstUID, 0x0002,0x0002); // Whe keep default gdcm Transfer Syntax (Explicit VR Little Endian) diff --git a/gdcmPython/gdcm.i b/gdcmPython/gdcm.i index 98298ca0..07d94731 100644 --- a/gdcmPython/gdcm.i +++ b/gdcmPython/gdcm.i @@ -27,6 +27,7 @@ #include "gdcmSQItem.h" #include "gdcmUtil.h" #include "gdcmDocEntry.h" +#include "gdcmContentEntry.h" #include "gdcmValEntry.h" #include "gdcmBinEntry.h" #include "gdcmSeqEntry.h" @@ -362,6 +363,7 @@ typedef unsigned long long uint64_t; %include "gdcmGlobal.h" %include "gdcmDicomDir.h" %include "gdcmDocEntry.h" +%include "gdcmContentEntry.h" %include "gdcmValEntry.h" %include "gdcmBinEntry.h" %include "gdcmSeqEntry.h"