X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmElValue.h;h=9dec12ca15419b8e93f75bb64f9b0c5f23bf4217;hb=b8a5842638a6d29023d5440c09b08c94b0cbcc75;hp=1365d8bc9b2c879194a0166e63b058dac69e77c1;hpb=595f90023c498f01bba240043841088ba5d45872;p=gdcm.git diff --git a/src/gdcmElValue.h b/src/gdcmElValue.h index 1365d8bc..9dec12ca 100644 --- a/src/gdcmElValue.h +++ b/src/gdcmElValue.h @@ -1,4 +1,4 @@ -// $Header: /cvs/public/gdcm/src/Attic/gdcmElValue.h,v 1.4 2003/04/09 14:04:53 jpr Exp $ +// $Header: /cvs/public/gdcm/src/Attic/gdcmElValue.h,v 1.5 2003/05/21 14:42:46 frog Exp $ #ifndef GDCMELVALUE_H #define GDCMELVALUE_H @@ -24,7 +24,7 @@ private: //friend gdcmElValue * gdcmHeader::ReadNextElement(void); friend class gdcmHeader; public: - string value; + std::string value; size_t Offset; // Offset from the begining of file for direct user access gdcmElValue(gdcmDictEntry*); @@ -34,17 +34,17 @@ public: bool IsImplicitVr(void) { return ImplicitVr; }; gdcmDictEntry * GetDictEntry(void) { return entry; }; - guint16 GetGroup(void) { return entry->GetGroup(); }; - guint16 GetElement(void) { return entry->GetElement();}; - string GetKey(void) { return entry->GetKey(); }; - string GetName(void) { return entry->GetName(); }; - string GetVR(void) { return entry->GetVR(); }; - void SetVR(string v) { entry->SetVR(v); }; - void SetLength(guint32 l){ LgrElem = l; }; - guint32 GetLength(void) { return LgrElem; }; + guint16 GetGroup(void) { return entry->GetGroup(); }; + guint16 GetElement(void) { return entry->GetElement();}; + std::string GetKey(void) { return entry->GetKey(); }; + std::string GetName(void) { return entry->GetName(); }; + std::string GetVR(void) { return entry->GetVR(); }; + void SetVR(std::string v) { entry->SetVR(v); }; + void SetLength(guint32 l){ LgrElem = l; }; + guint32 GetLength(void) { return LgrElem; }; - void SetValue(string val){ value = val; }; - string GetValue(void) { return value;}; + void SetValue(std::string val){ value = val; }; + std::string GetValue(void) { return value;}; size_t GetOffset(void) { return Offset;}; };