20#ifndef PACS_ENCODING_DATASET_CHARSET_HPP
21#define PACS_ENCODING_DATASET_CHARSET_HPP
45 const core::dicom_dataset& ds,
47 std::string_view default_value =
"");
61 core::dicom_dataset& ds,
64 std::string_view utf8_value);
DICOM Character Set registry, ISO 2022 parser, and string decoder.
DICOM Dataset - ordered collection of Data Elements.
DICOM Tag representation (Group, Element pairs)
std::string get_decoded_string(const core::dicom_dataset &ds, core::dicom_tag tag, std::string_view default_value="")
Get a string value from dataset, decoded to UTF-8.
void set_encoded_string(core::dicom_dataset &ds, core::dicom_tag tag, vr_type vr, std::string_view utf8_value)
Set a string value in dataset, encoding from UTF-8.