- /// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted into a
- /// 'string', if it's stored as an integer in the header of the
- /// current Dicom Document Entry
- inline std::string GetValue() { return value; };
-
- /// Sets the value (string) of the current Dicom Document Entry
- inline void SetValue(std::string val) { value = val; };
-
- /// Sets the value (void *) of the current Dicom Document Entry
- inline void SetVoidArea(void * val) { voidArea = val; };
-
- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType filetype);
-protected:
+ // Other accessors are inherited from gdcm::ContentEntry
+
+ void Print(std::ostream &os = std::cout,
+ std::string const & indent = "");
+
+ void WriteContent(std::ofstream *fp, FileType filetype);
+
+ /// Sets the value (string) of the current Dicom entry.
+ /// The size is updated
+ void SetValue(std::string const &val);