+public:
+ std::string value;
+ void * voidArea; // unsecure memory area to hold 'non string' values
+ // (ie : Lookup Tables, overlays)
+ size_t Offset; // Offset from the begining of file for direct user access
+
+ gdcmElValue(gdcmDictEntry*);
+ void SetDictEntry(gdcmDictEntry *NewEntry) { entry = NewEntry; };
+ bool IsVrUnknown(void) { return entry->IsVrUnknown(); };
+ void SetImplicitVr(void) { ImplicitVr = true; };
+ bool IsImplicitVr(void) { return ImplicitVr; };
+
+ gdcmDictEntry * GetDictEntry(void) { return entry; };
+
+ 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(); };
+ std::string GetValue(void) { return value; };
+ void * GetVoidArea(void) { return voidArea; };
+ size_t GetOffset(void) { return Offset; };
+ guint32 GetLength(void) { return UsableLength; };
+ // for internal use only!
+ guint32 GetReadLength(void){ return ReadLength; };
+
+ void SetVR(std::string v) { entry->SetVR(v); };
+ void SetLength(guint32 l) { ReadLength=UsableLength=l;};
+ // The following 2 members, for internal use only !
+ void SetReadLength(guint32 l) { ReadLength = l; };
+ void SetUsableLength(guint32 l){ UsableLength = l; };
+
+ void SetValue(std::string val) { value = val; };
+ void SetVoidArea(void * area) { voidArea = area; };
+