7 namespace manipulators {
23 const std::string&
value()
const {
return m_str; }
25 std::string&
value() {
return m_str; }
27 std::shared_ptr<dicom::RawValue>
raw_value()
override;
28 std::string
str()
const override;
29 bool read_from(dicom::RawReader* reader,
size_t num_bytes)
override;
30 size_t write_to(dicom::RawWriter* writer)
const override;
size_t write_to(dicom::RawWriter *writer) const override
virtual bool operator!=(const ValueManipulator &other) const override
A manipulator class for VR that represent a single string.
Definition: single_string_manipulator.h:13
std::string str() const override
bool read_from(dicom::RawReader *reader, size_t num_bytes) override
const std::string & value() const
Definition: single_string_manipulator.h:23
SingleStringManipulator()
Definition: value_manipulator.h:29
std::shared_ptr< dicom::RawValue > raw_value() override
std::string & value()
Definition: single_string_manipulator.h:25
virtual bool operator==(const ValueManipulator &other) const override