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

Presentation Data Value (PDV) item for P-DATA-TF. More...

#include <pdu_types.h>

Collaboration diagram for kcenon::pacs::network::presentation_data_value:
Collaboration graph

Public Member Functions

 presentation_data_value ()=default
 
 presentation_data_value (uint8_t id, bool command, bool last, std::vector< uint8_t > d)
 

Public Attributes

uint8_t context_id
 Presentation Context ID (odd number 1-255)
 
bool is_command
 true if Command message, false if Data
 
bool is_last
 true if last fragment
 
std::vector< uint8_t > data
 Fragment data.
 

Detailed Description

Presentation Data Value (PDV) item for P-DATA-TF.

Definition at line 135 of file pdu_types.h.

Constructor & Destructor Documentation

◆ presentation_data_value() [1/2]

kcenon::pacs::network::presentation_data_value::presentation_data_value ( )
default

◆ presentation_data_value() [2/2]

kcenon::pacs::network::presentation_data_value::presentation_data_value ( uint8_t id,
bool command,
bool last,
std::vector< uint8_t > d )
inline

Definition at line 142 of file pdu_types.h.

143 : context_id(id), is_command(command), is_last(last), data(std::move(d)) {}
bool is_command
true if Command message, false if Data
Definition pdu_types.h:137
uint8_t context_id
Presentation Context ID (odd number 1-255)
Definition pdu_types.h:136
std::vector< uint8_t > data
Fragment data.
Definition pdu_types.h:139

Member Data Documentation

◆ context_id

uint8_t kcenon::pacs::network::presentation_data_value::context_id

Presentation Context ID (odd number 1-255)

Definition at line 136 of file pdu_types.h.

Referenced by kcenon::pacs::network::pdu_decoder::decode_p_data_tf().

◆ data

std::vector<uint8_t> kcenon::pacs::network::presentation_data_value::data

Fragment data.

Definition at line 139 of file pdu_types.h.

Referenced by kcenon::pacs::network::pdu_decoder::decode_p_data_tf().

◆ is_command

bool kcenon::pacs::network::presentation_data_value::is_command

true if Command message, false if Data

Definition at line 137 of file pdu_types.h.

Referenced by kcenon::pacs::network::pdu_decoder::decode_p_data_tf().

◆ is_last

bool kcenon::pacs::network::presentation_data_value::is_last

true if last fragment

Definition at line 138 of file pdu_types.h.

Referenced by kcenon::pacs::network::pdu_decoder::decode_p_data_tf().


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