X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDataEntry.h;h=0464c372a6b46d2465cd2f5a1032ac0a0c63ca13;hb=9077bb6ff1cc18470cdb173327773c9130ba5f70;hp=d3a37de21a015dd102af0f5d91392446d150cc35;hpb=fafcabd41c8bd44143874bb4f4ef267e9a718864;p=gdcm.git diff --git a/src/gdcmDataEntry.h b/src/gdcmDataEntry.h index d3a37de2..0464c372 100644 --- a/src/gdcmDataEntry.h +++ b/src/gdcmDataEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.h,v $ Language: C++ - Date: $Date: 2006/01/20 09:17:25 $ - Version: $Revision: 1.12 $ + Date: $Date: 2006/03/01 09:29:29 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,6 +21,7 @@ #include "gdcmDocEntry.h" +#include // for GetDSValue #include namespace gdcm @@ -62,7 +63,7 @@ public: void SetValue(const uint32_t &id,const double &val); double GetValue(const uint32_t &id) const; - uint32_t GetValueCount(void) const; + uint32_t GetValueCount() const; bool IsValueCountValid() const; void SetString(std::string const &value); @@ -120,14 +121,16 @@ public: static void SetMaxSizePrintEntry(const uint32_t &size) { MaxSizePrintEntry = size; } + bool GetDSValue(std::vector &valueVector); + protected: DataEntry(DictEntry *e); DataEntry(DocEntry *d); ~DataEntry(); // Methods : - void NewBinArea(void); - void DeleteBinArea(void); + void NewBinArea( ); + void DeleteBinArea( ); // Members : /// \brief memory area to hold 'non std::string' representable values