- /// \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
- std::string & GetValue() { return Value; };
-
- /// Sets the value (string) of the current Dicom Document Entry
- void SetValue(std::string const & val) { Value = val; };
+ // Contructors and Destructor are public.
+ ValEntry(DictEntry *e);
+ ValEntry(DocEntry *d);
+
+ ~ValEntry();
+
+ // 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);