- virtual void Print(std::ostream &os = std::cout);
- virtual void Write(FILE *fp, FileType filetype);
+ 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);
+
+
+ /// \brief returns the size threshold above which an element value
+ /// will NOT be *printed* in order no to polute the screen output
+ static long GetMaxSizePrintEntry() { return ValEntry::MaxSizePrintEntry; };
+
+ static void SetMaxSizePrintEntry(long);