+2004-12-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
+ * src/gdcmFile.cxx : Add the code of ReplaceOrCreateByNumber to not have
+ problems when compiling with the python wrapping
+
2004-12-16 Benoit Regrain <Benoit.Regrain@creatis.insa-lyon.fr>
* src/gdcmFile.cxx : bug fix. Omitted a Push in the DocEntryArchive when
writting in ImplicitVR
Program: gdcm
Module: $RCSfile: gdcmFile.cxx,v $
Language: C++
- Date: $Date: 2004/12/16 10:41:59 $
- Version: $Revision: 1.176 $
+ Date: $Date: 2004/12/16 10:51:49 $
+ Version: $Revision: 1.177 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
return HeaderInternal->ReplaceOrCreateByNumber(content,group,element) != NULL;
}
+bool File::ReplaceOrCreateByNumber(uint8_t* binArea, int lgth,
+ uint16_t group, uint16_t element)
+{
+ return HeaderInternal->ReplaceOrCreateByNumber(binArea,lgth,group,element) != NULL;
+}
+
/**
* \brief Access to the underlying \ref PixelReadConverter RGBA LUT
*/
Program: gdcm
Module: $RCSfile: gdcmFile.h,v $
Language: C++
- Date: $Date: 2004/12/10 13:49:07 $
- Version: $Revision: 1.86 $
+ Date: $Date: 2004/12/16 10:51:49 $
+ Version: $Revision: 1.87 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
bool ReplaceOrCreateByNumber(std::string const& content,
uint16_t group, uint16_t element);
bool ReplaceOrCreateByNumber(uint8_t* binArea, int lgth,
- uint16_t group, uint16_t elem);
+ uint16_t group, uint16_t element);
uint8_t* GetLutRGBA();