1 /*=========================================================================
4 Module: $RCSfile: gdcmBinEntry.h,v $
6 Date: $Date: 2004/09/10 14:32:04 $
7 Version: $Revision: 1.16 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 #ifndef GDCMBINENTRY_H
20 #define GDCMBINENTRY_H
25 #include "gdcmValEntry.h"
27 //-----------------------------------------------------------------------------
29 * \ingroup gdcmBinEntry
30 * \brief The dicom header of a Dicom file contains a set of such entries
31 * (when successfuly parsed against a given Dicom dictionary)
32 * This one contains a 'string value'.
34 class GDCM_EXPORT gdcmBinEntry : public gdcmValEntry
38 gdcmBinEntry(gdcmDictEntry* e);
39 gdcmBinEntry(gdcmDocEntry* d);
43 void Print(std::ostream &os = std::cout);
44 void Write(FILE*, FileType);
46 /// \brief Returns the area value of the current Dicom Header Entry
47 /// when it's not string-translatable (e.g : a LUT table)
48 void* GetVoidArea() { return VoidArea; };
49 void SetVoidArea(void* area);
57 /// \brief unsecure memory area to hold 'non string' values
58 /// (ie : Lookup Tables, overlays, icons)
63 //-----------------------------------------------------------------------------