|
PACS System 0.1.0
PACS DICOM system library
|
Parsed representation of a multi-valued Specific Character Set. More...
#include <character_set.h>

Public Member Functions | |
| bool | uses_extensions () const noexcept |
| Whether this uses ISO 2022 code extensions. | |
| bool | is_single_byte_only () const noexcept |
| Whether this is a single-byte-only configuration. | |
| bool | is_utf8 () const noexcept |
| Check if UTF-8 is the active character set. | |
Public Attributes | |
| const character_set_info * | default_set |
| Character set for default (G0) repertoire. | |
| std::vector< const character_set_info * > | extension_sets |
| Additional character sets activated by escape sequences. | |
Parsed representation of a multi-valued Specific Character Set.
DICOM Specific Character Set (0008,0005) can be multi-valued with backslash separators. The first value is the default character set for G0, and subsequent values define character sets used via ISO 2022 escape sequences.
Example: "\\ISO 2022 IR 149" means:
Definition at line 113 of file character_set.h.
|
nodiscardnoexcept |
Whether this is a single-byte-only configuration.
Definition at line 455 of file character_set.cpp.
References default_set, extension_sets, and kcenon::pacs::encoding::character_set_info::is_multi_byte.
|
nodiscardnoexcept |
Check if UTF-8 is the active character set.
Definition at line 467 of file character_set.cpp.
References default_set, and kcenon::pacs::encoding::character_set_info::defined_term.
Referenced by kcenon::pacs::encoding::decode_to_utf8(), and kcenon::pacs::encoding::encode_from_utf8().

|
nodiscardnoexcept |
Whether this uses ISO 2022 code extensions.
Definition at line 451 of file character_set.cpp.
References extension_sets.
Referenced by kcenon::pacs::encoding::decode_to_utf8(), kcenon::pacs::encoding::encode_from_utf8(), and kcenon::pacs::encoding::split_by_escape_sequences().

| const character_set_info* kcenon::pacs::encoding::specific_character_set::default_set |
Character set for default (G0) repertoire.
Definition at line 115 of file character_set.h.
Referenced by kcenon::pacs::encoding::decode_to_utf8(), kcenon::pacs::encoding::encode_from_utf8(), is_single_byte_only(), is_utf8(), kcenon::pacs::encoding::parse_specific_character_set(), and kcenon::pacs::encoding::split_by_escape_sequences().
| std::vector<const character_set_info*> kcenon::pacs::encoding::specific_character_set::extension_sets |
Additional character sets activated by escape sequences.
Definition at line 118 of file character_set.h.
Referenced by kcenon::pacs::encoding::encode_from_utf8(), is_single_byte_only(), kcenon::pacs::encoding::parse_specific_character_set(), and uses_extensions().