PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
pdu_decoder.h File Reference
#include "pdu_types.h"
#include "kcenon/pacs/core/result.h"
#include <cstdint>
#include <optional>
#include <span>
#include <variant>
#include <vector>
Include dependency graph for pdu_decoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::network::release_rq_pdu
 PDU variant type representing any DICOM Upper Layer PDU.A-RELEASE-RQ has no data fields. More...
 
struct  kcenon::pacs::network::release_rp_pdu
 A-RELEASE-RP has no data fields. More...
 
struct  kcenon::pacs::network::abort_pdu
 A-ABORT PDU data. More...
 
struct  kcenon::pacs::network::p_data_tf_pdu
 P-DATA-TF PDU data. More...
 
class  kcenon::pacs::network::pdu_decoder
 Decoder for DICOM PDU (Protocol Data Unit) messages. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::network
 

Typedefs

using kcenon::pacs::network::pdu
 Variant type that can hold any PDU.
 
template<typename T >
using kcenon::pacs::network::DecodeResult = kcenon::pacs::Result<T>
 Result type alias for PDU decoding operations using standardized kcenon::pacs::Result<T>
 

Enumerations

enum class  kcenon::pacs::network::pdu_decode_error : int {
  kcenon::pacs::network::success = 0 , kcenon::pacs::network::incomplete_header = 1 , kcenon::pacs::network::incomplete_pdu = 2 , kcenon::pacs::network::invalid_pdu_type = 3 ,
  kcenon::pacs::network::invalid_protocol_version = 4 , kcenon::pacs::network::invalid_item_type = 5 , kcenon::pacs::network::malformed_pdu = 6 , kcenon::pacs::network::buffer_overflow = 7
}
 Error codes for PDU decoding errors. More...
 

Functions

constexpr const char * kcenon::pacs::network::to_string (pdu_decode_error err) noexcept
 Convert pdu_decode_error to string description.
 

Detailed Description

Author
kcenon
Since
1.0.0

Definition in file pdu_decoder.h.