2 //-----------------------------------------------------------------------------
9 #include "gdcmDocEntry.h"
11 //-----------------------------------------------------------------------------
13 * \ingroup gdcmValEntry
14 * \brief The dicom header of a Dicom file contains a set of such entries
15 * (when successfuly parsed against a given Dicom dictionary)
17 class GDCM_EXPORT gdcmValEntry : public gdcmDocEntry {
21 gdcmValEntry(gdcmDictEntry* e);
22 gdcmValEntry(gdcmDocEntry* d);
25 /// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted into a
26 /// 'string', if it's stored as an integer in the header of the
27 /// current Dicom Document Entry
28 inline std::string GetValue(void) { return value; };
30 /// Sets the value (string) of the current Dicom Document Entry
31 inline void SetValue(std::string val) { value = val; };
33 virtual void Print(std::ostream &os = std::cout);
37 /// \brief for 'non string' values. Will be move to gdcmBinEntry, later
38 void* voidArea; // clean it out later
44 /// \brief Document Entry value, stored as a std::string (VR will be used,
51 //-----------------------------------------------------------------------------