|
PACS System 0.1.0
PACS DICOM system library
|
Character set-aware string access for DICOM datasets. More...
#include <kcenon/pacs/core/dicom_dataset.h>#include <kcenon/pacs/core/dicom_tag.h>#include <kcenon/pacs/encoding/character_set.h>#include <kcenon/pacs/encoding/vr_type.h>#include <string>#include <string_view>

Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::pacs |
| namespace | kcenon::pacs::encoding |
Functions | |
| std::string | kcenon::pacs::encoding::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 | kcenon::pacs::encoding::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. | |
Character set-aware string access for DICOM datasets.
Provides free functions that combine dicom_dataset string access with character set decoding/encoding based on Specific Character Set (0008,0005).
These are free functions in kcenon::pacs::encoding rather than dicom_dataset member functions to avoid circular dependency between pacs_core and pacs_encoding.
Definition in file dataset_charset.h.