PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::encoding::character_set_info Struct Reference

Information about a DICOM character set. More...

#include <character_set.h>

Collaboration diagram for kcenon::pacs::encoding::character_set_info:
Collaboration graph

Public Attributes

std::string_view defined_term
 DICOM Defined Term (e.g., "ISO 2022 IR 149")
 
std::string_view description
 Human-readable name (e.g., "Korean (KS X 1001)")
 
std::string_view iso_ir
 ISO-IR designation (e.g., "ISO-IR 149")
 
bool uses_code_extensions
 true if ISO 2022 escape sequences are used
 
std::string_view escape_sequence
 Raw escape sequence bytes (empty if none)
 
std::string_view encoding_name
 ICU converter name (e.g., "EUC-KR")
 
bool is_multi_byte
 true if characters can be multi-byte
 

Detailed Description

Information about a DICOM character set.

Maps a DICOM Defined Term (e.g., "ISO 2022 IR 149") to its encoding parameters needed for string conversion.

Definition at line 52 of file character_set.h.

Member Data Documentation

◆ defined_term

std::string_view kcenon::pacs::encoding::character_set_info::defined_term

DICOM Defined Term (e.g., "ISO 2022 IR 149")

Definition at line 53 of file character_set.h.

Referenced by kcenon::pacs::encoding::specific_character_set::is_utf8().

◆ description

std::string_view kcenon::pacs::encoding::character_set_info::description

Human-readable name (e.g., "Korean (KS X 1001)")

Definition at line 54 of file character_set.h.

◆ encoding_name

std::string_view kcenon::pacs::encoding::character_set_info::encoding_name

ICU converter name (e.g., "EUC-KR")

Definition at line 58 of file character_set.h.

Referenced by kcenon::pacs::encoding::convert_from_utf8(), and kcenon::pacs::encoding::convert_to_utf8().

◆ escape_sequence

std::string_view kcenon::pacs::encoding::character_set_info::escape_sequence

Raw escape sequence bytes (empty if none)

Definition at line 57 of file character_set.h.

Referenced by kcenon::pacs::encoding::encode_from_utf8().

◆ is_multi_byte

bool kcenon::pacs::encoding::character_set_info::is_multi_byte

true if characters can be multi-byte

Definition at line 59 of file character_set.h.

Referenced by kcenon::pacs::encoding::specific_character_set::is_single_byte_only().

◆ iso_ir

std::string_view kcenon::pacs::encoding::character_set_info::iso_ir

ISO-IR designation (e.g., "ISO-IR 149")

Definition at line 55 of file character_set.h.

◆ uses_code_extensions

bool kcenon::pacs::encoding::character_set_info::uses_code_extensions

true if ISO 2022 escape sequences are used

Definition at line 56 of file character_set.h.


The documentation for this struct was generated from the following file: