malaterre [Tue, 11 Jan 2005 00:37:41 +0000 (00:37 +0000)]
ENH: Adding a new method on TS: IsTransferSyntax. Where you pass in a string and it return if this is a valid Transfer Syntax. So far gdcm is broken since 1.2.840.113619.5.2 is not handled
malaterre [Mon, 10 Jan 2005 20:52:39 +0000 (20:52 +0000)]
ENH: Finally remove previous solution. Found a much better (and simplier approach) that -seems to- works in every configuration: Win32 static/shared and MacOSX (within ITK or not)
malaterre [Mon, 10 Jan 2005 19:23:31 +0000 (19:23 +0000)]
BUG: Hopefully fix the bug on MacOSX and static global initialization. This is the only -minor- patch I found that both please MacOSX and VS6. Other patch would be to declare a const std::string & GDCM_UNFOUND() instead, but this would require a lot of change. Another approach wqould be that Global create those string and GDCM_UNFOUND becomes a pointer to a string (which gdcm::Global would destroy at exit).
malaterre [Sat, 8 Jan 2005 23:14:05 +0000 (23:14 +0000)]
Two things at once: start removing hack for old ostrstream which was really bad (and shouldn't work anyway). Plus attempt to fix problem with multithread on Mac where string object are not created properly.
jpr [Sat, 8 Jan 2005 15:03:56 +0000 (15:03 +0000)]
According to Benoit's suggestion, and without any objection from anybody
- methods SetxxxByNumber and GetxxxByNumber renamed as Setxxx and Get xxx
- methods Dict::Print() and Dict::PrintByKey() merged into Dict::Print()
- method gdcmDicomDirObject::GetEntry() renamed as
gdcmDicomDirObject::GetEntryHT() to avoid confusion (and compile error)
regrain [Fri, 7 Jan 2005 16:45:51 +0000 (16:45 +0000)]
* src/gdcmDocEntry.[h|cxx] : now the ReadLength is the length of the datas
to read in the file... and only it ! Length is the efective length of the
datas in the DocEntry structure
-- BeNours
jpr [Fri, 7 Jan 2005 16:34:47 +0000 (16:34 +0000)]
Removal of useless groupNameAbbreviations2004.dic
Add dicomGroupNameAbbreviations.dic
should be used to write a method to replace the former
Dict::GetDictEntryNamesByCategory()
malaterre [Fri, 7 Jan 2005 16:26:11 +0000 (16:26 +0000)]
ENH: Change the gdcmDebug approach. Remov the global static debug 'dbg'. And now use a static function call instead, with a global variable. This is much closer to the VTK approach. Hopefully should be bulletproof and easier to use...hopefully
jpr [Thu, 6 Jan 2005 17:08:05 +0000 (17:08 +0000)]
Doxygenation
+ modif Coding style :
According with Benoit (and Doxygen) we shall use, just like anybody :
T *foo
or
T &foo
and NOT
T* foo
or
T & foo
(that was gdcm-special)
regrain [Thu, 6 Jan 2005 13:35:37 +0000 (13:35 +0000)]
* src/gdcmDictEntry.h : now, the IsVRUnknown is correct
* src/gdcmDocument.[h|cxx] : simplify the search of VR value when parsing
a file
* src/gdcmDocEntrySet.cxx : now the created DocEntry without values is good
when specifying the VR
* src/gdcmVR.[h|cxx] : add usefull method to test the validity of a VR
* src/gdcmDocEntry.cxx : amelioration of print
-- BeNours
regrain [Wed, 5 Jan 2005 15:38:27 +0000 (15:38 +0000)]
* src/gdcmCommon.h : add the GDCM_UNKNOWN constant. This constant is to
replace the different values "??", "Unkn", "Unknown".
* src/gdcmDicomDirElement.h, gdcmDictEntry.h, gdcmDictSet.h,
gdcmDocEntry.cxx, gdcmDocEntrySet.[h|cxx], gdcmDocument.h, gdcmSQItem.cxx,
gdcmVR.cxx : use the GDCM_UNKNOWN constant.
* Appears a bug in gdcmDictEntry : IsVRUnknown always returns false... bad
-- BeNours
regrain [Thu, 16 Dec 2004 13:46:36 +0000 (13:46 +0000)]
* src/gdcmBase.[h|cxx] : new base class. Contains the PrintLevel and an
empty Print Method
* Set the gdcm::Base class to some Printable classes
-- BeNours
regrain [Thu, 16 Dec 2004 11:37:01 +0000 (11:37 +0000)]
* src/gdcmFile.[h|cxx] : add the Print method
* src/gdcmPixelReadConvert.[h|cxx] : add the generalized Print method
* src/gdcmDocEntrySet.h : generalize the Print with the PrintLevel
* src/gdcmDocument.h : remove the PrintLevel informations
* Example/PrintFile.cxx : use the new gdcm::File::Print
-- BeNours