Program: gdcm
Module: $RCSfile: gdcmBinEntry.cxx,v $
Language: C++
- Date: $Date: 2004/09/09 17:49:24 $
- Version: $Revision: 1.24 $
+ Date: $Date: 2004/09/10 14:32:04 $
+ Version: $Revision: 1.25 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Public
+
+/// \brief Sets the value (non string) of the current Dicom Header Entry
+void gdcmBinEntry::SetVoidArea(void* area)
+{
+ if (VoidArea)
+ free(VoidArea);
+ VoidArea = area;
+}
+
//-----------------------------------------------------------------------------
// Protected
Program: gdcm
Module: $RCSfile: gdcmBinEntry.h,v $
Language: C++
- Date: $Date: 2004/09/09 17:49:24 $
- Version: $Revision: 1.15 $
+ Date: $Date: 2004/09/10 14:32:04 $
+ Version: $Revision: 1.16 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/// \brief Returns the area value of the current Dicom Header Entry
/// when it's not string-translatable (e.g : a LUT table)
void* GetVoidArea() { return VoidArea; };
-
- /// \brief Sets the value (non string) of the current Dicom Header Entry
- void SetVoidArea(void * area) { VoidArea = area; };
+ void SetVoidArea(void* area);
protected:
Program: gdcm
Module: $RCSfile: gdcmDocEntrySet.cxx,v $
Language: C++
- Date: $Date: 2004/09/07 13:57:04 $
- Version: $Revision: 1.19 $
+ Date: $Date: 2004/09/10 14:32:04 $
+ Version: $Revision: 1.20 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
/** \brief
* Creates a new DocEntry (without any 'value' ...)
* @param group group number of the underlying DictEntry
- * @param element element number of the underlying DictEntry
+ * @param elem elem number of the underlying DictEntry
*/
gdcmDocEntry* gdcmDocEntrySet::NewDocEntryByNumber(uint16_t group,
uint16_t elem)
Program: gdcm
Module: $RCSfile: gdcmDocument.cxx,v $
Language: C++
- Date: $Date: 2004/09/09 17:49:24 $
- Version: $Revision: 1.72 $
+ Date: $Date: 2004/09/10 14:32:04 $
+ Version: $Revision: 1.73 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
else
{
valEntry = dynamic_cast< gdcmValEntry* >(currentEntry);
- if ( !valEntry )
+ if ( !valEntry ) // Euuuuh? It wasn't a ValEntry
+ // then we change it to a ValEntry ?
+ // Shouldn't it be considered as an error ?
{
// We need to promote the gdcmDocEntry to a gdcmValEntry:
valEntry = new gdcmValEntry(currentEntry);
Program: gdcm
Module: $RCSfile: gdcmElementSet.h,v $
Language: C++
- Date: $Date: 2004/09/03 14:04:02 $
- Version: $Revision: 1.14 $
+ Date: $Date: 2004/09/10 14:32:04 $
+ Version: $Revision: 1.15 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
virtual void Print(std::ostream &os = std::cout);
virtual void Write(FILE *fp, FileType filetype);
- /// Accessor to \ref gdcmElementSet::tagHT
+ /// Accessor to \ref gdcmElementSet::TagHT
// Do not expose this to user (public API) !
- //I re-add it temporaryly JPRx
+ // I re-add it temporaryly JPRx
TagDocEntryHT &GetEntry() { return TagHT; };
protected: