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);
24 /// \brief Returns the 'Value' (e.g. "Dupond Marcel") converted into a
25 /// 'string', if it's stored as an integer in the header of the
26 /// current Dicom Document Entry
27 inline std::string GetValue(void) { return value; };
29 /// Sets the value (string) of the current Dicom Document Entry
30 inline void SetValue(std::string val) { value = val; };
32 virtual void Print(std::ostream &os = std::cout);
36 /// \brief for 'non string' values. Will be move to gdcmBinEntry, later
37 void* voidArea; // clean it out later
43 /// \brief Document Entry value, stored as a std::string (VR will be used,
50 //-----------------------------------------------------------------------------