]> Creatis software - gdcm.git/commit
* In order to fix writing of dicom files:
authorfrog <frog>
Fri, 18 Jun 2004 12:26:53 +0000 (12:26 +0000)
committerfrog <frog>
Fri, 18 Jun 2004 12:26:53 +0000 (12:26 +0000)
commit8e1fe98f7659cec85bcbce8551e28f8e45971370
tree48ae7f6c5159233aa220e69fafda28ab6b748bf3
parentcf66ed219aec63038f62f96f5fbdc4e37868bb0d
   * In order to fix writing of dicom files:
     - Test/TestWriteSimple.cxx: a simpler example of writing.
     - Test/CMakeLists.txt changed accordingly.
     - src/gdcmDocument.cxx:
       -- The destructor now recursilvely removes potential sequences.
       -- Bug fix in ::IsJPEG2000()
       -- ::ReplaceOrCreateByNumber(std::string, guint16, guint16)
          now handles promotion of gdcmDocEntry to gdcmValEntry in a cleaner
          manner.
       -- ::GetValEntryByNumber(guint16, guint16) now defined (as opposed
          to only declared) and build on top of
          ::GetDocEntryByNumber(guint16, guint16).
       -- ::SetEntryByNumber() now uses GetValEntryByNumber(group, element)
     - src/gdcmElementSet.[h|cxx]: added ::RemoveEntry(gdcmDocEntry *)
       for usage in destructor and treatement of promotion in
       ::ReplaceOrCreateByNumber().
     - src/gdcmSQItem.cxx: destructor should better handle his job.
      Test/TestWriteSimple now runs (or at least it DOES something).
    * We can now start hutting memory links. A good starting point is:
      valgrind -q --skin=memcheck --leak-check=yes --leak-resolution=high
      --num-callers=100 --show-reachable=yes gdcmTests TestWriteSimple
      $(GDCMDATA_HOME)/012345.002.050.dcm foo.dcm
ChangeLog
Testing/CMakeLists.txt
Testing/TestWriteSimple.cxx [new file with mode: 0644]
src/gdcmBinEntry.cxx
src/gdcmDocument.cxx
src/gdcmDocument.h
src/gdcmElementSet.cxx
src/gdcmElementSet.h
src/gdcmSQItem.cxx