78 namespace manipulators {
91 typedef std::vector<T> base_vector;
96 typedef typename base_vector::iterator
iterator;
101 using base_vector::operator[];
102 using base_vector::at;
104 using base_vector::clear;
105 using base_vector::erase;
106 using base_vector::reserve;
107 using base_vector::resize;
108 using base_vector::size;
109 using base_vector::begin;
110 using base_vector::end;
111 using base_vector::front;
112 using base_vector::back;
113 using base_vector::push_back;
114 using base_vector::emplace_back;
120 std::shared_ptr<dicom::RawValue>
raw_value()
override;
121 std::string
str()
const override;
122 bool read_from(dicom::RawReader* reader,
size_t num_bytes)
override;
123 size_t write_to(dicom::RawWriter* writer)
const override;
130 void parse_from_string(
const std::string& s);
virtual bool operator!=(const ValueManipulator &other) const override
Definition: padded_string_manipulator_impl.h:94
base_vector::size_type size_type
Definition: padded_string_manipulator.h:95
base_vector::value_type value_type
Definition: padded_string_manipulator.h:94
PaddedStringManipulator()
Definition: padded_string_manipulator_impl.h:9
std::shared_ptr< dicom::RawValue > raw_value() override
Definition: padded_string_manipulator_impl.h:26
virtual bool operator==(const ValueManipulator &other) const override
Definition: padded_string_manipulator_impl.h:86
bool read_from(dicom::RawReader *reader, size_t num_bytes) override
Definition: padded_string_manipulator_impl.h:55
base_vector::const_reference const_reference
Definition: padded_string_manipulator.h:99
Definition: value_manipulator.h:29
size_t write_to(dicom::RawWriter *writer) const override
Definition: padded_string_manipulator_impl.h:80
base_vector::reference reference
Definition: padded_string_manipulator.h:98
base_vector::iterator iterator
Definition: padded_string_manipulator.h:96
A manipulator class for VR that represent elements which are encoded in DICOM using strings...
Definition: padded_string_manipulator.h:89
std::string str() const override
Definition: padded_string_manipulator_impl.h:31
base_vector::const_iterator const_iterator
Definition: padded_string_manipulator.h:97