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

Metadata structure containing comprehensive VR properties. More...

#include <vr_info.h>

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

Public Attributes

vr_type type
 The VR enumeration value.
 
std::string_view name
 Human-readable name (e.g., "Person Name")
 
uint32_t max_length
 Maximum value length in bytes.
 
char padding_char
 Padding character (' ' or '\0')
 
bool is_fixed_length
 Whether VR has fixed length.
 
std::size_t fixed_size
 Size for fixed-length VRs (0 if variable)
 

Detailed Description

Metadata structure containing comprehensive VR properties.

This structure provides all the information needed for encoding, decoding, and validating DICOM data element values based on their VR type.

See also
DICOM PS3.5 Section 6.2 - Value Representation (VR)

Definition at line 32 of file vr_info.h.

Member Data Documentation

◆ fixed_size

std::size_t kcenon::pacs::encoding::vr_info::fixed_size

Size for fixed-length VRs (0 if variable)

Definition at line 38 of file vr_info.h.

◆ is_fixed_length

bool kcenon::pacs::encoding::vr_info::is_fixed_length

Whether VR has fixed length.

Definition at line 37 of file vr_info.h.

◆ max_length

uint32_t kcenon::pacs::encoding::vr_info::max_length

Maximum value length in bytes.

Definition at line 35 of file vr_info.h.

◆ name

std::string_view kcenon::pacs::encoding::vr_info::name

Human-readable name (e.g., "Person Name")

Definition at line 34 of file vr_info.h.

◆ padding_char

char kcenon::pacs::encoding::vr_info::padding_char

Padding character (' ' or '\0')

Definition at line 36 of file vr_info.h.

◆ type

vr_type kcenon::pacs::encoding::vr_info::type

The VR enumeration value.

Definition at line 33 of file vr_info.h.


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