vega
|
A manipulator class for VR that represent elements which are encoded in DICOM using strings. More...
#include <vega/manipulators/padded_string_manipulator.h>
Public Types | |
typedef base_vector::value_type | value_type |
typedef base_vector::size_type | size_type |
typedef base_vector::iterator | iterator |
typedef base_vector::const_iterator | const_iterator |
typedef base_vector::reference | reference |
typedef base_vector::const_reference | const_reference |
Public Member Functions | |
PaddedStringManipulator () | |
PaddedStringManipulator (std::shared_ptr< dicom::RawValue > raw_value) | |
PaddedStringManipulator (const std::string &s) | |
std::shared_ptr< dicom::RawValue > | raw_value () override |
std::string | str () const override |
bool | read_from (dicom::RawReader *reader, size_t num_bytes) override |
size_t | write_to (dicom::RawWriter *writer) const override |
virtual bool | operator== (const ValueManipulator &other) const override |
virtual bool | operator!= (const ValueManipulator &other) const override |
![]() | |
virtual | ~ValueManipulator ()=0 |
virtual bool | is_valid_for (const VR &vr) const |
A manipulator class for VR that represent elements which are encoded in DICOM using strings.
This manipulator inherits from std::vector<T>
and therefore includes many helpful methods for handling vectors of the input type T. By only having to deal with a vector of generic elements T, there is no need to concern oneself with the conversion to the DICOM string.
typedef base_vector::const_iterator vega::manipulators::PaddedStringManipulator< T >::const_iterator |
typedef base_vector::const_reference vega::manipulators::PaddedStringManipulator< T >::const_reference |
typedef base_vector::iterator vega::manipulators::PaddedStringManipulator< T >::iterator |
typedef base_vector::reference vega::manipulators::PaddedStringManipulator< T >::reference |
typedef base_vector::size_type vega::manipulators::PaddedStringManipulator< T >::size_type |
typedef base_vector::value_type vega::manipulators::PaddedStringManipulator< T >::value_type |
vega::manipulators::PaddedStringManipulator< T >::PaddedStringManipulator | ( | ) |
|
explicit |
|
explicit |
|
overridevirtual |
Reimplemented from vega::manipulators::ValueManipulator.
|
overridevirtual |
Reimplemented from vega::manipulators::ValueManipulator.
|
overridevirtual |
Implements vega::manipulators::ValueManipulator.
|
overridevirtual |
Implements vega::manipulators::ValueManipulator.
|
overridevirtual |
Implements vega::manipulators::ValueManipulator.
|
overridevirtual |
Implements vega::manipulators::ValueManipulator.