X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmBinEntry.h;h=bbc8451d3eea29d798f4d58a4528018d12cc0845;hb=44a9814938a6824d3a66b932429084517da6dadf;hp=8db65681770797bfda02f4ea5b11eb4c5dfb4f98;hpb=e40fc77cef3155aab87305ce2f8f14d1acbf158f;p=gdcm.git diff --git a/src/gdcmBinEntry.h b/src/gdcmBinEntry.h index 8db65681..bbc8451d 100644 --- a/src/gdcmBinEntry.h +++ b/src/gdcmBinEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBinEntry.h,v $ Language: C++ - Date: $Date: 2004/07/02 13:55:27 $ - Version: $Revision: 1.12 $ + Date: $Date: 2004/09/13 12:10:53 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,8 +16,8 @@ =========================================================================*/ -#ifndef GDCMBinEntry_H -#define GDCMBinEntry_H +#ifndef GDCMBINENTRY_H +#define GDCMBINENTRY_H #include #include @@ -31,24 +31,22 @@ * (when successfuly parsed against a given Dicom dictionary) * This one contains a 'string value'. */ -class GDCM_EXPORT gdcmBinEntry : public gdcmValEntry { - +class GDCM_EXPORT gdcmBinEntry : public gdcmValEntry +{ public: gdcmBinEntry(gdcmDictEntry* e); gdcmBinEntry(gdcmDocEntry* d); - ~gdcmBinEntry(void); + ~gdcmBinEntry(); void Print(std::ostream &os = std::cout); - virtual void Write(FILE*, FileType); + void Write(FILE*, FileType); /// \brief Returns the area value of the current Dicom Header Entry /// when it's not string-translatable (e.g : a LUT table) - void* GetVoidArea(void) { return voidArea; }; - - /// \brief Sets the value (non string) of the current Dicom Header Entry - void SetVoidArea(void * area) { voidArea = area; }; + void* GetVoidArea() { return VoidArea; } + void SetVoidArea( void* area ); protected: @@ -57,8 +55,8 @@ private: // Variables /// \brief unsecure memory area to hold 'non string' values - /// (ie : Lookup Tables, overlays, icons) - // void *voidArea; + /// (ie : Lookup Tables, overlays, icons) + void *VoidArea; };