- // Question : SetLength est public
- // (sinon, on ne pourrait pas l'appeler dans ElValSet)
- // alors que *personne* ne devrait s'en servir !
- // c'est *forcément* la lgr de la string 'value', non?
-
- void SetValue(string val){ value = val; };
- string GetValue(void) { return value;};
-
- void SetOffset(size_t of){ Offset = of; };
- size_t GetOffset(void) { return Offset;};
- // Question : SetOffset est public ...
- // Quel utilisateur serait ammené à modifier l'Offset ?
+ 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; };
+